Protein Design with Guided Discrete Diffusion

Nate Gruver, Samuel Stanton, Nathan C. Frey, Tim G. J. Rudner, Isidro Hötzel, Julien Lafrance-Vanasse, Arvind Rajpal, Kyunghyun Cho, Andrew Gordon Wilson

TL;DR

This paper introduces "diffusioN Optimized Sampling" (NOS), a novel method for guiding discrete diffusion models to design protein sequences directly in sequence space. This approach overcomes limitations of structure-based methods and, when combined with Bayesian optimization in their LaMBO-2 framework, enables efficient optimization of antibodies for improved expression and binding affinity, achieving impressive in vitro results.

What Problem Does This Paper Address?

Designing proteins with specific functions is crucial for many applications, from medicine to materials science. The challenge lies in the vastness of possible protein sequences and the difficulty and expense of experimentally testing them. Traditional methods often rely on structure-based design, which can be limited by scarce structural data and the complex "inverse-folding" problem (determining a sequence that folds into a desired structure). While generative models offer a promising alternative, naive models tend to produce sequences similar to their training data, lacking the novelty needed for improved function. Existing guided generation methods often struggle with discrete data (like protein sequences) or require complex workarounds. This paper aims to bridge this gap by enabling efficient, gradient-guided protein design directly in sequence space, overcoming the limitations of structure-based approaches and improving upon existing sequence-based methods.

Methods

The core innovation is diffusioN Optimized Sampling (NOS). Unlike previous methods that might guide diffusion in a continuous latent space, NOS directly guides the diffusion process in the hidden states of the denoising network. This allows for design directly in sequence space. NOS works by taking alternating steps of corruption, gradient-guided optimization of a value function (representing desired properties), and denoising.

This is then integrated into LaMBO-2, an enhanced Bayesian optimization framework for sequence design. LaMBO-2 builds upon the previous LaMBO algorithm but replaces its masked language model (MLM) sampler with NOS. Key improvements include:

  • Saliency Maps for Edit Selection: Instead of random edits, LaMBO-2 uses saliency maps derived from the value function's gradients to identify the most impactful positions in a sequence for edits. This is crucial for efficient design, especially with limited edit budgets.
  • Ensemble-Based Uncertainty Quantification: Replaces the previous discriminative deep kernel Gaussian process with an ensemble of models to better estimate uncertainty.
  • Discrete Optimization: Adapts techniques for handling discrete objectives (like expression yield and binding affinity) within the Bayesian optimization framework.

Datasets

  • Paired OAS: Used for training the diffusion models for heavy and light chain sequences.
  • SAbDab: Used for training the diffusion models.
  • Antibody-antigen SPR data: Used for training the discriminative models for binding affinity.
  • Linear transfection expression measurements: Used for training the discriminative models for expression yield.

The paper does not introduce new benchmark datasets but rather applies its methods to existing ones for antibody design.

Key Insights and Ideas

  • Sequence Space Design is Powerful: Directly designing in sequence space, bypassing the need for inverse folding, is a significant advantage, especially given the scarcity of structural data and the complexity of inverse folding.
  • Hidden State Guidance is Key: Guiding diffusion in the hidden states of the denoising network, rather than a continuous latent space, allows for direct manipulation of discrete sequences and circumvents issues with discrete data.
  • Saliency Maps for Efficient Editing: Identifying critical positions for edits using saliency maps is far more effective than random edits, especially when aiming for specific functional improvements with limited changes. This is a crucial insight for practical protein engineering.
  • Naturalness vs. Objective Trade-off: The paper highlights the inherent tension between generating "natural" (biologically plausible) sequences and optimizing for specific functional objectives. LaMBO-2 effectively navigates this trade-off.
  • Iterative Refinement Matters: The diffusion process's iterative nature (iterative refinement) provides a noticeable benefit in improving objective values compared to a purely autoregressive approach.

Key Results

  • Unguided Infilling: NOS-based diffusion models outperformed autoregressive models (IgLM) and structure-based methods (DiffAb, RFDiffusion) in antibody CDR infilling tasks, showing higher sequence recovery.
  • Guided Optimization (In Silico): NOS demonstrated better trade-offs between objective value (e.g., beta sheets, SASA) and sequence likelihood compared to baselines like PPLM and DiGress.
  • Antibody Lead Optimization (In Vitro): LaMBO-2, using NOS-D, successfully optimized 20 seed antibodies across 4 targets over three experimental rounds. In the final round, they tested 56 antibodies and achieved a 99% expression rate and 40% binding rate on average.
  • Improved Designs: On average, 43% of expressing designs had higher yield, and 21% of binding designs had higher binding affinity compared to their respective seeds.

Limitations and Future Work

  • Computational Cost: While more efficient than structure-based methods, guided diffusion and Bayesian optimization can still be computationally intensive.
  • Data Scarcity: The performance of generative models is still heavily reliant on the quality and quantity of training data.
  • Generalization to Other Domains: While LaMBO-2's improvements are not protein-specific, applying it to domains like small molecules (which don't admit sequence alignments) will require further adaptation.
  • Longer Sequences and Complex Structures: Extending the approach to much longer sequences (e.g., gene perturbations) or more complex molecular designs will necessitate advancements in handling longer contexts and implicit representations.
  • Interpretability of Saliency Maps: While effective, the reliability and interpretation of saliency maps, especially in online decision-making contexts, warrant further investigation.
  • Future Directions: The authors suggest exploring LaMBO-2 for small molecule design, handling variable-length sequences, optimizing longer sequences, and investigating more general guidance mechanisms.

Summary updated

BibTeX
@inproceedings{gruver2023protein,
  author = {Nate Gruver and Samuel Stanton and Nathan C. Frey and Tim G. J. Rudner and Isidro Hötzel and Julien Lafrance-Vanasse and Arvind Rajpal and Kyunghyun Cho and Andrew Gordon Wilson},
  title = {{Protein Design with Guided Discrete Diffusion}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2023},
  url = {https://openreview.net/forum?id=MfiK69Ga6p},
}
Figure