Protein Language Models Fail To Capture Contact Predictions Under Invariant Relabeling
Not on the map. Why?
Abstract (arXiv)
Protein language models (pLMs) produce highly accurate contact maps from single-sequence inputs. People often take this accuracy as proof that these models implicitly learn invariant coevolutionary statistics, extracting the same signals as classical alignment-based methods like Potts. In this work, we introduce a diagnostic framework around a global bijective relabeling of the amino-acid alphabet. This transformation permutes residue letters while leaving all alignment-level information, column entropies, and pairwise edit distances unchanged. Pseudolikelihood Potts models and inverse-covariance estimators remain invariant under this transformation, but pLMs fail the test. Across multiple architectures (ESM-2, MSA Transformer, AMPLIFY) and model scales (8M to 3B parameters), pLM contact maps collapse under arbitrary relabeling. Using Hamming distance controls and biochemical grouping interventions, we attempt to isolate what likely causes this degradation and find that these models rely on explicit, canonical residue identities (``alphabet anchoring'') rather than pure coevolutionary statistics. Increasing scale makes models more responsive to biochemical classes, but their performance still degrades under relabeling. Our findings show a gap between how pLMs and classical coevolutionary models compute contacts. More broadly, our work shows how diagnostic perturbations that leave classical models provably unchanged can expose hidden representation biases and prevent over-reliance on neural black boxes in biological modeling.
Key facts. No citing papers in the map yet (data through 24 Nov 2026). Builds on 6 of its 33 references that are in the map. Submitted 12 Nov 2026.
Builds on
6 of 33 references.
References · 6
- 2020Scaling Laws for Neural Language Modelscited by 7,118
- 2020Shortcut Learning in Deep Neural Networkscited by 2,138
- 2019Right for the Wrong Reasons: Diagnosing Syntactic Heuristics in Natural Language Inferencecited by 923
- 2020BERTology Meets Biology: Interpreting Attention in Protein Language Modelscited by 89
- 2025Is Chain-of-Thought Reasoning of LLMs a Mirage? A Data Distribution Lenscited by 47
- 2026Protein contacts are already in the attention: a single-forward-pass alternative to the Categorical Jacobiancited by 1
Built on by
Not cited yet.