Abstract
Generating 3D molecular structures requires models to respect E(3)-equivariance, ensuring predictions transform predictably under rotation and translation. Traditional approaches often bake symmetry into the architecture, which can limit expressivity and increase computational costs. This paper introduces a "frame-based" diffusion paradigm that decouples symmetry handling from the generative backbone. By projecting molecules into invariant coordinate frames, high-capacity Transformers (EdgeDiT) can be employed to achieve state-of-the-art results. The Global Frame Diffusion (GFD) variant significantly outperforms previous models on the QM9 benchmark while offering 2x faster sampling speeds.
Introduction
The generation of 3D molecules is a fundamental challenge in computational chemistry. A key requirement is E(3)-equivariance: if a molecule is rotated or translated in space, the model’s predictions must follow suit. Current methods typically choose between strictly equivariant Graph Neural Networks (GNNs), which are often limited in expressivity, and relaxed methods that use powerful backbones like Transformers but may sacrifice strict equivariance or stability. This work proposes a way to use high-capacity, non-equivariant backbones while maintaining deterministic and strict equivariance.
Methodology: Frame-based Diffusion
The core innovation is the Frame-based Diffusion paradigm. Instead of building equivariance into the neural network layers, the authors make the data invariant through coordinate frame projection before it reaches the network.
Architectural Variants
- Global Frame Diffusion (GFD): Constructs a single, shared coordinate frame for the entire molecule. All atomic positions are projected into this frame, making them rotation-invariant. The backbone processes this "canonical" view and predicts noise, which is then projected back into the original 3D space.
- Local Frame Diffusion (LFD): Assigns a unique coordinate frame to every atom. This requires a specific frame alignment loss to keep local frames consistent and preserve the global structure.
- Invariant Frame Diffusion (IFD): A pre-canonicalization approach where the molecule is rotated into a fixed orientation before the diffusion process starts, maximizing efficiency.
The EdgeDiT Backbone
To process these invariant representations, the researchers developed EdgeDiT, a Diffusion Transformer modified with edge-aware attention. This allows the model to explicitly consider the distances and directions between atoms, which is critical for capturing complex chemical bonding patterns.
Experimental Results
The models were evaluated on the QM9 dataset, a standard benchmark containing approximately 134,000 small organic molecules.
Performance Benchmarks
The GFD + EdgeDiT configuration established new state-of-the-art performance across several metrics:
- Negative Log-Likelihood (NLL): Achieved -137.97, significantly better than the previous state-of-the-art (SymDiff at -129.35 and MUDiff at -135.50).
- Stability: Produced highly realistic molecules with 98.98% atom stability and 90.51% molecular stability.
- Efficiency: The model is roughly 2x faster at sampling new molecules compared to the classic Equivariant Diffusion Model (EDM), thanks to the efficiency of the Transformer backbone.
Key Insights and Discussion
- Symmetry Decoupling: Moving symmetry handling to a frame construction step allows for the use of standard, high-performance architectures. This suggests the bottleneck in molecular generation is data representation rather than a lack of equivariant layers.
- Global Structure Preservation: GFD's superior performance over LFD highlights that molecules are not just collections of local environments; the global Euclidean relationship between distant atoms is vital for chemical validity.
- Scalability: When the model size was doubled, performance improved further (NLL of -141.85), proving the architecture scales effectively with increased parameters.
Limitations and Future Work
While successful on small molecules, it remains to be seen how well global frames scale to large, flexible proteins or complex materials. Additionally, the method currently relies on a specific GNN (MC-EGNN) to build the frames; if this component does not scale well to thousands of atoms, it could become a new computational bottleneck. Future work will extend this paradigm to larger and more chemically diverse datasets.
Summary updated