Abstract
NatureLM is a massive, multi-domain foundation model that treats the "language of nature"—DNA, RNA, proteins, and molecules—as a unified sequence-based system. By training on 143 billion tokens across these domains, it achieves state-of-the-art performance on tasks ranging from drug retrosynthesis to material design. This work demonstrates that a single "generalist" model can match or exceed the performance of specialized scientific AI systems by leveraging shared sequential logic across physical entities.
Introduction
In the current AI landscape, scientific models are largely "siloed specialists." While some models excel at protein folding, others focus on molecular toxicity or genomic analysis. However, biology and chemistry are deeply interconnected in nature. Specialized models often struggle with cross-domain tasks, such as designing a small molecule to bind to a specific protein sequence. Furthermore, general-purpose LLMs like GPT-4 often lack the quantitative precision required for hard sciences.
NatureLM addresses these gaps by creating a unified generalist model. By viewing biological and chemical entities as "text" written in different alphabets, NatureLM learns the underlying grammar of physical reality.
Methods
NatureLM utilizes a GPT-style Transformer decoder architecture. The researchers developed three versions: a 1-billion parameter model, an 8-billion parameter model (based on Llama 3), and a 46.7-billion parameter Mixture-of-Experts (MoE) model (based on Mixtral 8x7B).
Two-Stage Pre-training
The core innovation is a two-stage continued pre-training strategy:
- Vocabulary Expansion: Thousands of new tokens were added for scientific entities (e.g., SMILES for molecules, FASTA for proteins). Initially, the base model was frozen while only new token embeddings were trained to ensure stability.
- Joint Optimization: The entire network was trained on a massive corpus of interleaved scientific data and natural language.
Data Composition
The model was pre-trained on 143 billion tokens, with 90% dedicated to scientific data:
- Molecules: SMILES strings from PubChem.
- Proteins: FASTA sequences from UniProt and PDB.
- Nucleotides: DNA and RNA from RefSeq and RNAcentral.
- Materials: Composition data from the Materials Project.
- Cross-Domain: 12.7 billion tokens of interleaved text-SMILES, text-protein, and DNA-protein pairs.
Key Results and Scaling
NatureLM demonstrates that scaling laws apply significantly to scientific domains. The 46.7B MoE model consistently outperformed smaller variants across 18 of 22 task categories, suggesting that increased capacity allows for a deeper "intuition" of complex chemistry and biology.
Benchmark Performance
- Retrosynthesis: On the USPTO-50K benchmark, NatureLM achieved 71.9% Top-1 accuracy, significantly outperforming GPT-4 (22.4%) and specialized models like LocalRetro (51.5%).
- Molecular Generation: The model achieved 98.8% validity and uniqueness in unconditional molecule generation.
- Protein Design: Generated sequences reached an average pLDDT score of 75.9, indicating high foldability.
- Material Science: NatureLM-Mat3D achieved state-of-the-art results on the Matbench
expt_gaptask with a Mean Absolute Error of 0.2858.
Discussion and Future Work
While NatureLM is a powerful scientific generalist, there is a trade-off: its heavy scientific weighting (90%) results in general "chat" capabilities that lag behind standard LLMs. Additionally, while it performs exceptionally in zero-shot scenarios, its few-shot learning capabilities remain an area for improvement.
Future iterations of NatureLM aim to move beyond sequence-based modeling by incorporating 3D structural data and dynamic behaviors. This will allow the model to better simulate how entities move and interact in physical space, further bridging the gap between digital representation and physical reality.
Summary updated