MDM: Molecular Diffusion Model for 3D Molecule Generation

Lei Huang, Hengtong Zhang, Tingyang Xu, Ka-Chun Wong

Abstract

Generating high-quality 3D molecular structures is a critical challenge in drug discovery. Existing diffusion-based models often struggle with local chemical constraints and limited structural diversity, leading to unrealistic or repetitive outputs. We present the Molecular Diffusion Model (MDM), a novel framework that incorporates dual equivariant encoders to explicitly model short-range covalent bonds and long-range van der Waals forces. Additionally, MDM introduces a variational noising module to enhance structural exploration during the generation process. Our evaluations on the QM9 and GEOM-Drugs datasets demonstrate that MDM significantly outperforms previous state-of-the-art models, particularly in generating large, complex drug-like molecules with high validity and stability.

Introduction

The de novo generation of 3D molecules requires predicting precise atomic coordinates, a task significantly more complex than 2D graph generation. Current diffusion models face two primary hurdles. First, they often ignore local chemical constraints, treating molecules as simple point clouds without distinguishing between strong covalent bonds and weak long-range interactions. This frequently results in "broken" or chemically unrealistic structures. Second, standard diffusion processes can suffer from a lack of diversity, as the generation often collapses into a few common trajectories. MDM addresses these gaps by refining the score-based diffusion pipeline with distance-aware modeling and controlled stochasticity.

Methodology

MDM's architecture is built around two key innovations:

1. Dual Equivariant Score Networks

To capture the multi-scale nature of molecular forces, MDM employs two distinct encoders. The Local Equivariant Encoder focuses on atom pairs within a 2Å radius, modeling the intense forces of covalent bonding. Conversely, the Global Equivariant Encoder considers all atom pairs to capture long-range interactions like van der Waals forces. Both utilize a SchNet-based architecture to maintain equivariance under rotation and translation.

2. Variational Noising

To promote structural variety, MDM integrates a Variational Autoencoder (VAE) module. A latent variable ($z_v$) acts as a distributional controller, guiding the Langevin dynamics to explore a broader range of the chemical possibility space during the reverse diffusion steps.

The MDM framework overview, illustrating the training process with VAE noise and the dual equivariant score networks used for molecular generation.

Experiments and Results

The model was benchmarked on QM9 (small molecules, ~18 atoms) and GEOM-Drugs (large drug-like molecules, ~46 atoms). GEOM-Drugs serves as a rigorous test for a model's ability to handle complex, real-world chemical structures.

MDM established a new state-of-the-art across nearly all metrics. On the challenging GEOM-Drugs dataset, MDM achieved a validity of 99.5%, a substantial improvement over the 68.6% reached by the previous leading model, EDM. Furthermore, MDM's stability—the percentage of generated molecules that are not fragments or ions—reached 62.2%, compared to EDM's 13.7%. The variational noising strategy also led to a 4.1% to 31.4% improvement in uniqueness and novelty metrics.

Performance comparison of MDM against baseline models on QM9 and GEOM-Drugs datasets, highlighting significant gains in validity (% V) and stability (% S).

Conclusion

MDM demonstrates that incorporating distance-aware chemical priors and variational latent variables is essential for scaling 3D molecular generation to drug-like complexity. While the current model uses a fixed 2Å threshold and focuses on single bonds for comparison, future work will explore learnable thresholds and more complex multi-bond systems to further enhance the realism of generated candidates.

Summary updated

BibTeX
@inproceedings{huang2023mdm,
  author = {Lei Huang and Hengtong Zhang and Tingyang Xu and Ka-Chun Wong},
  title = {{MDM: Molecular Diffusion Model for 3D Molecule Generation}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2023},
  doi = {10.1609/aaai.v37i4.25639},
}
Figure