Machine learning (ML) holds immense potential for navigating protein fitness landscapes—predicting how amino acid sequence changes impact functions like enzyme activity or structural stability. However, the field currently suffers from a significant "generalization gap." Models that excel on random subsets of training data often fail when tasked with the extrapolative leaps required in real-world laboratories, such as predicting the effects of multiple mutations, evaluating entirely new sequence positions, or transferring knowledge between different wild-type proteins.
To address this disconnect, researchers have introduced FLIP2, an expanded benchmark designed to rigorously test ML models against the actual distribution shifts encountered in protein engineering campaigns.
The FLIP2 Benchmark: Diverse Datasets and Realistic Splits
Building on its predecessor, FLIP2 broadens the functional diversity of fitness benchmarks by introducing seven new datasets. These encompass a wide array of biological functions:
- Enzymes: Alpha Amylase (industrial), Imine Reductase (pharmaceutical), Nuclease B (biofilm degradation), and Tryptophan Synthase (TrpB).
- Stability: Hydrophobic Core (measuring stability across three distinct protein backbones).
- Light Sensitivity: Rhodopsin (predicting absorption wavelengths).
- Complexes: PDZ Domain (protein-protein interactions involving disordered regions).
Crucially, FLIP2 moves beyond deceptive random data splits. Instead, it employs structured splits to accurately mimic out-of-distribution engineering challenges. Examples include "far-to-close" splits (training on mutations distant from the active site and testing on nearby ones) and "by-wild-type" splits (training on one protein backbone and testing on another).
Evaluating the Models
The study evaluated three primary categories of sequence-to-fitness prediction methods:
- Zero-shot Likelihoods: Utilizing pre-trained protein language models (pLMs) like ESM2, CARP, and Dayhoff to score sequences based on evolutionary "naturalness" without any task-specific training.
- Linear Models: Simple ridge regression trained on one-hot sequence encodings, as well as augmented versions incorporating zero-shot scores.
- Fine-tuned pLMs: Adapting large-scale models (CARP, ESMC, SaProt) to specific fitness datasets using full fine-tuning or Low-Rank Adaptation (LoRA).
Key Findings: The Complexity Paradox
The most striking revelation from FLIP2 is that increased model complexity does not guarantee superior performance. In many scenarios, simple linear models augmented with zero-shot evolutionary information matched or outperformed massive, fine-tuned pLMs. Across 16 evaluated splits, fine-tuned pLMs were the top performers in only seven. Augmented ridge regression and pure zero-shot scores claimed the top spot in four splits each.
The Deception of Random Splits and Fine-Tuning
Models that appear highly capable on random splits frequently collapse on structured splits like "Wild Type" or "Position." Furthermore, supervised fine-tuning sometimes decreased performance compared to zero-shot methods (e.g., on the Amylase dataset). This suggests that task-specific supervision can cause models to "unlearn" valuable evolutionary priors. While zero-shot scores serve as a remarkably powerful baseline for ranking variants of a single protein, their utility diminishes significantly when comparing variants across different protein backbones.
Conclusion and Future Directions
FLIP2 highlights the "Wild Type Wall"—generalizing across different protein backbones remains the most formidable challenge in the field. Linear models require very few training examples to beat zero-shot scores on these tasks, but they still struggle to achieve high absolute correlations. Furthermore, no single pLM proved optimal across all datasets, underscoring the highly task-dependent nature of model performance.
The findings suggest that current pLM architectures and masked language modeling paradigms may not be ideally suited for the extrapolative demands of protein engineering. Future research must focus on:
- Developing architectures capable of modeling epistasis (non-additive mutational interactions).
- Improving generalization across structural scaffolds.
- Investigating why simply scaling up pLMs fails to yield better out-of-distribution generalization.
By open-sourcing all datasets and splits under a CC-BY 4.0 license, the FLIP2 authors provide a vital, standardized resource for the community to tackle these ongoing challenges and advance the utility of ML in real-world protein engineering.
Summary updated