A primer on model-guided exploration of fitness landscapes for biological sequence design

Sam Sinai, Eric D. KelsicarXiv 2020

Abstract

Machine learning methods are increasingly employed to address challenges faced by biologists. One area that will greatly benefit from this cross-pollination is the problem of biological sequence design, which has massive potential for therapeutic applications. However, significant inefficiencies remain in communication between these fields which result in biologists finding the progress in machine learning inaccessible, and hinder machine learning scientists from contributing to impactful problems in bioengineering. Sequence design can be seen as a search process on a discrete, high-dimensional space, where each sequence is associated with a function. This sequence-to-function map is known as a "Fitness Landscape". Designing a sequence with a particular function is hence a matter of "discovering" such a (often rare) sequence within this space. Today we can build predictive models with good interpolation ability due to impressive progress in the synthesis and testing of biological sequences in large numbers, which enables model training and validation. However, it often remains a challenge to find useful sequences with the properties that we like using these models. In particular, in this primer we highlight that algorithms for experimental design, what we call "exploration strategies", are a related, yet distinct problem from building good models of sequence-to-function maps. We review advances and insights from current literature while highlighting desirable features of optimal model-guided exploration, and cover potential pitfalls drawn from our own experience. This primer serves as a starting point for researchers from different domains interested in searching a sequence space with a model.

Introduction: The Needle in the Haystack

Biological sequence design—the engineering of proteins, DNA, or RNA for specific functions—represents a frontier in modern biotechnology. Whether the goal is a more efficient enzyme or a viral capsid for gene therapy, the challenge is fundamentally a search problem in an astronomical space. For a protein just 100 amino acids long, there are $20^{100}$ possible combinations—a number that dwarfs the count of atoms in the observable universe.

Navigating this space requires understanding the fitness landscape, a conceptual map where sequences are associated with a functional value (e.g., fluorescence, binding affinity, or stability). However, these landscapes are rarely smooth; they are often "rugged" due to epistasis, where the effect of one mutation depends on the presence of others. This complexity makes traditional hill-climbing methods prone to getting stuck in local optima, necessitating more sophisticated exploration strategies.

A Taxonomy of Exploration Strategies

To navigate these landscapes, researchers employ several distinct methodologies, ranging from laboratory-based evolution to advanced computational agents.

Model-Free Approaches

Model-free methods, such as Directed Evolution, rely on iterative rounds of random mutation and physical selection. While highly successful—earning the 2018 Nobel Prize—these methods are constrained by the physical limits of what can be screened in a laboratory setting. They essentially "blindly" walk the landscape.

Model-Guided Exploration

In model-guided design, a machine learning model acts as a "critique" or oracle, simulating laboratory experiments in silico. This allows for the evaluation of millions of candidates before synthesizing a single sequence. Key strategies include:

  • Bayesian Optimization (BO): This approach uses uncertainty estimates to balance exploration (searching unknown regions) with exploitation (refining known high-fitness areas).
  • Evolutionary Algorithms: These use computational versions of natural selection to evolve sequences against the model's predictions.
  • Generative Models (VAEs and GANs): By learning the underlying "grammar" of functional sequences, these models propose diverse, novel candidates that are likely to be viable.
  • Reinforcement Learning (RL): RL agents are trained to learn the optimal sequence of mutations required to reach a specific high-fitness objective.

The "Oracle" Problem and Model Pathologies

A critical insight of this primer is that a model with high predictive accuracy ($R^2$) is not necessarily a good tool for design. Models often behave pathologically when they encounter sequences far from their training data. An "over-optimistic" model might predict 1000x fitness for a sequence simply because it has never seen a similar structure, leading the exploration strategy into a "dead zone."

Furthermore, much of the sequence space is a "swampland"—regions where sequences do not fold or function at all. In these areas, models often lack a gradient to follow. Effective exploration strategies must be robust to these errors and capable of maintaining diversity to avoid "mode collapse," where the algorithm repeatedly discovers the same narrow solution.

Benchmarking and Real-World Applications

While methodology is the focus, several "gold standard" benchmarks are essential for evaluating these strategies:

  • GFP (Green Fluorescent Protein): A common test case for predicting and improving fluorescence.
  • AAV Capsids: Viral shells used in gene therapy, representing a high-stakes engineering challenge.
  • FLEXS: A simulation "sandbox" that allows researchers to test ML strategies against simulated landscapes before moving to the wet lab.

Pitfalls and Future Directions

Researchers entering the field should be wary of several common traps:

  1. Miscalibrated Baselines: ML models are often compared against weakened versions of evolutionary algorithms, which can inflate the perceived performance of the new method.
  2. Smoothness Bias: Many models are tested on artificially smooth landscapes, failing to account for the "holey" or "swampy" nature of real biological data.
  3. Batch Efficiency: Lab experiments are conducted in large batches (e.g., 10,000 sequences). Algorithms must be adaptive and capable of proposing diverse batches rather than single, sequential candidates.

The future of biological sequence design lies in closed-loop systems. By integrating high-throughput lab automation with ML models in a continuous cycle, each round of physical testing makes the digital oracle smarter, eventually allowing for the precise engineering of the blueprints of life.

Summary updated

BibTeX
@misc{sinai2020primer,
  author = {Sam Sinai and Eric D. Kelsic},
  title = {{A primer on model-guided exploration of fitness landscapes for biological sequence design}},
  year = {2020},
  eprint = {2010.10614},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2010.10614},
}
Figure