Protein structure generation via folding diffusion

Kevin Eric Wu, Kevin K Yang, Rianne van den Berg, James Zou, Alex Xijie Lu, Ava P Amini · DOI

Introduction

Designing novel proteins is a "holy grail" of biotechnology, offering the potential to engineer custom enzymes, sensors, and therapeutics. However, computationally generating realistic 3D protein structures remains a significant challenge. Traditional approaches often struggle with the complexity of 3D coordinates, requiring specialized equivariant neural networks to handle rotational and translational invariance. Furthermore, many models produce physically implausible structures, such as disconnected atom clouds or configurations that violate real-world geometric constraints.

To address these issues, researchers have developed FoldingDiff, a diffusion-based generative model that creates novel, physically plausible protein backbones. By mimicking the biological folding process and representing proteins through internal angles rather than absolute coordinates, the model achieves high designability and structural diversity using a standard Transformer architecture.

Methodology

The core innovation of FoldingDiff lies in its data representation. Instead of predicting $x, y, z$ coordinates, the model predicts six consecutive angles for each amino acid residue: three dihedral torsion angles ($\phi, \psi, \omega$) and three bond angles ($\theta_1, \theta_2, \theta_3$). This internal angle representation is naturally invariant to rotation and translation, allowing the use of a vanilla bidirectional Transformer instead of more complex geometric architectures.

The FoldingDiff framework uses a diffusion process to iteratively refine random angles into a folded protein structure.

The model employs a Denoising Diffusion Probabilistic Model (DDPM). It begins with a "completely unfolded" state consisting of random noise and iteratively "denoises" these angles over 1,000 steps. To account for the periodic nature of angular data (where $180^\circ$ is equivalent to $-180^\circ$), the researchers implemented a "wrapped" loss function.

FoldingDiff was trained on the CATH dataset, a gold-standard resource for protein structures. The training set included 24,316 de-duplicated protein backbones (no more than 40% sequence identity) ranging from 40 to 128 residues in length. This ensures the model learns general folding principles rather than memorizing specific examples.

Key Insights

  • Invariance by Design: Shifting the problem to "angle space" bypasses the need for equivariant mathematics. A simple Transformer can outperform complex geometric models when the data representation aligns with physical reality.
  • Chirality and Realism: Unlike many 3D-coordinate models that are reflection-invariant, FoldingDiff's angular approach naturally respects chirality. It correctly identifies that right-handed alpha-helices are far more common in nature than left-handed ones.
  • Global Coordination: The diffusion process allows for global coordination across the protein chain, avoiding the "mode collapse" seen in autoregressive models and resulting in diverse structures that realistically mix helices and sheets.

Results and Designability

The primary metric for success is "designability" — whether a real amino acid sequence can be found that folds into the generated backbone shape. FoldingDiff achieved a 22.7% designability rate, defined by a self-consistency TM score (scTM) $\geq 0.5$. This significantly outperforms previous state-of-the-art diffusion models, which achieved approximately 11.8% on similar tasks.

Self-consistency TM scores (scTM) for 780 generated protein backbones, categorized by length.

Clustering analysis further demonstrated that the generated proteins are as diverse as those found in nature, representing a wide range of potential new folds rather than mere copies of the training data.

Discussion and Future Work

While FoldingDiff represents a significant step forward, several limitations remain. The "lever arm effect" means that small errors in angles early in the chain can lead to large displacements at the protein's end. Additionally, the model lacks an explicit mechanism to prevent self-collisions in 3D space, although it often learns to avoid them implicitly.

Future work may involve incorporating geometric checkpoints or additional losses to reduce error accumulation. Extending the model to generate amino acid sequences and structures simultaneously, as well as scaling to longer proteins and multi-chain complexes, are promising directions for further research.

Code Availability: The authors have released the first open-source codebase and trained models for protein structure diffusion at github.com/microsoft/foldingdiff.

Summary updated

BibTeX
@inproceedings{wu2024protein,
  author = {Kevin Eric Wu and Kevin K Yang and Rianne van den Berg and James Zou and Alex Xijie Lu and Ava P Amini},
  title = {{Protein structure generation via folding diffusion}},
  booktitle = {Nature Communications},
  year = {2024},
  doi = {10.1038/s41467-024-45051-2},
}
Figure