ScienceSynthetic BiologyPeer-reviewed journal article
Simulating 500 million years of evolution with a language model
Thomas HayesiD, Roshan RaoiD, Halil AkiniD, Nicholas SofroniewiD, Deniz OktayiD, Zeming LiniD, Robert VerkuiliD, Vincent Q. TraniD, Jonathan DeatoniD, Marius WiggertiD, Rohil BadkundriiD, Irhum Shafkat, Jun Gong, Alexander DerryiD, Raul S. Molina, Neil ThomasiD, Yousuf A. KhaniD, Chetan Mishra, Carolyn Kim, Liam J. BartieiD, Matthew NemethiD, Patrick D. HsuiD, Tom SercuiD, Salvatore CandidoiD, Alexander W. RivesiD
Abstract
More than three billion years of evolution have produced an image of biology encoded into the space of natural proteins. Here we show that language models trained on tokens generated by evolution can act as evolutionary simulators to generate functional proteins that are far away from known proteins. We present ESM3, a frontier multimodal generative language model that reasons over the sequence, structure, and function of proteins. ESM3 can follow complex prompts combining its modalities and is highly responsive to biological alignment. We have prompted ESM3 to generate fluorescent proteins with a chain of thought. Among the generations that we synthesized, we found a bright fluorescent protein at far distance (58% identity) from known fluorescent proteins. Similarly distant natural fluorescent proteins are separated by over five hundred million years of evolution.
- organism: multiple species
- organism: E. coli
- assay: protein sequence
- assay: protein structure
- research focus: protein design
- research focus: protein structure prediction
- research focus: phylogenetics / evolution
- research focus: sequence-to-function modeling
- approach: transformer / foundation model
- approach: large language model
- approach: deep learning
In-depth summary
Claude Opus 5.5 · xhigh effort · 5 Nov 2026 · from the full text of version 2 (31 Dec 2024) · CC BY-NC-ND 4.0
ESM3, a 98-billion-parameter multimodal protein language model tokenized across sequence, structure, and function, designs a bright green fluorescent protein at 58% sequence identity to known fluorescent proteins.
Prior generative protein models typically separate sequence language modeling from three-dimensional structure diffusion, limiting joint reasoning across sequence, structure, and function at scale. By tokenizing local 3D structure and functional annotations alongside amino acid sequences in an all-to-all masked transformer up to 98 billion parameters, ESM3 enables programmable multimodal protein design.
Key results
ShownChain-of-thought prompting of base ESM3 7B and two 96-well plate screens generated esmGFP, a bright green fluorescent protein 96 mutations away from its closest known neighbor.
Conditioned on 16 chromophore/helix residues from PDB 1QY3, round 1 (88 E. coli designs) yielded dim hit B8 (57% identity to tagRFP, 50x dimmer than natural GFPs) and round 2 (90 designs from B8) yielded esmGFP (well C10), sharing 58% identity (96 mutations, 22 internal) with tagRFP, 53% (107 mutations) with eqFP578, and 36% with avGFP while matching natural GFP brightness at 2 days (496/512 nm peaks). · Abstract; Generating a new fluorescent protein; A.5 GFP; Figure legends
ShownBiological alignment via Iterative Reasoning Preference Optimization (IRPO) doubled tertiary motif scaffolding success rates, with the largest gains emerging at the 98B parameter scale.
Across 46 held-out BioLiP ligand-binding motifs (1,024 permuted prompts per motif), IRPO finetuning on 30,000 prompt preference pairs increased Pass@128 success (backbone cRMSD < 1.5 A and ESMFold pTM > 0.8) from 9.5% to 18.8% (1.4B), 19.0% to 37.4% (7B), and 26.8% to 65.5% (98B), surpassing supervised finetuning (14.2%, 33.7%, and 44.6%). · Biological alignment; A.4.1. Algorithm; A.4.5. Evaluation Dataset: Tertiary Coordination; A.4.6 Supervised Finetuning
ShownDiscrete VQ-VAE structure tokenization achieved sub-angstrom reconstruction, and scaling ESM3 to 98B parameters surpassed ESMFold in single-sequence structure prediction.
The 4,096-code VQ-VAE tokenizer reconstructed CAMEO test structures to <0.5 A all-atom RMSD (backbone RMSD < 1 A, LDDT-CA > 0.98), and ESM3 98B achieved 0.880 mean LDDT vs 0.861 for ESMFold on CAMEO while generating diverse unconditional proteins (mean pLDDT 0.84, pTM 0.52, mean pairwise sequence identity 0.155, mean TM-score 0.48). · ESM3; A.1.7 Structure Tokenizer; A.1.7.4 Evaluation; Tables
ShownMultimodal prompt composition generated designable scaffolds distinct from natural folds and compressed a serine protease by one-third while preserving active-site geometry.
Out-of-distribution SS8/SASA prompts yielded globular proteins (mean pTM 0.85 +/- 0.03) with <20% sequence identity and 0.48 +/- 0.09 TM-score to training data; composing atomic motifs with fold/SS8 prompts gave median pTM 0.80 +/- 0.08 and scTM 0.96 +/- 0.04, and compressing trypsin (PDB 1Y3V) from 223 to 150 residues kept the catalytic triad at 0.73 A all-atom RMSD (pTM 0.84, scTM 0.97 +/- 0.006). · Programmable design with ESM3; A.3.9. Steerable Design; A.3.10. Composing Prompts; A.3.11. Multimodal Editing Examples
ShownData filtering in the open-weights 1.4B ESM3-open model ablated zero-shot viral fitness prediction to baseline levels without degrading non-viral representation or structure performance.
Removing 10.6 million viral and Select Agent sequences and 9,462 of 68,103 function keywords reduced Spearman rho across 28 ProteinGym viral deep mutational scanning assays from 0.28 (ESM3-small) to 0.17 (ESM3-open, matching BLOSUM62), while non-viral DMS Spearman rho remained 0.45 vs 0.46 and function keyword macro mAP reached 0.81. · A.6 OPEN MODEL; Filtering sequences of potential concern; Function Keyword Prediction; Zero-shot Viral Fitness Prediction
Methods, data and reproducibility
Trains bidirectional masked language models (1.4B, 7B, and 98B parameters) over discrete tokens for protein sequence, VQ-VAE 3D structure (4,096 codes plus SE(3)-invariant geometric attention), 8-class secondary structure, 16-bin SASA, and LSH-hashed InterPro/GO function keywords. Aligns models via Iterative Reasoning Preference Optimization and designs GFPs via chain-of-thought Gibbs sampling.
- Pretraining protein sequences, structures, and InterPro/GO annotations from UniRef2023_02, MGnify90_2023_02, JGI, OAS, PDB, AlphaFoldDB v4, and ESMAtlas plus synthetic inverse-folded sequences · multiple species · n = 2.78B natural proteins (3.15B sequences, 236M structures, 771B unique tokens)
- Temporally held-out structure evaluation benchmarks from CAMEO (May 2020 to Aug 2023), CASP14, and CASP15 · multiple species · n = 902 CAMEO proteins; 71 CASP14 proteins; 70 CASP15 proteins
- Held-out BioLiP ligand-binding tertiary coordination benchmark (deposited after Dec 1, 2020) · multiple species · n = 46 ligand-binding motifs (1,024 prompts per motif)
- Candidate GFP designs synthesized and assayed in E. coli Mach1 (conditioned on PDB 1QY3) and eukaryotic fluorescent proteins from FPBase for phylogenetic calibration · multiple species · n = 88 designs (Experiment 1) and 90 designs (Experiment 2); 648 FPBase sequences · 1QY3
- ProteinGym deep mutational scanning (DMS) single-mutant benchmarks · multiple species · n = 217 DMS datasets (28 viral, 189 non-viral)
- Methods & tools
- ESM3, ESMFold, ESM-IF1, ESM2, MMseqs2, Foldseek, InterProScan, DSSP, MAFFT, BLAST, PyTorch, ProteinMPNN
- Data & accessions
- https://github.com/evolutionaryscale/esm
- Software & environment
- PyTorch with FSDP, TransformerEngine, xformers, mixed precision (FP8, BF16, FP32); MMseqs2 v15.6f452; MAFFT v7.525; InterPro/InterProScan v95.0; biotite; mkdssp [S50-S55, S67, S115, S116].
- Experimental conditions
- ESM3 98B trained with 1.07 x 10^24 FLOPs on 1.8T tokens (1.4B on 75B/300B tokens with 6.72 x 10^20 FLOPs; 7B on 560B tokens) [S2, S71, S73].
- Reproducibility gaps
- Open weights and code are only released for the data-mitigated 1.4B ESM3-open model; the 7B and 98B base and aligned models are only accessible via API [S10, S119].
Limitations (4)
- The VQ-VAE structure tokenizer can produce inaccurate global orientations of structural elements in proteins with long disordered regions, unresolved coordinates, or sparse tertiary contacts [S40, S128]. · stated by the authors
- Predicted local confidence (pLDDT) is less correlated with global pTM on generated sequences than on natural proteins (Pearson r = 0.79 vs 0.85) and can overestimate confidence in long alpha helices [S40, S76]. · stated by the authors
- Even after preference alignment, the 98B parameter model failed to generate any passing scaffold for 9 of the 46 tested ligand-binding motifs [S5]. · stated by the authors
- esmGFP matures more slowly than the tested natural GFPs, requiring roughly two days in E. coli lysate to reach comparable fluorescence brightness [S6]. · stated by the authors
Read this if you develop multimodal protein language models or use generative AI to scaffold functional active sites and design distant proteins.
- Citations
- 941
- FWCI
- 261.20
- Field percentile
- top 1%
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- Deep neural language modeling enables functional protein generation across families
Ali Madani, Ben Krause, … Nikhil Naik·bioRxiv·Jul 18, 2021
- Language models generalize beyond natural proteins
Robert Verkuil, Ori Kabeli, … Alexander W. Rives·bioRxiv·Dec 21, 2022
- ProGen: Language Modeling for Protein Generation
Ali Madani, Bryan McCann, … Richard Socher·bioRxiv·Mar 7, 2020
- E1: Retrieval-Augmented Protein Encoder Models
Sarthak Jain, Joel Beazer, … Ali Madani·bioRxiv·Nov 12, 2025
- Protein Language Models in Directed Evolution
Russell G. Maguire, Kotryna Bloznelyte, … Ian Taylor·bioRxiv·Aug 20, 2024
- InstructPLM: Aligning Protein Language Models to Follow Protein Structure Instructions
Jiezhong Qiu, Junde Xu, … Guangyong Chen·bioRxiv·Apr 17, 2024