Large language models generate functional protein sequences across diverse families

Ali Madani, Ben Krause, Eric R. Greene, Subu Subramanian, Benjamin P. Mohr, James M. Holton, J.l. Olmos, Caiming Xiong, Zachary Z. Sun, Richard Socher, James S. Fraser, Nikhil NaikNature Biotechnology 2023

Introduction

Designing novel proteins with specific functions is a fundamental challenge in biotechnology, with implications for medicine, industry, and environmental sustainability. Traditional approaches, such as directed evolution or rational design based on biophysical simulations, are often limited by slow iteration cycles or the immense computational cost of navigating an astronomical search space. For a protein of just 100 amino acids, there are $20^{100}$ possible combinations—a scale far beyond exhaustive search.

A new approach, ProGen, treats protein engineering as a natural language generation task. ProGen is a 1.2 billion-parameter large language model (LLM) designed to "write" functional, novel enzymes. By learning the underlying "grammar" of proteins from massive, unaligned sequence data, the model can generate functional molecules across diverse families that perform as well as those found in nature.

Methodology: Proteins as Language

The core premise of ProGen is that amino acid sequences follow a hierarchical logic similar to human language. Just as letters form words and words form sentences, amino acids form structural motifs that combine into functional proteins.

Architecture and Training

ProGen utilizes a decoder-only Transformer architecture, similar to the technology powering modern generative AI. It was pre-trained on a universal dataset of 280 million non-redundant protein sequences from public databases like UniParc and UniProtKB. During training, the model was tasked with predicting the next amino acid in a sequence based on preceding ones, forcing it to implicitly learn structural motifs and functional constraints without explicit 3D data.

Conditional Generation

To allow for targeted design, ProGen uses "control tags"—metadata labels such as Pfam IDs, taxonomic ranks, or Gene Ontology terms. These tags act as prompts, allowing researchers to steer the model toward specific protein families or functions. While the base model is a generalist, the researchers found that fine-tuning the model on specific families, such as lysozymes, significantly improved the quality and success rate of the generated sequences.

Experimental Validation

The researchers focused their validation on the lysozyme clan, a well-characterized group of enzymes. To move from digital sequences to physical proteins, they employed a selection pipeline using log-likelihood scoring to rank the most "natural-sounding" generations for laboratory synthesis.

High Success Rates in the "Twilight Zone"

In laboratory assays, 73% (66 out of 90) of the ProGen-generated lysozymes were functional. Remarkably, a control group of natural lysozymes had a lower success rate (59%) in the same experimental setup.

One of the most significant findings was the model's ability to generate functional proteins in the "twilight zone" of sequence identity. Some functional variants shared less than 40% identity with any known natural protein, with one functional sequence reaching as low as 31.4% similarity. This demonstrates that ProGen is not merely memorizing and "copy-pasting" known sequences but has learned the fundamental rules of protein folding and function.

Native-like Activity and Structural Precision

Two generated variants, L056 and L070, exhibited catalytic efficiencies comparable to Hen Egg White Lysozyme (HEWL), a highly optimized natural enzyme. To confirm the model's structural accuracy, the researchers solved the crystal structure of L056. Despite differing from its closest natural relative by 53 amino acids, the physical structure matched the predicted fold with high precision (2.9 Å RMSD). This confirms that the model correctly positioned key catalytic residues in 3D space despite having no explicit knowledge of atomic forces or thermodynamics.

Conclusion and Future Directions

ProGen represents a shift in protein engineering, moving from specialist models to a generalist LLM capable of cross-family generation. While the model currently requires fine-tuning to achieve high success rates for specific families, it demonstrates the power of linguistic modeling in biological design.

Future work may involve bridging the "zero-shot" gap to generate proteins for families with limited data or designing proteins for "unnatural" reactions that have no precedent in the biological record. Combining these linguistic models with traditional biophysical modeling could create even more robust tools for precise, de novo protein design.

Summary updated

BibTeX
@inproceedings{madani2023large,
  author = {Ali Madani and Ben Krause and Eric R. Greene and Subu Subramanian and Benjamin P. Mohr and James M. Holton and J.L. Olmos and Caiming Xiong and Zachary Z. Sun and Richard Socher and James S. Fraser and Nikhil Naik},
  title = {{Large language models generate functional protein sequences across diverse families}},
  booktitle = {Nature Biotechnology},
  year = {2023},
  doi = {10.1038/s41587-022-01618-2},
}
Figure