paper-with-me

홈 › Papers

Protein contacts are already in the attention: a single-forward-pass alternative to the Categorical Jacobian

2026-06-20 · Rome Thorstenson arxiv

The Categorical Jacobian of Zhang et al. (2024) reads protein contacts from a language model by perturbing every residue with every alternative amino acid, about $19L$ forward passes. We show the signal it reconstructs is already concentrated in a small subset of attention heads: averaging the top-$K$ contact-relevant heads -- selected on as few as 10 labeled proteins, with no fitted per-pair or per-head weights -- recovers contacts in a single forward pass and matches or beats the Categorical Jacobian for every bidirectional model where it is defined (bar the smallest, 8M). Our primary test is leakage-clean: on a CAMEO split where neither selection nor evaluation touches data the models have plausibly memorized, the head readout beats the Categorical Jacobian on ESM-2-650M by +9pp ($N = 29$, $p < 0.001$), with the within-model margin reproducing across architectures. Ablations localize the gain to labeled head selection, not to averaging: at a matched label budget the unweighted mean ties a supervised $L_1$ logistic regression on the same heads. Both methods fall 30-36pp from their in-distribution Zhang numbers to the leakage-clean split, which we read as an upper bound on how much prior numbers reflect pretraining overlap. We additionally introduce representation-CJ, a hidden-state generalization of the Jacobian to architectures without a masked-LM head (the output-head-independent analogue of logit-CJ), agreeing with the Categorical Jacobian where both are defined (per-protein Pearson $r \approx 0.95$); show that the optimal $K$ tracks how diffusely a model spreads its contact heads; and find both methods lose the signal on the two causal LMs we test, suggesting attention-encoded pair structure may depend on bidirectional pretraining.

📄 PDF Abstract BibTeX arXiv:2606.21876

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Transformer protein language models are unsupervised structure learners

2021-01-01 · ICLR 2021 1 · Roshan Rao, Joshua Meier, Tom Sercu, Sergey Ovchinnikov 외

Unsupervised contact prediction is central to uncovering physical, structural, and functional constraints for protein structure determination and design. For decades, the predominant approach has been to infer evolutiona…

Language ModelingLanguage Modelling

Single Layers of Attention Suffice to Predict Protein Contacts

2021-01-01 · ICLR Workshop EBM 2021 5 · Nick Bhattacharya, Neil Thomas, Roshan Rao, Justas Daupras 외

The established approach to protein contact prediction frames the task as one of graph selection, extracting contacts by estimating the parameters of a Potts model. Another approach has recently appeared which leverages …

valid

Explainable Deep Relational Networks for Predicting Compound-Protein Affinities and Contacts

2019-12-29 · Mostafa Karimi, Di wu, Zhangyang Wang, Yang shen

Predicting compound-protein affinity is critical for accelerating drug discovery. Recent progress made by machine learning focuses on accuracy but leaves much to be desired for interpretability. Through molecular contact…

BIG-bench Machine LearningDrug DiscoveryInterpretable Machine LearningPrediction

Predicting diverse M-best protein contact maps

2015-11-30

Protein contacts contain important information for protein structure and functional study, but contact prediction from sequence information remains very challenging. Recently evolutionary coupling (EC) analysis, which pr…

Multiple Sequence Alignment

Protein Contact Prediction by Integrating Joint Evolutionary Coupling Analysis and Supervised Learning

2013-12-10 · Jianzhu Ma, Sheng Wang, Zhiyong Wang, Jinbo Xu

Protein contacts contain important information for protein structure and functional study, but contact prediction from sequence remains very challenging. Both evolutionary coupling (EC) analysis and supervised machine le…