Latent Encoding of Epistasis in Protein Language Models

Kun Hyung Roh, Vincent Yip, Sunghoon RhoGenBio @ ICML 2026

TL;DR

Researchers have developed a framework to isolate "specific epistasis"—the non-additive interactions between mutations—from the global noise of protein assays. They discovered that while zero-shot protein language models (PLMs) fail to predict functional interactions, a lightweight supervised head trained on PLM representations can successfully identify "gain-of-function" mutants that additive models completely miss.

What Problem Does This Paper Address?

In protein engineering, the whole is rarely the sum of its parts. When you combine two mutations, the resulting change in function often differs from what you’d expect by just adding their individual effects together. This phenomenon is called epistasis.

Predicting epistasis is the "holy grail" of protein design because it allows engineers to find non-intuitive, high-performance variants. However, current Protein Language Models (PLMs) are usually evaluated on raw scores that conflate three very different things:

  1. Additive effects: The simple sum of single mutations.
  2. Global epistasis: Non-linearities in the experiment itself (e.g., a sensor that saturates at high brightness).
  3. Specific epistasis: The actual physical or chemical interaction between two specific residues.

The authors argue that we cannot truly evaluate if a model "understands" protein biology unless we isolate that third component—specific epistasis—which is the hardest to predict and the most valuable for design.

Methods

The authors introduce a Three-Layer Decomposition framework:

  • Layer 1 (Additive): They calculate the sum of measured single-mutant effects.
  • Layer 2 (Global): They fit a monotone response curve (using isotonic regression) to account for assay-specific non-linearities.
  • Layer 3 (Specific): The remaining residual is the "specific epistasis" target.

To predict this target, they propose Model 1: a lightweight pairwise head trained on frozen representations from state-of-the-art PLMs like DPLM (a diffusion-based model) and ESM-2. They also test a zero-shot approach using the "discrete second difference" of PLM sequence scores to see if the models inherently "know" about these interactions without extra training.

Datasets

The study utilizes two massive benchmarks:

  • Megascale: A dataset of 89,706 measured stability double mutants across 149 different protein domains.
  • ProteinGym: A collection of 85,135 multi-mutants across 11 functional assays, covering properties like fluorescence (GFP), binding (GB1, GRB2, PABP), and catalytic activity.

These datasets are particularly valuable because they provide "dense" maps where combinations of mutations are measured alongside their constituent single mutations.

Key Insights and Ideas

  • Zero-shot models are "function-blind": While zero-shot PLMs show a modest ability to predict stability-related epistasis (Spearman ~0.25), they have almost zero predictive power for functional epistasis (Spearman ~0.00). A model might know if a pair of mutations is "natural," but it doesn't know if that pair makes a protein glow brighter or bind tighter to a specific target.
  • The "Aha!" is in the Latent Space: Even though the zero-shot scores fail, the hidden representations (embeddings) of these models contain the necessary signal. By training a small supervised head on these frozen embeddings, the authors recovered significant functional signal.
  • Stability vs. Function Transfer: Stability epistasis is governed by the universal physics of folding, so models trained on one protein's stability can generalize to others. Functional epistasis, however, is "idiosyncratic"—it is specific to the unique objective of the assay and does not transfer easily between different proteins.
  • Beating the Additive Baseline: The authors demonstrated that their model could rank "additive-matched" candidates. In a pool of variants where every double-mutant has the same predicted additive score, their model successfully picked out the true "gain-of-function" winners.

Key Results

  • Performance Leap: On functional assays, the median held-out Spearman correlation improved from a measly 0.008 (zero-shot) to 0.292 (trained representation model).
  • GB1 Binding: For the GB1 protein, the trained head improved the Spearman correlation from 0.02 to 0.37.
  • Structural Correlation: The model’s strongest predicted epistatic pair in GB1 (G41 and V54) corresponds to a physical contact in the protein's 3D structure (approx. 5.5 Å), suggesting the model is picking up on real physical interactions.
  • Model Agnostic: Interestingly, DPLM and ESM-2 performed similarly when used as backbones, suggesting that the "knowledge" of residue coupling is a general property of large-scale protein pre-training.

Limitations and Future Work

  • Data Requirements: The model currently requires some multi-mutant data for a specific protein to "learn" its unique functional landscape. It cannot yet predict functional epistasis for a completely new protein assay in a zero-shot manner.
  • The "Wet Lab" Gap: While the model performs well on held-out experimental data, the authors note that the next step is to use these designs to create entirely new proteins in a laboratory setting.
  • Protein Families: Future work could investigate if "families" of proteins (like all fluorescent proteins) share predictable epistatic patterns, which might allow for better transfer learning.

Reference: Roh, K. H., Yip, V., & Rho, S. (2026). Latent Encoding of Epistasis in Protein Language Models. Accepted at the 2026 Workshop on Generative and Agentic AI for Biology (ICML 2026).

Summary updated

BibTeX
@inproceedings{roh2026latent,
  author = {Kun Hyung Roh and Vincent Yip and Sunghoon Rho},
  title = {{Latent Encoding of Epistasis in Protein Language Models}},
  booktitle = {GenBio @ ICML},
  year = {2026},
  url = {https://openreview.net/forum?id=Dc3xP3f3Fb},
}
Figure