bioRxivBioinformaticsPreprint
Structure tokens sharpen the feature vocabulary of protein language models
Abstract
Protein language models predict structure and function from amino acid sequences, but the internal computations that produce these predictions remain opaque. We applied sparse autoencoders to ESM-2 (650M parameters, sequence-only) and ESM-3 (1.4B parameters, multimodal) and found that 78% of learned features converge between the two architectures (permutation null: 14.2%, p < 0.001). These convergent features account for nearly all functional knowledge encoded by the models (functional site AUROC 0.925 versus 0.661 for architecture-unique features). Structure tokens in ESM-3 do not create a new feature vocabulary. Instead, the 15.2% of features most activated by structure tokens are more convergent with sequence-only ESM-2 than structure-invariant features are (r = 0.54 versus 0.45) and carry richer biological annotation (134 versus 29 enriched GO terms). Attention analysis identified a single geometric head (L0H7) as the bottleneck through which structural information enters the network; ablating this head alone changed secondary structure predictions at 40% of residues, while ablating random layer-0 heads altered fewer than 17%. Steering vectors, attribution patching, and sparse feature circuits confirmed that these features sit within the models causal pathway. Two architecturally distinct models, trained on different objectives and input modalities, converge on a shared biological vocabulary -- and explicit structure tokens sharpen that vocabulary rather than rewriting it.
- Citations
- 0
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- Distilling structural representations into protein sequence models
Jeffrey Ouyang-Zhang, Chengyue Gong, … Daniel J. Diaz·bioRxiv·Nov 8, 2024
- SaProt: Protein Language Modeling with Structure-aware Vocabulary
Jin Su, Chenchen Han, … Fajie Yuan·bioRxiv·Oct 1, 2023
- MULAN: Multimodal Protein Language Model for Sequence and Structure Encoding
Daria Frolova, Marina A. Pak, … Ivan Valer'evich Oseledets·Bioinformatics AdvancesPeer-reviewed·Dec 26, 2024
- ProSST: Protein Language Modeling with Quantized Structure and Disentangled Attention
Mingchen Li, Yang Tan, … Liang Hong·neural information processing systemsPeer-reviewed·Jan 1, 2024
- Prot2Token: A multi-task framework for protein language processing using autoregressive language modeling
Mahdi Pourmirzaei, Farzaneh Esmaili, … Dong He Xu·bioRxiv·May 31, 2024
- Trainable subnetworks reveal insights into structure knowledge organization in protein language models
Ria Vinod, Ava P. Amini, … Kevin Yang·PLoS Computational BiologyPeer-reviewed·Feb 9, 2026