Equivariant Neural Diffusion for Molecule Generation

François R J Cornet, Grigory Bartosh, Mikkel N. Schmidt, Christian A. Naesseth

Equivariant Neural Diffusion (END) is a novel generative model for 3D molecules that replaces the standard "fixed" noise process of diffusion models with a learnable, data-dependent transformation. By training the model to learn how to both corrupt and reconstruct data while respecting 3D symmetries, END achieves state-of-the-art results in molecular stability and sampling efficiency.

What Problem Does This Paper Address?

Generating novel, stable 3D molecules is a "holy grail" for drug discovery and materials science. However, molecules are complex: they must obey strict chemical rules and exist in a 3D space where their properties shouldn't change just because you rotate or move them—a property known as E(3) equivariance.

Examples of 3D molecules generated by the model.

Current state-of-the-art Diffusion Models (DMs) work by taking a molecule and slowly turning it into random noise (the forward process), then learning a neural network to reverse that noise back into a molecule (the generative process). The catch is that almost all existing models use a pre-specified, fixed forward process, usually by adding simple Gaussian noise.

The authors argue that this "one-size-fits-all" corruption is suboptimal. If the forward process doesn't "know" anything about the data it's destroying, the reverse process has to work much harder to learn the complex distribution of valid molecules.

Methods: Making the Forward Process Learnable

The core innovation of Equivariant Neural Diffusion (END) is making the forward process learnable rather than fixed.

  1. Learnable Forward Process: Instead of a fixed noise schedule, END uses a transformation $F_\phi(\epsilon, t, x)$ that depends on the noise $\epsilon$, time $t$, and the data point $x$. This allows the model to learn the most efficient "path" from a structured molecule to unstructured noise.
  2. Equivariance by Design: For a 3D generative model to be useful, it must be equivariant to Euclidean transformations (rotations, translations, and reflections). The authors mathematically prove that if their learnable transformation $F_\phi$ is equivariant, the resulting generative distribution is invariant to the molecule's orientation.
  3. Parameterization: To keep the math tractable and the computation efficient, they use a block-diagonal matrix structure for the transformation. This ensures that calculating the inverse—which is necessary for training—is fast.
  4. Joint Optimization: The model learns the forward transformation and the reverse "denoiser" simultaneously by matching the drift terms of their respective stochastic differential equations (SDEs).

Datasets

The model was evaluated on two gold-standard benchmarks for 3D molecule generation:

  • QM9: A dataset of ~134,000 small organic molecules (up to 9 heavy atoms). It serves as the standard "sanity check" for the field.
  • GEOM-Drugs: A much more challenging dataset containing ~430,000 medium-to-large drug-like molecules (averaging 44 atoms, up to 181). This tests the model's ability to scale to realistic pharmaceutical candidates.

Key Insights and Results

By learning the forward process, END produces much more physically realistic, connected structures. One of the biggest failures of standard 3D diffusion models is generating "exploded" molecules—atoms that aren't properly connected. END significantly mitigates this issue, especially on the larger GEOM-Drugs dataset.

Quantitative results on QM9 and GEOM-Drugs datasets, highlighting END's superior stability and connectivity, especially at lower step counts.
  • GEOM-Drugs Performance: On the difficult "Validity $\times$ Connectivity" metric, END achieved ~79%, a massive jump over the standard Equivariant Diffusion Model (EDM) which sits around 64%, and it outperformed previous state-of-the-art models that struggled with connectivity.
  • Stability: On QM9, END reached a molecular stability of 89.1%, outperforming the baseline EDM (82.0%) and matching other complex SOTA methods.
  • Sampling Efficiency: The authors found that while each individual step of END is computationally heavier, the model is significantly more sample-efficient. Because the learned path is "smarter," END can generate high-quality molecules in just 100 steps that simpler models struggle to produce even in 1,000 steps. In practical terms, END provides a 3x time cut for sampling on GEOM-Drugs because it requires 10x fewer integration steps to reach the same quality as baselines.
  • Controllability: Because the forward process is data-dependent, it naturally lends itself to conditional generation. When tasked with generating a specific chemical formula or including a specific molecular fragment, END was nearly perfect, significantly outperforming baselines.

Limitations and Future Work

While END represents a significant step forward, it does come with trade-offs:

  • Per-Step Overhead: Each training and sampling step is roughly 2.5x to 3x slower than a standard model because of the extra neural network evaluations required for the forward process.
  • Scalability to Proteins: The model currently operates on fully-connected graphs (every atom "sees" every other atom). While fine for small drugs, this will likely hit a computational wall for massive proteins or polymers.
  • Categorical Features: Like many models, END treats discrete atom types (Carbon, Oxygen, etc.) using a continuous relaxation. Finding a way to handle these discretely within a learnable flow remains an open challenge.

For future work, the authors suggest "straightening" the generative trajectories (similar to Flow Matching) to enable even faster, single-step sampling.

Summary updated

BibTeX
@inproceedings{cornet2024equivariant,
  author = {François R J Cornet and Grigory Bartosh and Mikkel N. Schmidt and Christian A. Naesseth},
  title = {{Equivariant Neural Diffusion for Molecule Generation}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2024},
  url = {https://openreview.net/forum?id=40pE5pFhWl},
}
Figure