arXiv:2611.09142cs.LGNov 2026

Manuscript Offprint

arXiv:2611.09142

Learning Generative Dynamics for 3D Molecule Generation via Sequential Neuro-Symbolic Constraints

Zhuoran Li, Xu Sun, Chang Wen Chen, Wanyu Lin

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

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.

1 Introduction

Molecule generation is a central task across various scientific domains, such as drug discovery, materials engineering, and protein design [78, 72, 66]. Since molecules naturally exist in three-dimensional space and their properties are largely governed by spatial configuration, it is essential to capture accurate molecular geometry in generative modeling [74, 75, 49]. Despite considerable progress, producing 3D structures that are both geometrically realistic and chemically valid remains a critical challenge due to the high-dimensional, constraint-rich nature of molecular space [69, 64].

Deep generative models, particularly diffusion models, have been adapted to tackle the challenge of 3D molecule generation [30, 50]. Specifically, they gradually denoise atomic coordinates and types, enabling stable modeling of molecular distributions and delivering encouraging empirical results [20, 47, 52]. However, learning diffusion models solely from observed data tends to implicitly approximate physicochemical rules rather than internalize them within the generative process, inevitably yielding molecules that conform to the learned distribution but violate fundamental scientific principles.

*Corresponding author.

40th Conference on Neural Information Processing Systems (NeurIPS 2026).

Motivated by these limitations, recent studies have attempted to equip diffusion models with scientific priors for 3D molecule generation. Among them, equivariant architectures [30, 42, 12, 69] enforce spatial symmetry by construction but acquire chemical feasibility only implicitly from data. Joint discrete-continuous methods [64, 55, 33, 31] co-denoise atomic features and coordinates in a unified process, yet their learned coupling offers no formal physicochemical assurance. Inference-time guidance [24, 5, 50, 38] injects external corrective signals during sampling without incorporating them into the training objective, and thus is not absorbed into the model parameters. Latent-space approaches [69, 49, 71] lower generative complexity via dimensionality reduction, but at the cost of structural fidelity. While these efforts have advanced the field, none systematically embeds scientific priors into the training-time generative dynamics of diffusion models. Consequently, constraint compliance remains an empirical outcome rather than a built-in guarantee.

To this end, we propose SensDiff, a diffusion-based 3D molecule generator that improves the physicochemical plausibility of generated molecules. SensDiff encodes domain knowledge as explicit symbolic constraints, enabling the model to directly learn specified scientific principles rather than inferring them through data fitting. Concretely, we cast symbolic rules governing 3D molecule generation as differentiable energy functions and incorporate them into the training objective. These energy constraints are activated sequentially in a coarse-to-fine curriculum: steric non-overlap first, then bond consistency, and finally valence validity. Such ordering mirrors the iterative structural refinement inherent in diffusion-based 3D molecule generation. In addition, we design a stage-wise weighting strategy to gradually enforce constraints and stabilize training. Specifically, it first linearly ramps up the weight of each newly activated constraint and then scales it in proportion to the degree of constraint satisfaction. We further extend this framework to the sampling stage, enforcing symbolic constraints during the reverse process of a pretrained diffusion model to steer generation toward chemically valid and geometrically realistic molecules without retraining.

To verify the effectiveness of SensDiff, we perform a comprehensive suite of evaluations, including (1) standard 3D molecule generation benchmarks; (2) constrained multi-objective molecule generation (e.g., optimizing quantum-chemical and drug-likeness properties, with up to seven properties satisfied simultaneously); (3) out-of-distribution generalization of the learned scientific rules; (4) extension of the framework to sampling and fine-tuning; (5) transfer of the training strategy to various diffusion backbones; and (6) analysis of failure cases from a physicochemical perspective to guide model improvements. Crucially, we conduct extensive ablations on constraint enforcement mechanisms, weighting strategies, and training- and sampling-time schedules (e.g., constraint activation curricula and epoch schedules), empirically validating each design choice. Our main contributions include:

  • We introduce SensDiff, a neuro-symbolic constrained diffusion model for 3D molecule generation that produces molecules with enhanced geometric and physicochemical validity.
  • We design a training strategy that mirrors the coarse-to-fine nature of diffusion molecular generation, enabling the model to internalize domain knowledge in its generative dynamics.
  • We evaluate SensDiff through broad experiments, showing improved generation quality and constraint compliance, while ablations and failure case analysis validate each design choice.

References (71)