NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Protein Language Model Fitness is a Matter of Preference

Cade W Gordon, Amy X. Lu, Pieter AbbeelICLR 2025

Leveraging billions of years of evolution, scientists have trained protein language models (pLMs) to understand the sequence and structure space of proteins. While these models have become the "Swiss Army knife" of protein engineering—often used for zero-shot fitness estimation to predict how a mutation affects a protein's function—their success is highly inconsistent.

This paper reveals that a pLM's ability to predict mutation effects is directly tied to how much the model "prefers" (assigns likelihood to) the starting wild-type sequence. By demonstrating that both under-represented and over-represented sequences lead to poor performance, the authors introduce a faster way to calculate sequence likelihood and show that targeted "evo-tuning" can rescue performance for rare proteins.

The Challenge of Zero-Shot Fitness Estimation

Protein Language Models like ESM-2 are frequently deployed to predict mutational effects without requiring experimental data for that specific protein. However, they sometimes predict mutational effects perfectly and other times fail completely.

The authors address a fundamental question: Can we predict when a pLM will succeed or fail? They hypothesize that the "preference" a model develops for a sequence during its massive unsupervised pretraining phase is the primary driver of its downstream utility.

Methods and Approach

The researchers investigated the relationship between model preference (quantified as log-likelihood) and performance across several dimensions, utilizing datasets like ProteinGym (217 Deep Mutational Scan datasets) and UniRef50/100.

  1. Efficient Pseudo Log-Likelihood (PLL): Traditionally, calculating the likelihood of a sequence in a masked language model requires $O(L)$ passes (masking every position one by one). The authors derived a new $O(1)$ approximation that calculates a "Single-Inference PLL" in just one forward pass by accounting for the noise injected during BERT-style training.
  2. Influence Functions: To understand why a model prefers a sequence, they used influence functions to trace which specific training data points contributed most to a protein's likelihood.
  3. Zero-Shot Correlation: They evaluated performance by calculating the Spearman correlation between model-predicted fitness and actual experimental results from Deep Mutational Scans.
Scoring mutations against a wild-type sequence to estimate fitness.
  1. Thresholded Evo-Tuning: They tested a "remedy" for low-performance sequences by performing unsupervised finetuning on homologs, but only for sequences that fell below a specific likelihood threshold.

Key Insights

  • The "Goldilocks" Zone of Likelihood: Performance follows a concave-down parabola. If a wild-type sequence has very low likelihood (the model hasn't seen anything like it), the model cannot predict mutations well. Surprisingly, if the likelihood is too high, performance also drops.
  • Inverse Scaling at the Top: Larger models (like ESM-2 15B) actually perform worse than smaller models on high-likelihood sequences. The authors suggest these massive models overfit to "phylogenetic artifacts" (evolutionary history) rather than learning the underlying biological fitness signals.
  • Power-Law Influence: A protein's likelihood is driven by a tiny fraction of the training data. The distribution of influential data points follows a power law, meaning a few highly homologous sequences in the training set dictate the model's preference.
  • Likelihood as a Deployment Signal: The wild-type likelihood can serve as a confidence score. If a pLM gives a sequence a very low likelihood, researchers should expect poor zero-shot results.

Results and Impact

The new $O(1)$ PLL method proved to be highly calibrated with the traditional $O(L)$ method (Spearman $\rho = 0.923$) while being orders of magnitude faster.

Furthermore, by finetuning ESM-2 650M only on sequences with a log-likelihood below a specific threshold ($\epsilon = -1.4$), the authors improved the mean Spearman correlation across ProteinGym from 0.439 to 0.462. This thresholded finetuning approach allowed the general-purpose ESM-2 to outperform or match specialized models like EVE and MSA Transformer on several fitness categories. The study also confirmed that "naive" finetuning (finetuning on everything) actually harms performance for high-likelihood sequences, justifying the need for a likelihood-based threshold.

Limitations and Future Work

While powerful, the current framework has limitations. The zero-shot scoring method (log-odds ratio) assumes mutations are independent and cannot currently model epistasis (where the effect of one mutation depends on another). Additionally, it requires mutants to be the same length as the wild-type, limiting its use for insertions or deletions.

Finally, the authors note that pLM preferences reflect human biases in sequencing. Future work must focus on curating pretraining datasets that are more representative of the functional protein space, rather than just the most easily sequenced species.

Summary updated

BibTeX
@inproceedings{gordon2025protein,
  author = {Cade W Gordon and Amy X. Lu and Pieter Abbeel},
  title = {{Protein Language Model Fitness is a Matter of Preference}},
  booktitle = {International Conference on Learning Representations},
  year = {2025},
  url = {https://openreview.net/forum?id=UvPdpa4LuV},
}
Figure