TL;DR
Conditioning by Adaptive Sampling (CbAS) is a novel framework for biological design that prevents optimization algorithms from being "fooled" by unreliable predictive models. By treating design as a conditional probability problem and utilizing iterative importance sampling, CbAS successfully identifies protein sequences that are both high-performing and "realistic" according to the training data distribution.
What Problem Does This Paper Address?
In fields like protein engineering, the ultimate goal is to discover a sequence (such as DNA or amino acids) that maximizes a specific property, like fluorescence or binding affinity. Because laboratory experiments are slow and expensive, researchers typically train a machine learning model—an "oracle"—to predict these properties computationally.
A major hurdle in this process is the Oracle Pathology. High-capacity machine learning models are typically only accurate near the data they were trained on. When an optimizer blindly maximizes the oracle's output, it often drifts into "out-of-distribution" regions. The optimizer finds "adversarial" sequences that the model thinks are amazing, but are actually non-functional or physically impossible in the real world (e.g., a protein that won't fold).
This paper seeks a robust way to maximize desired properties while strictly staying within the "trust zone" of the predictive model.
Methods
The authors propose CbAS, which reframes the design problem as estimating a conditional distribution: What is the distribution of sequences $x$, given that they satisfy a desired property $S$ and look like our training data?
Key technical components of this approach include:
- Generative Priors: The method uses a generative model (like a Variational Autoencoder, or VAE) trained on known "realistic" sequences to define a prior distribution $p(x)$. This acts as a necessary guardrail.
- KL Divergence Minimization: CbAS searches for a distribution $q(x)$ that closely approximates the target conditional distribution by minimizing the Kullback-Leibler (KL) divergence.
- Adaptive Importance Sampling: Because high-performing sequences are "rare events," the algorithm doesn't attempt to find them all at once. Instead, it uses an iterative approach that gradually "anneals" or tightens the property threshold over several rounds.
- Black-Box Compatibility: Crucially, CbAS does not require the oracle to be differentiable. It only needs to be able to query the oracle for a value, making it compatible with any model architecture or even actual wet-lab experimental loops.
Datasets
The paper evaluates the CbAS method using:
- A 1D Toy Example: A synthetic "ground truth" function with two peaks, where an oracle is intentionally trained on biased data to simulate real-world pathologies.
- Protein Fluorescence Dataset: Based on real-world data from Sarkisyan et al. (2016) involving the green fluorescent protein (GFP).
- Simulated Ground Truth: To allow for rigorous benchmarking, the authors trained a Gaussian Process Regression (GPR) model on the GFP data to serve as the "true" world, while the oracles used by the design algorithms were simpler neural networks.
Key Insights and Results
- The Prior as a Trust Region: Instead of just using a prior to define what a "protein" looks like, CbAS uses it to define where the oracle is likely to be accurate. If the oracle hasn't seen data in a certain region, the prior effectively "mutes" the oracle's over-optimistic predictions there.
- Handling Rare Events: Biological "hits" are needles in a haystack. By using adaptive sampling, the algorithm creates a path of progressively "easier" sub-problems (e.g., first find sequences in the top 50%, then top 20%, then top 1%) to steadily reach the global maximum.
- Superior Robustness: In the protein fluorescence task, CbAS outperformed seven other state-of-the-art methods, including Activation Maximization (AM-VAE) and Feedback GANs (FB-VAE).
- Avoiding Pathologies: Methods that didn't use a prior (like DbAS or standard Cross-Entropy Methods) were consistently led astray. They found sequences that the oracle predicted to be highly fluorescent, but the "ground truth" revealed they were actually poor performers.
Limitations and Future Work
- Prior Sensitivity: The success of CbAS depends heavily on the quality of the prior. If the training data is highly biased or the generative model fails to capture the true distribution of "realistic" sequences, the search will be constrained to a sub-optimal region.
- Computational Overhead: As an iterative sampling-based method, CbAS may require more oracle queries than simple gradient-based optimization, though the authors argue this is a worthwhile trade-off for robustness.
- Future Directions: The authors suggest extending this framework to multi-objective optimization (e.g., maximizing fluorescence while simultaneously minimizing toxicity) and exploring more complex generative architectures like Transformers.
Summary updated