Papers › MolDiff: Addressing the Atom-Bond Inconsistency Problem in 3D Molecule Diffusion Generation

MolDiff: Addressing the Atom-Bond Inconsistency Problem in 3D Molecule Diffusion Generation

11 May 2023arXiv:2305.07508archive 2025-07-28

Xingang Peng, Jiaqi Guan, Qiang Liu, Jianzhu Ma

Deep generative models have recently achieved superior performance in 3D molecule generation. Most of them first generate atoms and then add chemical bonds based on the generated atoms in a post-processing manner. However, there might be no corresponding bond solution for the temporally generated atoms as their locations are generated without considering potential bonds. We define this problem as the atom-bond inconsistency problem and claim it is the main reason for current approaches to generating unrealistic 3D molecules. To overcome this problem, we propose a new diffusion model called MolDiff which can generate atoms and bonds simultaneously while still maintaining their consistency by explicitly modeling the dependence between their relationships. We evaluated the generation ability of our proposed model and the quality of the generated molecules using criteria related to both geometry and chemical properties. The empirical studies showed that our model outperforms previous approaches, achieving a three-fold improvement in success rate and generating molecules with significantly better quality.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2305.07508")

Code

Syntology Ran 5 of 15 code samples harvested from 1 repository linked to this paper; 10 have no recorded run. Of those that ran: 2 ran · our draft was wrong; 3 ran with no contract checked.

By repository: official repository: 15 samples from 1 repository, 5 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

pengxingang/moldiff officialmentioned in papermentioned on GitHubpytorchMIT report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

15 samples harvested; 5 ran; 0 honoured the contract we drafted; 10 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

2ran · our draft was wrong
3ran
10unverified

Licence: 0 of the 15 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from pengxingang/moldiff. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

concat_tensors_to_batch pengxingang/moldiff/models/common.py official repository ran · our draft was wrong MIT (permissive) · b45191024f7c9733 · report
index_to_log_onehot pengxingang/moldiff/models/diffusion.py official repository ran MIT (permissive) · 18603a28414ef5ca · report
load_config pengxingang/moldiff/utils/misc.py official repository ran MIT (permissive) · 3273bb34dd3b46b9 · report
split_tensor_by_batch pengxingang/moldiff/models/common.py official repository ran · our draft was wrong MIT (permissive) · c8e6ed243dd0c66b · report
split_tensor_to_segments pengxingang/moldiff/models/common.py official repository ran MIT (permissive) · 7c93fe70a4d7126a · report
geom_predictor pengxingang/moldiff/utils/edm_bond.py official repository unverified MIT (permissive) · ab8617fd28b92b3c · report
get_bond_order pengxingang/moldiff/utils/edm_bond.py official repository unverified MIT (permissive) · 8472ecb13cf2144c · report
get_drug_chem pengxingang/moldiff/utils/evaluation.py official repository unverified MIT (permissive) · 96ba074cd96541f4 · report
get_global_3d pengxingang/moldiff/utils/evaluation.py official repository unverified MIT (permissive) · 3b01835f6b41568e · report
get_logger pengxingang/moldiff/utils/misc.py official repository unverified MIT (permissive) · faa72a1daab22e92 · report
load_train_config_from_ckpt pengxingang/moldiff/utils/misc.py official repository unverified MIT (permissive) · c715e104f5767155 · report
log_1_min_a pengxingang/moldiff/models/diffusion.py official repository unverified MIT (permissive) · 30f3953afd523b99 · report
single_bond_only pengxingang/moldiff/utils/edm_bond.py official repository unverified MIT (permissive) · 6f1c22e4e8037949 · report
to_torch_const pengxingang/moldiff/models/diffusion.py official repository unverified MIT (permissive) · 0a49094d58d6a447 · report
torchify_dict pengxingang/moldiff/utils/data.py official repository unverified MIT (permissive) · 5f7183207256b0a3 · report

Tasks

3D Molecule Generation

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

Diffusion

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections