SE(3) diffusion model with application to protein backbone generation

Jason Yim, Brian L. Trippe, Valentin De Bortoli, Emile Mathieu, Arnaud Doucet, Regina Barzilay, Tommi S. Jaakkola

Abstract

FrameDiff is a mathematically principled diffusion model designed to generate novel protein backbones by operating directly on the space of rigid body motions, $SE(3)$. Unlike previous approaches that rely on heuristic losses or massive pre-trained structure prediction networks, FrameDiff provides a rigorous framework for $SE(3)$-invariant diffusion. By treating each residue as a frame and defining diffusion processes on Riemannian manifolds, the model enables the generation of complex, designable proteins up to 500 residues with significant computational speedups.

Introduction

Proteins are the fundamental functional units of biology, with their utility determined by their complex three-dimensional shapes. De novo protein design—the creation of novel protein structures from scratch—is a critical frontier in drug discovery and materials science. The primary challenge in this field is the geometric complexity of the protein backbone. A backbone can be modeled as a chain of residues, where each residue acts as a rigid body (a "frame") in 3D space. To generate these structures effectively, generative models must respect the fundamental symmetries of physics, specifically global $SE(3)$ invariance: the model's output should remain invariant under global rotations and translations.

While recent breakthroughs like RFdiffusion have demonstrated success, they often depend on heuristic denoising losses or require weights from large pre-trained models like AlphaFold2. FrameDiff seeks to bridge the gap between theory and practice by establishing a principled mathematical foundation for diffusion on the manifold of $N$ rigid bodies ($SE(3)^N$).

Methodology

FrameDiff treats protein generation as a score-based generative modeling problem on a Riemannian manifold. The framework is built upon several key theoretical and architectural pillars:

  1. Diffusion on $SE(3)$: Instead of standard Euclidean diffusion, FrameDiff defines a forward diffusion process that separately but consistently adds noise to rotations (on the $SO(3)$ manifold) and translations (in $\mathbb{R}^3$).
  2. Ensuring Invariance: A major theoretical contribution is the formal proof of how to maintain $SE(3)$ invariance. Since no invariant probability measure exists for translations in infinite space, the authors demonstrate that invariance is achieved by keeping the diffusion process centered at the origin (fixing the center of mass).
  3. FramePred Architecture: The core neural network, FramePred, is inspired by the structure module of AlphaFold2. It utilizes Invariant Point Attention (IPA) to manage spatial relationships and a Transformer architecture to capture interactions along the protein chain.
Backbone parameterization using frames and the iterative inference process from noise to a structured protein.
  1. Training and Losses: The model employs a Denoising Score Matching (DSM) loss tailored for Lie groups. By utilizing the heat kernel on $SO(3)$, the authors recover the exact score required for the backward diffusion process, moving away from less rigorous heuristic losses. To ensure physical realism, auxiliary structural losses are added during the final denoising stages to prevent atomic overlaps or chain breaks.
The FrameDiff architecture overview, illustrating the iterative Node, Edge, and Backbone update cycles.

Experimental Setup

The model was trained on a filtered subset of the Protein Data Bank (PDB), consisting of 20,312 protein backbones. Filtering criteria included monomers between 60 and 512 residues, resolution better than 5Å, and secondary structure composition with less than 50% loops. Samples were evaluated against known structures using FoldSeek to assess novelty and ProteinMPNN/ESMFold to assess "designability"—the likelihood that a sequence can be found that folds into the generated shape.

Results

FrameDiff demonstrates strong performance across several key metrics:

  • Designability: The model generates "designable" monomers (scTM > 0.5) with high success rates. At a noise scale of 0.1, approximately 75% of samples across various lengths were found to be designable.
  • Computational Efficiency: FrameDiff is significantly faster than RFdiffusion. For a 100-residue protein, it generates a backbone in 4.4 seconds on an A100 GPU, representing a roughly 34-fold speedup over reported RFdiffusion times.
  • Novelty and Generalization: The model successfully generates structures that are structurally distinct from any known proteins in the PDB (pdbTM < 0.6), proving it generalizes beyond its training data rather than simply memorizing it.
  • Compactness: FrameDiff achieves these results with only 17.4 million parameters, which is approximately one-fourth the size of the weights used in RFdiffusion.

Discussion and Future Work

FrameDiff establishes that high-quality protein structures can be generated from scratch without the need for pre-trained weights. By providing a formal proof for the necessity of centering the center of mass, the paper clarifies a critical requirement for $SE(3)$ invariance in diffusion models.

Current limitations include $O(N^2)$ scaling relative to protein length, which may impact applications to very large multi-protein complexes. Additionally, while highly efficient, FrameDiff's designability scores are slightly lower than state-of-the-art models like RFdiffusion, likely due to the latter's larger parameter count. Future research will focus on extending this framework to conditional generation tasks, such as scaffolding specific functional sites or designing proteins that bind to particular targets.

Summary updated

BibTeX
@inproceedings{yim2023se,
  author = {Jason Yim and Brian L. Trippe and Valentin De Bortoli and Emile Mathieu and Arnaud Doucet and Regina Barzilay and Tommi S. Jaakkola},
  title = {{SE(3) diffusion model with application to protein backbone generation}},
  booktitle = {International Conference on Machine Learning},
  year = {2023},
  url = {https://openreview.net/forum?id=m8OUBymxwv},
}
Figure