Neural Proposals, Symbolic Guarantees: Neuro-Symbolic Graph Generation with Hard Constraints
About
We challenge black-box purely deep neural approaches for molecules and graph generation, which are limited in controllability and lack formal guarantees. We introduce Neuro-Symbolic Graph Generative Modeling (NSGGM), a neurosymbolic framework that reapproaches molecule generation as a scaffold and interaction learning task with symbolic assembly. An autoregressive neural model proposes scaffolds and refines interaction signals, and a CPU-efficient SMT solver constructs full graphs while enforcing chemical validity, structural rules, and user-specific constraints, yielding molecules that are correct by construction and interpretable control that pure neural methods cannot provide. NSGGM delivers strong performance on both unconstrained generation and constrained generation tasks, demonstrating that neuro-symbolic modeling can match state-of-the-art generative performance while offering explicit controllability and guarantees. To evaluate more nuanced controllability, we also introduce a Logical-Constraint Molecular Benchmark, designed to test strict hard-rule satisfaction in workflows that require explicit, interpretable specifications together with verifiable compliance.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Unconditional Molecule Generation | GuacaMol | -- | 14 | |
| Unconditional Molecule Generation | QM9 implicit hydrogens (80/10/10) | Validity1 | 8 | |
| Unconditional graph generation | Stochastic block model (SBM) | Degree1.3 | 7 | |
| Unconditional Molecule Generation | MOSES SF (test) | Validity100 | 6 | |
| Unconditional graph generation | Planar graphs | Degree1.3 | 6 | |
| Scaffold-constrained molecule generation | Σ1 (Quinoline) PubChem CID 7047 | Validity100 | 3 | |
| Scaffold-constrained molecule generation | Σ2 Phenazine PubChem CID 4757 | Validity100 | 3 | |
| Scaffold-constrained molecule generation | Σ3 Large drug-like core scaffold PubChem CID 154108 | Validity100 | 3 |