Diffusion model improves 3d molecule generation with scientific rules
Learning Generative Dynamics for 3D Molecule Generation via Sequential Neuro-Symbolic Constraints
Machine LearningArtificial Intelligence
Summary
Generating 3D molecules with computers is tricky because many models create shapes that look right but don’t follow chemical rules. The authors developed SensDiff, which adds clear scientific constraints into the generation process to guide the model in creating valid molecules. Their method works step-by-step, first fixing big shape problems, then refining tiny chemical details. Tests show that SensDiff makes molecules that better obey chemistry laws and meet specific goals.
What this means in practice
- •For chemical software developers: Build software tools that generate 3D molecular structures with higher chemical validity and user-driven constraints.
- •For pharmaceutical computational teams: Generate candidate drug molecules that better conform to chemical rules for improved early-stage screening.
Authors
Zhuoran Li, Xu Sun, Chang Wen Chen, Wanyu Lin
Abstract
Diffusion models have recently emerged as a powerful paradigm for generating 3D molecules. Despite showing remarkable promise, they learn atomic distributions implicitly from data, without explicitly encoding physicochemical rules into their generative dynamics. Consequently, generated samples can be statistically plausible yet chemically invalid. To address this problem, we propose Sequential Neuro-Symbolic Constrained Diffusion (SensDiff), a framework that integrates symbolic rules into generative modeling, enabling the model to internalize scientific priors during training. Central to SensDiff is the observation that the diffusion trajectory of 3D molecule generation exhibits a coarse-to-fine evolution: valid molecules arise by first mitigating macroscopic geometric conflicts and then refining structures toward microscopic chemical consistency through iterative denoising. Accordingly, SensDiff mirrors this dynamic by sequentially enforcing constraints with adaptive weighting during training, progressively steering generation toward valid molecular geometries. Moreover, SensDiff translates domain knowledge into interpretable generative controls, grounding opaque neural denoising in scientific principles. Experiments on molecular benchmarks and real-world constrained generation tasks confirm that SensDiff consistently improves chemical validity while adhering to physicochemical rules and user-specified targets. The code is publicly available at https://github.com/WanyuGroup/NeurIPS2026_SensDiff.