Abstract
The Diffusion Protein Language Model (DPLM) bridges the gap between protein sequence representation learning and generation. By employing a discrete diffusion framework, DPLM matches or exceeds the performance of state-of-the-art masked language models like ESM2 in predictive tasks while simultaneously enabling the generation of high-quality, novel protein sequences. This unified approach addresses the historical trade-off between bidirectional "understanding" and autoregressive "generation" in protein modeling.
Introduction
In the field of Protein Language Models (pLMs), a persistent trade-off has existed between "understanding" (representation learning) and "creating" (generation). Masked Language Models (MLMs), such as the ESM family, utilize bidirectional context to excel at property prediction but lack a formal generative framework. Conversely, Autoregressive Models (AR-LMs) like ProGen are effective at generation but are limited by a unidirectional view, which is suboptimal for capturing the complex, non-linear interactions inherent in 3D protein structures. DPLM addresses this by introducing a single, scalable architecture that leverages a bidirectional field for both tasks.
Methods
DPLM is grounded in a discrete diffusion probabilistic framework, specifically using an "absorbing state" diffusion process. During training, amino acids in a sequence are gradually replaced with a special [MASK] token until the sequence becomes entirely noise. The model is then trained to reverse this process, "denoising" the masks back into a functional protein sequence.
This approach effectively generalizes both MLM and AR-LM objectives. A 15% mask rate mimics standard MLM training, while starting from 100% noise enables full sequence generation. The model architecture follows the Transformer-based design of ESM2 and has been scaled up to 3 billion parameters. Additionally, DPLM supports controllable generation through a novel "classifier guidance" mechanism for discrete data, allowing users to steer the model toward specific structural characteristics without retraining.
Datasets and Evaluation
The model underwent large-scale pre-training on UniRef50, a database containing approximately 45 million protein sequences. Evaluation was conducted across several dimensions:
- Structural Plausibility: Using the Protein Data Bank (PDB) to assess the foldability and novelty of generated sequences.
- Inverse Folding: Benchmarked on CATH 4.2 and 4.3 datasets.
- Predictive Benchmarks: Utilizing the TAPE suite and other downstream tasks such as Thermostability, Human Protein-Protein Interaction (HumanPPI), and Metal Ion Binding.
Key Results and Insights
The researchers found that forcing the model to learn how to generate a protein from 100% noise leads to a deeper "understanding" of protein physics. This is evidenced by DPLM-3B outperforming ESM2-3B on nearly all predictive benchmarks. For instance, in the HumanPPI task, DPLM achieved 90.00% accuracy, significantly higher than ESM2’s 84.78%.
In terms of generation, DPLM produces sequences that are highly likely to fold into stable structures, with an average pLDDT > 80 as predicted by ESMFold. The model also demonstrated superior performance in "motif scaffolding" tasks, solving 12 out of 17 complex problems, nearly doubling the success rate of previous diffusion models like EvoDiff (7/17). For inverse folding, DPLM achieved a 59.44% Amino Acid Recovery (AAR) rate, outperforming specialized architectures.
Discussion and Future Work
While DPLM represents a significant advancement, challenges remain. Training discrete diffusion models can be unstable; the authors mitigated this with a two-stage training strategy, beginning with a standard MLM objective. Current limitations include a maximum context length of 1024 tokens, which may be insufficient for large biological complexes. Future research will focus on extending this context window and developing "Universal Protein Models" that natively integrate 1D sequence and 3D structural data.
Summary updated