Design by adaptive sampling

David H. Brookes, Jennifer ListgartenarXiv 2018

Abstract

We present a probabilistic modeling framework and adaptive sampling algorithm wherein unsupervised generative models are combined with black box predictive models to tackle the problem of input design. In input design, one is given one or more stochastic "oracle" predictive functions, each of which maps from the input design space (e.g. DNA sequences or images) to a distribution over a property of interest (e.g. protein fluorescence or image content). Given such stochastic oracles, the problem is to find an input that is expected to maximize one or more properties, or to achieve a specified value of one or more properties, or any combination thereof. We demonstrate experimentally that our approach substantially outperforms other recently presented methods for tackling a specific version of this problem, namely, maximization when the oracle is assumed to be deterministic and unbiased. We also demonstrate that our method can tackle more general versions of the problem.

Introduction

In fields like bioengineering and drug discovery, researchers often face a daunting "inverse problem": given a model that predicts how a molecule or DNA sequence will behave, how can one find the best sequence to achieve a specific goal? This is the challenge of input design. A new framework, Design by Adaptive Sampling (DbAS), addresses this by treating design as an iterative, probabilistic search that combines deep generative models with black-box predictive "oracles."

The Limitations of Current Methods

Traditional approaches like Activation Maximization (AM) often require differentiable oracles and can produce unrealistic inputs. More recent methods, such as FB-GAN, use feedback loops to filter samples but often rely on ad-hoc selection criteria. These methods frequently fail to explore the design space effectively, remaining tethered to the distribution of the initial training data and getting stuck in local optima.

The DbAS Framework

DbAS casts the design problem as maximizing the probability of satisfying a desired property through a principled weighting scheme:

  1. Generative Foundation: A Variational Autoencoder (VAE) proposes candidate inputs.
  2. Importance Sampling Weights: Instead of binary filtering, DbAS assigns weights based on the oracle's predicted probability that an input satisfies the goal. This is derived from a lower bound on the objective function, providing mathematical rigor.
  3. Adaptive Relaxation: The algorithm starts with a relaxed threshold (e.g., the top 10% of samples) and iteratively tightens it, similar to the Cross Entropy Method (CEM) but scaled for deep learning.
  4. Uncertainty Awareness: DbAS can leverage the predictive distribution of stochastic oracles, making it robust to noisy predictions.

Experimental Evaluation

The authors evaluated DbAS against several baselines, including FB-GAN, FB-VAE, and Killoran et al., across synthetic and real-world biological datasets.

Synthetic Oracle Evaluation

Using noise-free neural network oracles for short sequences where the global maximum is known, DbAS demonstrated superior convergence and scalability.

DbAS-VAE performance on synthetic oracles compared to baselines.

As shown in Figure 3, DbAS-VAE consistently finds the global optimum across varying sequence lengths (a) and converges more reliably than competing methods (b).

Protein Expression Simulation

In a high-dimensional testbed using a noisy oracle trained on 244,000 synthetic DNA sequences, DbAS was tasked with maximizing protein expression for sequences of length $L=96$.

Protein expression optimization results on real-world biological data.

DbAS-VAE achieved significantly higher predicted expression levels than all other baselines (Figure 4a) and showed a steady improvement in sample quality throughout the observation period (Figure 4b).

Key Insights

  • "Walking Away" from the Prior: Unlike previous methods constrained by initial training data, DbAS updates its generative model without a fixed prior, allowing it to explore better regions of the design space.
  • Design as Distribution Learning: DbAS learns a distribution over high-performing inputs rather than a single point, providing a diverse set of candidates for laboratory testing.
  • The Power of Weights: Replacing binary filtering with continuous weights allows the model to learn from "near misses," which is vital when the target property is rare.

Conclusion

DbAS represents a significant step forward in automated input design. While it remains dependent on oracle accuracy and generative capacity, its ability to handle stochasticity and perform complex specifications (like hitting a target value rather than just maximizing) makes it a versatile tool for biological and chemical engineering. Future work includes wet-lab validation and exploring "zero-shot" design scenarios.

Summary updated

BibTeX
@misc{brookes2018design,
  author = {David H. Brookes and Jennifer Listgarten},
  title = {{Design by adaptive sampling}},
  year = {2018},
  eprint = {1810.03714},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1810.03714},
}
Figure