Abstract
Proteins adopt multiple structural conformations to perform their diverse biological functions, and understanding these conformations is crucial for advancing drug discovery. Traditional physics-based simulation methods often struggle with sampling equilibrium conformations and are computationally expensive. Recently, deep generative models have shown promise in generating protein conformations as a more efficient alternative. However, these methods predominantly rely on the diffusion process within a 3D geometric space, which typically centers around the vicinity of metastable states and is often inefficient in terms of runtime. In this paper, we introduce Structure Language Modeling (SLM) as a novel framework for efficient protein conformation generation. Specifically, the protein structures are first encoded into a compact latent space using a discrete variational auto-encoder, followed by conditional language modeling that effectively captures sequence-specific conformation distributions. This enables a more efficient and interpretable exploration of diverse ensemble modes compared to existing methods. Based on this general framework, we instantiate SLM with various popular LM architectures as well as proposing the ESMDiff, a novel BERT-like structure language model fine-tuned from ESM3 with masked diffusion. We verify our approach in various scenarios, including the equilibrium dynamics of BPTI, conformational change pairs, and intrinsically disordered proteins. SLM provides a highly efficient solution, offering a 20-100x speedup than existing methods in generating diverse conformations, shedding light on promising avenues for future research.
Introduction
Proteins are not static entities; they are dynamic machines that shift between various structural conformations to perform their biological functions. Predicting these conformational ensembles is a cornerstone of modern drug discovery and structural biology. However, traditional methods like Molecular Dynamics (MD) simulations are computationally prohibitive, often requiring weeks of supercomputer time for a single protein.
While AI models like AlphaFold have revolutionized static structure prediction, they often fail to capture the full breadth of a protein's conformational landscape. Recent 3D diffusion models have emerged as a faster alternative, but they are often bogged down by the need to maintain complex geometric constraints (like 3D rototranslation equivariance) and tend to focus on high-frequency atomic vibrations rather than the large-scale structural shifts that define biological function.
The Structure Language Modeling (SLM) Framework
This paper introduces Structure Language Modeling (SLM), a framework that re-imagines protein structures not as sets of 3D coordinates, but as a "language" composed of discrete structural tokens. By moving the generative process into a quantized latent space, the model can effectively filter out local thermal noise and focus on biologically relevant structural diversity.
The SLM framework consists of two primary components:
- The Tokenizer (dVAE): A discrete Variational Auto-Encoder that compresses complex 3D backbone coordinates into a sequence of discrete tokens. This creates a "vocabulary" of local structural motifs.
- The Generative Prior: A language model trained to predict the distribution of these tokens given an amino acid sequence.
The authors evaluate several architectures, most notably ESMDiff. ESMDiff is a novel model created by fine-tuning the ESM3 protein foundation model using masked discrete diffusion. Unlike autoregressive models that predict tokens one by one, ESMDiff starts with a fully masked sequence and iteratively "unmasks" the structure, allowing for more efficient and global structural modeling.
Performance and Key Insights
A major advantage of the SLM approach is its efficiency. By using a rototranslation-invariant encoder to generate tokens, the subsequent generative language model can be a standard, highly optimized Transformer. This architecture allows SLM models to achieve a 20–100x speedup in wall-clock time compared to leading diffusion-based models like AlphaFlow.
Beyond speed, the model demonstrates superior performance in capturing rare but significant states. In benchmarks using the Bovine Pancreatic Trypsin Inhibitor (BPTI), ESMDiff successfully identified "Cluster 3," a remote folding mode that is notoriously difficult for other generative models to sample. Furthermore, the generated ensembles show a strong correlation with experimental "Residue Flexibility" data, confirming that the model captures the underlying physics of protein movement.
Conclusion and Future Directions
Structure Language Modeling represents a significant shift in protein generative modeling. By treating structure as a language, SLM bypasses the computational bottlenecks of 3D geometric modeling while maintaining high fidelity to biological dynamics.
While the current implementation focuses on backbone atoms, future work will aim to incorporate side-chain modeling for tasks like protein-ligand docking. Additionally, integrating Multiple Sequence Alignments (MSAs) could further enhance the model's ability to leverage evolutionary information for predicting structural flexibility.
Summary updated