All models

MolDiff

Diffusion model that generates the atoms and bonds of a 3D molecule together, with a bond predictor for guidance.

Molecules, proteins and genomics · 1,665 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

Loading diagram (23 KB)

Open in a new tab

Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.

At a glance

Parameters
12M
Operations
1,665
Framework
PyTorch
Recurrent
No
Published
ICML 2023 (PMLR 202)
Cited by
11 (as of 30 October 2026)
Authors
Xingang Peng, Jiaqi Guan, Qiang Liu, Jianzhu Ma
License
MIT
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m18506
Graph hash
a0bd49148f2418d908c056059ca08ada8c49de13a01aec1474dc78586a96b982
Skeleton hash
93a7785e4c7cf344a85b58fdd8865c24aed34325afbb3af971a57d3a8759945f
Architecture hash
0af4e5e1915a5ccbacea57e5e6469c507280ecbe1ddb190507b0264f7fd2f409
Diagram SHA-256
1cb399f80a055c4dc720eaf152c95e773630c586a1667fcbdf3c6e0ccb756f14
TorchLens version
2.36.0
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
Check
Forward pass replayed in PyTorch

What it is

MolDiff is a diffusion model for 3D molecules that generates atoms and the bonds between them at the same time. The paper sets it against earlier generative models, most of which first generate atoms and then add chemical bonds in a post-processing step. Because atom locations are then generated without considering potential bonds, there may be no bond solution that fits them. The authors name this the atom-bond inconsistency problem and claim it is the main reason those approaches generate unrealistic 3D molecules.

The released code pairs the diffusion model with a separate bond predictor that is used for bond guidance during sampling. A simplified version is also provided that does not use the bond guidance and was trained without the new bond noise schedule proposed in the paper.

The paper evaluates generated molecules on criteria related to both geometry and chemical properties, and reports a three-fold improvement in success rate over previous approaches. The authors suggest the model can serve as a backbone for other 3D molecule diffusion applications such as pocket-based generation and linker generation.

Key idea. MolDiff generates atoms and bonds simultaneously in one diffusion model, keeping them consistent by explicitly modeling the dependence between them.

  • MolDiff
  • 3D molecule generation
  • molecule diffusion
  • atom-bond inconsistency
  • bond guidance
  • bond predictor
  • drug-like molecules
  • bond noise schedule

AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.

Cite the paper

@misc{peng2023moldiffaddressingatombondinconsistency,
      title={MolDiff: Addressing the Atom-Bond Inconsistency Problem in 3D Molecule Diffusion Generation}, 
      author={Xingang Peng and Jiaqi Guan and Qiang Liu and Jianzhu Ma},
      year={2023},
      eprint={2305.07508},
      archivePrefix={arXiv},
      primaryClass={q-bio.BM},
      url={https://arxiv.org/abs/2305.07508}, 
}