TL;DR
Protein language models (PLMs) look impressive on standard mutation benchmarks, but those benchmarks mix simple additive mutations with rare, interacting ones—hiding whether models actually understand how amino acids couple together. EpistasisBench isolates strictly non-additive ("epistatic") double mutations and reveals that standard masked language model scoring mathematically erases residue-residue interactions. The twist? The models do know about these interactions—a simple change to how we query them at inference time recovers the lost signal without any retraining.
What Problem Does This Paper Address?
When two mutations happen in the same protein, their combined effect on folding stability ($\Delta\Delta G$) isn't always the sum of their individual effects. Sometimes they synergize or clash—a phenomenon called epistasis. In extreme cases (sign epistasis), combining two mutations actually reverses the direction of their individual effects.
Existing zero-shot benchmarks like ProteinGym lump all double mutations together into one aggregate score. Because strongly epistatic pairs are relatively sparse, a model can rack up high overall correlation simply by being great at predicting single-site effects and adding them up. That leaves a crucial question unanswered: do PLMs actually capture thermodynamic coupling between residues, or are they just coasting on single-site accuracy?
Methods
To separate true residue coupling from additive noise, the authors introduce EpistasisBench, built around two complementary zero-shot tasks:
- Task 1: Epistatic $\Delta\Delta G$ Prediction. Models predict folding stability changes ($\Delta\Delta G$) without fine-tuning, evaluated via Spearman's rank correlation ($\rho$)—but restricted strictly to significant and sign epistatic subsets.
- Task 2: Direct $\Delta\Delta G_{int}$ Scoring. This task probes the model's probability space directly. Under the Boltzmann distribution assumption, the non-additive interaction free energy ($\Delta\Delta G_{int} = \Delta\Delta G_{AB} - \Delta\Delta G_A - \Delta\Delta G_B$) corresponds to a non-additive log-probability score: $$S_{int} = \log P(X_{AB}) - \log P(X_A) - \log P(X_B) + \log P(X_{\text{wt}})$$ Models are evaluated using partial Spearman correlation (controlling for the sum of single-site effects), AUROC, and Top-5% Recall.
To fix the failure mode they uncovered in masked language models (MLMs), the authors also propose Joint Marginal Unmasking Inference as a proof-of-concept. Instead of scoring each mutated site independently and summing the results, this method sequentially unmasks mutation sites while keeping other mutated sites masked, averaging the log-probabilities across all $k!$ possible unmasking orders (or 32 Monte Carlo permutations when mutation depth exceeds 5) to remove positional bias.
Datasets
EpistasisBench is constructed from the large-scale, high-throughput protein folding stability dataset by Tsuboyama et al. (2023), specifically extracting the subset overlapping with ProteinGym (50,812 double mutations across 50 proteins and 180 residue pairs). From this pool, the authors curate two strict evaluation sets:
- Significant Epistasis: 6,003 double mutations across 35 proteins, filtered using an absolute thermodynamic coupling value $> 0.5\text{ kcal/mol}$.
- Sign Epistasis: 3,267 double mutations across 31 proteins, isolated using a strict mathematical definition with a tolerance buffer ($\epsilon = 0.07\text{ kcal/mol}$) to filter out measurement noise near zero.
Key Insights and Ideas
- High aggregate scores mask epistatic blindness: Strong single-site predictors (e.g., ProSST-2048 at $\rho = 0.644$ on single mutations) see their performance drop sharply when evaluated strictly on coupled double mutations.
- Additive MLM scoring mathematically erases epistasis: Standard MLM zero-shot inference decomposes multi-site scores into a linear sum of single-site scores. When plugged into $S_{int}$, those linear terms algebraically cancel out, forcing $S_{int}$ to have zero variance—making it literally impossible to detect non-additive interactions.
- Autoregressive (AR) models have a different flaw: AR models avoid zero variance, but their fixed chain-rule factorization ($P(A, B) = P(A)P(B|A)$) introduces directional asymmetry. Even when averaged forward and backward, this conflates undirected 3D physical coupling with artificial sequence-order bias.
- The knowledge is already in the weights: Because Joint Marginal inference recovers strong non-additive signal without fine-tuning, the bottleneck isn't model capacity—it's the standard zero-shot scoring recipe.
Key Results
Across 22 representative models (17 PLMs and 5 statistical/latent models):
- Performance drops on EpistasisBench: ProSST-2048 drops from $\rho = 0.394$ on the mixed ProteinGym Depth-2 subset to $0.331$ on significant epistasis and $0.278$ on sign epistasis.
- Joint Marginal inference restores $S_{int}$: On Task 2, ESM3 and ProSST-2048 go from
NaN(zero variance) to partial Spearman correlations of $0.346$ and $0.321$, respectively. SaProt-650M-AF2 jumps from $0.218$ to $0.356$. - Consistent gains on Task 1: ProSST-2048 improves by 19% on significant epistasis ($0.331 \to 0.394$) and 22% on sign epistasis ($0.278 \to 0.340$).
- Generalizes to routine benchmarks: On the general multi-site ProteinGym set, Joint Marginal inference boosts ProSST-2048 from $0.408$ to $0.416$, outperforming its MSA-integrated counterpart VenusREM ($0.410$).
Limitations and Future Work
The authors note that EpistasisBench is built from a single experimental source measuring in vitro folding stability, so it remains open whether these findings transfer directly to functional epistasis (such as drug resistance or binding affinity). Additionally, the benchmark is restricted to double mutations ($k = 2$) in short single-domain proteins, leaving higher-order interactions, multi-domain proteins, and allosteric interfaces for future work as larger datasets emerge. Finally, the zero-shot gap reported here characterizes current inference schemes and does not bound what these models could achieve with supervised fine-tuning.
Summary updated