Skip to main content
QUICK REVIEW

[Paper Review] Fast differentiable DNA and protein sequence optimization for molecular design

Johannes Linder, Georg Seelig|arXiv (Cornell University)|May 22, 2020
RNA and protein synthesis mechanismsBiochemistry, Genetics and Molecular Biology42 references17 citations
TL;DR

This paper introduces Fast SeqProp, a differentiable optimization method for DNA and protein sequence design that improves convergence speed and fitness optima by normalizing nucleotide logits and using adaptive entropy in a straight-through gradient approximation. It achieves up to 100-fold faster convergence than prior activation maximization methods while producing higher-fitness sequences across multiple biological tasks, including enhancer, 5'UTR, and protein structure design.

ABSTRACT

Designing DNA and protein sequences with improved function has the potential to greatly accelerate synthetic biology. Machine learning models that accurately predict biological fitness from sequence are becoming a powerful tool for molecular design. Activation maximization offers a simple design strategy for differentiable models: one-hot coded sequences are first approximated by a continuous representation which is then iteratively optimized with respect to the predictor oracle by gradient ascent. While elegant, this method suffers from vanishing gradients and may cause predictor pathologies leading to poor convergence. Here, we build on a previously proposed straight-through approximation method to optimize through discrete sequence samples. By normalizing nucleotide logits across positions and introducing an adaptive entropy variable, we remove bottlenecks arising from overly large or skewed sampling parameters. The resulting algorithm, which we call Fast SeqProp, achieves up to 100-fold faster convergence compared to previous versions of activation maximization and finds improved fitness optima for many applications. We demonstrate Fast SeqProp by designing DNA and protein sequences for six deep learning predictors, including a protein structure predictor.

Motivation & Objective

  • To address slow convergence and poor fitness optima in existing activation maximization methods for discrete biological sequences.
  • To overcome vanishing gradients and predictor pathologies in differentiable sequence optimization by improving gradient flow through discrete samples.
  • To develop a model- and parameter-free method that does not require training a separate generative model, enabling rapid design of small sequence sets.
  • To enable incorporation of regularization techniques such as VAE-based priors and uncertainty-aware predictors for biologically plausible designs.
  • To outperform both heuristic methods (e.g., Simulated Annealing) and modern generative model-based approaches in sequence design quality and efficiency.

Proposed method

  • Fast SeqProp uses a straight-through gradient approximation to optimize discrete sequence samples, enabling backpropagation through one-hot encoded sequences.
  • It normalizes nucleotide logits across sequence positions to stabilize training and prevent skewed sampling distributions.
  • An adaptive entropy variable is introduced to dynamically adjust sampling temperature, preventing overly confident or uninformative token predictions.
  • The method performs gradient ascent on continuous relaxations of one-hot sequences while maintaining discrete sampling for final sequence generation.
  • It supports regularization via VAE priors and uncertainty estimation in probabilistic predictor models to maintain design confidence and biological relevance.
  • The algorithm is applied directly to pre-trained differentiable predictors without requiring retraining or auxiliary generative models.

Experimental results

Research questions

  • RQ1Can a differentiable sequence optimization method achieve significantly faster convergence than existing activation maximization approaches?
  • RQ2Does normalizing logits and introducing adaptive entropy improve the quality of optimized sequences and prevent gradient pathologies?
  • RQ3Can Fast SeqProp outperform both heuristic search methods and modern generative model-based approaches in sequence design tasks?
  • RQ4To what extent can Fast SeqProp incorporate regularization and uncertainty estimation to produce biologically plausible sequences?
  • RQ5Is Fast SeqProp effective across diverse biological sequence design tasks, including DNA regulatory elements and protein structures?

Key findings

  • Fast SeqProp achieves up to 100-fold faster convergence compared to previous activation maximization methods on DNA and protein sequence design tasks.
  • The method discovers sequences with significantly higher predicted fitness than baseline activation maximization and other optimization baselines across six distinct design tasks.
  • Fast SeqProp outperforms global search heuristics such as Simulated Annealing and sampling-based methods like CbAS, FB-GAN, and FB-VAE in both speed and fitness of final designs.
  • Independent validation using oracle models not involved in optimization confirms the high fitness of sequences generated by Fast SeqProp, demonstrating robustness and generalization.
  • The method successfully designs functional DNA elements (enhancers, 5'UTRs, polyA signals) and protein sequences with improved predicted structure and function.
  • Incorporating VAE priors and uncertainty-aware predictors via regularization improves design confidence and biological plausibility without sacrificing fitness.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.