Guide your favorite protein sequence generative model

Junhao Xiong, Hunter Nisonoff, Maria Lukarska, Ishan Gaur, Luke M. Oltrogge, David F. Savage, Jennifer ListgartenarXiv 2025 · DOI

Introduction

Generative models like ESM3 and ProteinMPNN have revolutionized protein engineering by learning the "language" of natural sequences. However, these models are often "jacks of all trades, masters of none"—they excel at generating plausible, natural-looking proteins but struggle to produce sequences with rare, extreme, or user-specified properties like ultra-high stability or specific catalytic activity.

ProteinGuide, a new framework from researchers at UC Berkeley and the Innovative Genomics Institute, addresses this by enabling "on-the-fly" property guidance. This approach allows researchers to steer pre-trained generative models toward specific design goals without the need for costly re-training or fine-tuning.

ProteinGuide steers pre-trained models toward desired properties by shifting the distribution of generated variants.

The Unified Modeling Framework

The core innovation of ProteinGuide is a unifying statistical framework that bridges different classes of generative models. The authors demonstrate that Masked Language Models (MLMs), Any-Order Auto-Regressive Models (AO-ARMs), Discrete Diffusion, and Discrete Flow Matching are mathematically equivalent when they utilize a "masking noise process."

By establishing this equivalence, a single guidance strategy can be applied across diverse architectures:

  • Bayesian Modulation: At each step of the sequence generation process, ProteinGuide applies Bayes' Rule to modulate the model's natural transition rates using a likelihood ratio from a separate, lightweight property predictor.
  • Taylor-Approximate Guidance (TAG): To maintain computational efficiency, the framework uses a first-order Taylor expansion to approximate the guidance signal, allowing for steering with minimal overhead.
  • Plug-and-Play Compatibility: Because it only requires access to the generative model's output logits rather than internal parameters, ProteinGuide can be used even with closed-source or massive "pan-protein" models.
The unified framework for discrete-time and continuous-time processes, and a comparison of enrichment performance.

Experimental Validation and Key Results

The authors validated ProteinGuide across a wide array of tasks, including folding stability, extrapolative design (fluorescence, ubiquitination), and multi-property Pareto optimization.

Beating Directed Evolution

In a striking wet-lab validation, ProteinGuide designed an adenine base editor (FMIF-1016) that achieved higher editing efficiency in a single round than variants previously optimized through seven rounds of traditional directed evolution. This demonstrates the model's ability to "extrapolate" into unexplored regions of the protein fitness landscape.

Pareto Frontier Pushing

In a PbrR biosensor campaign, ProteinGuide successfully designed variants that were simultaneously better at binding lead (Pb) and worse at binding the off-target zinc (Zn), effectively pushing the Pareto frontier of the design space.

Stability and Success Rates

When guiding models like ProteinMPNN, ProteinGuide consistently achieved higher success rates in generating stable, correctly folding proteins compared to both unguided sampling and standard fine-tuning. Unlike fine-tuning, which can lead to "catastrophic forgetting" of general protein knowledge, ProteinGuide retains the "common sense" of the pre-trained model while providing a specific functional "nudge."

Conclusion

ProteinGuide provides a principled, efficient way to combine the massive priors of pre-trained protein models with specific experimental data. By enabling on-the-fly conditioning, it offers a powerful alternative to inefficient post-hoc filtering and expensive fine-tuning, paving the way for more precise and rapid protein engineering.

Reference: Xiong, J., et al. (2026). ProteinGuide: On-the-fly property guidance for protein sequence generative models. arXiv:2505.04823v4.

Summary updated

BibTeX
@misc{xiong2025guide,
  author = {Junhao Xiong and Hunter Nisonoff and Maria Lukarska and Ishan Gaur and Luke M. Oltrogge and David F. Savage and Jennifer Listgarten},
  title = {{Guide your favorite protein sequence generative model}},
  year = {2025},
  eprint = {2505.04823},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2505.04823},
}
Figure