Abstract
Due to screening limitations in directed evolution (DE), it is rarely feasible to fully evaluate combinatorial mutant libraries. Traditional DE often involves a single-step greedy optimization, which is path-dependent and limited by epistasis. We present a path-independent machine learning-assisted directed evolution (MLDE) approach that allows in silico screening of full combinatorial libraries. We investigate a "focused training" MLDE (ftMLDE) protocol that incorporates training set design strategies to avoid information-poor low-fitness variants ("holes"). When applied to the epistatic GB1 fitness landscape, ftMLDE reached the global fitness maximum up to 92% of the time with a total screening burden of 470 variants, significantly outperforming traditional greedy walks.
Introduction: The Challenge of Epistasis and "Holes"
In protein engineering, Directed Evolution (DE) is the gold standard for improving function. Traditionally, this involves a "greedy walk": making single mutations, selecting the highest-fitness variant, fixing it, and repeating. However, this approach has two major flaws:
- Epistasis: The effect of one mutation often depends on another. A greedy walk can get stuck in "local optima," missing superior combinations that only work together.
- The "Hole" Problem: Most random mutations are deleterious. Combinatorial libraries are vast but mostly populated by "holes"—variants with zero or near-zero fitness. If a machine learning model is trained on a random sample, it spends excessive resources learning what doesn't work rather than mapping the "peaks" of high fitness.
Methods: Focused Training MLDE (ftMLDE)
We optimized an MLDE pipeline through several key innovations:
- Informative Encodings: We compared standard "one-hot" encoding against physicochemical descriptors and deep-learned embeddings (like UniRep) that capture the biochemical context of sequences.
- Tailored Models: We introduced 1D Convolutional Neural Networks (CNNs) to capture spatial patterns and XGBoost with Tweedie regression to handle "zero-inflated" data.
- Focused Training (ftMLDE): Instead of sampling training data randomly, we used "zero-shot" predictors—specifically Rosetta-based $\Delta\Delta G$ calculations—to predict protein stability before experimentation. This selects a training set enriched with variants likely to fold, effectively avoiding the "holes" in the landscape.
Results and Discussion
The study utilized the GB1 (Protein G domain B1) fitness landscape, a rare dataset containing experimental fitness measurements for nearly all 160,000 possible combinations of mutations at four key sites.
Key Insights
- Label Diversity: Having a diverse set of fitness values (outputs) in training data is more important than sequence diversity (inputs). If a training set is 99% "dead" proteins, the model predicts failure well but success poorly.
- Zero-Shot Predictors: The $\Delta\Delta G$ stability predictor dramatically increased the model's ability to find the global maximum by helping researchers avoid non-functional "holes," even if the predictor itself wasn't perfectly correlated with fitness.
- Path Independence: Unlike traditional DE, MLDE looks at the whole landscape at once, allowing it to jump directly to complex, multi-mutation peaks.
Performance Comparison
- Global Optimum Hit Rate: The ftMLDE protocol reached the global fitness maximum 92% of the time with a screening burden of 470 variants. In contrast, traditional greedy DE reached the global maximum only 1.2% of the time.
- Minimal Burden Performance: Even with a tiny budget of 80 variants, ftMLDE was 8 times more likely to find the global optimum than traditional DE and achieved a 49% higher expected maximum fitness.
Conclusion
ftMLDE navigates complex protein fitness landscapes with unprecedented efficiency. To facilitate further development, we present the open-source MLDE software package (fhalab/MLDE), designed for use by protein engineers without extensive computational expertise. Future work will evaluate how these focused strategies scale to larger combinatorial spaces.
Summary updated