In the world of protein engineering, we usually treat sequences (the "letters" of life) and structures (the "shapes" of life) as two different languages. We have Large Language Models (LLMs) that are masters of sequence, and Diffusion Models that are masters of 3D geometry. But in nature, these two are inseparable: a protein's sequence determines its structure, and its structure dictates its function.
DPLM-2 aims to bridge this divide. It is a multimodal foundation model that treats protein sequence and structure as a single, unified language, allowing it to understand, predict, and generate both simultaneously.
TL;DR
DPLM-2 is a multimodal protein foundation model that uses discrete diffusion to jointly model amino acid sequences and 3D structures. By converting 3D coordinates into discrete "structure tokens," it enables a single transformer to perform tasks like folding, inverse folding, and de novo co-generation in a single step, outperforming traditional two-stage pipelines.
What Problem Does This Paper Address?
Traditionally, protein design is a two-step "cascaded" process. If you want to design a new protein, you might use a structure-based model (like RFDiffusion) to dream up a backbone, and then a sequence-based model (like ProteinMPNN) to find amino acids that fit that shape.
The problem is that these models are "blind" to each other's modalities. Structure-only models miss the rich evolutionary information hidden in sequence databases, while sequence-only models lack a physical understanding of 3D space. This separation leads to "designability" gaps where a generated structure might be physically impossible for any real sequence to form.
Methods
The researchers built DPLM-2 by extending the Discrete Diffusion Protein Language Model (DPLM). Their approach relies on three key technical pillars:
- Structure Tokenization: To feed 3D coordinates into a transformer, the authors developed a structure tokenizer. It uses a GVP-based encoder to extract geometric features and a Lookup-Free Quantizer (LFQ) to turn those features into discrete tokens. An IPA-based decoder (borrowed from AlphaFold2) then converts these tokens back into 3D coordinates.
- Multimodal Diffusion: DPLM-2 treats structure tokens and amino acid tokens as a single concatenated sequence. During training, the model learns to "denoise" both modalities at once. By adjusting the noise levels, the model can be used for different tasks: set sequence noise to zero for folding (predicting structure from sequence), or set structure noise to zero for inverse folding.
- Efficient Warm-up with LoRA: Training a multimodal model from scratch is expensive and data-hungry. Instead, the authors took a pre-trained sequence-only DPLM (trained on 45 million sequences) and fine-tuned it using LoRA (Low-Rank Adaptation). This allowed the model to retain its vast "evolutionary knowledge" while learning the new language of 3D structure.
Datasets
The model was trained on a curated mix of experimental and synthetic data:
- PDB (Protein Data Bank): ~20,000 high-quality experimental structures.
- AFDB-SwissProt: ~200,000 high-quality synthetic structures predicted by AlphaFold.
- UniRef50: Used for the initial sequence-only pre-training of the base DPLM model.
Key Insights and Ideas
- Structure is a Language: The paper proves that 3D geometry can be effectively "discretized" into a vocabulary that a standard transformer can process, just like words or amino acids.
- Evolutionary Bias Matters: One of the most striking findings is that sequence pre-training significantly boosts structural performance. The model uses the "co-evolutionary" signals it learned from millions of sequences to better understand how residues interact in 3D space.
- Natural Proportions: Unlike pure structure-diffusion models, which often produce "idealized" but unnatural-looking proteins (too many helices, too few loops), DPLM-2 generates proteins with secondary structure proportions that closely match those found in nature.
Key Results
- High Designability: In unconditional generation, DPLM-2 achieved scTM scores > 0.9, meaning the sequences it generates are highly compatible with the structures it co-generates.
- Competitive Performance: DPLM-2 performs on par with specialized, state-of-the-art models like ESMFold for folding and ProteinMPNN for inverse folding, despite being a general-purpose foundation model.
- Motif Scaffolding: The model successfully solved complex "motif-scaffolding" problems—taking a functional piece of a protein (a motif) and building a brand-new supporting structure (a scaffold) around it.
- Length Extrapolation: Although trained on proteins up to 512 residues, the model successfully generated plausible proteins up to 1,000 residues long.
Limitations and Future Work
- Data Scale: While 220,000 structures is a lot, it is tiny compared to the billions of known sequences. The authors note that "catastrophic forgetting" of sequence knowledge can occur if the model is fine-tuned too aggressively on small structural datasets.
- Discretization Loss: Turning continuous 3D space into discrete tokens inevitably loses some fine-grained detail. Future work may involve "hybrid" tokenization that combines discrete tokens with continuous residuals to capture precise atomic positions.
- Single Chains: The current model focuses on single-chain proteins. Expanding this to multimers (complexes of multiple proteins) is a necessary next step for real-world drug and vaccine design.
Summary updated