TL;DR
Generating discrete structures like molecules and graphs with diffusion models usually means snapping abruptly between discrete states—a jittery process where a single flipped edge can shatter a graph. This paper introduces Unrestrained Simplex Denoising (UNSID), a generative framework that smoothly corrupts and reconstructs categorical data on the continuous probability simplex while dropping the strict step-to-step trajectory constraints of traditional diffusion. The result is a simpler, faster generative model that actively shrinks accumulated errors during sampling and sets new benchmarks in graph and molecule generation.
What Problem Does This Paper Address?
Diffusion and flow-matching models were born in continuous spaces (like pixel values), making them awkward to apply to discrete data like graphs, where nodes and edges belong to distinct categories.
Existing workarounds all have sharp edges:
- Discrete diffusion operates directly on categories, causing abrupt state jumps during generation (e.g., deleting one bond and suddenly disconnecting a molecule). It also starves Graph Neural Networks (GNNs) of expressive power, forcing researchers to bolt on expensive, handcrafted structural features.
- Continuous relaxation embeds $K$ categories into unconstrained $\mathbb{R}^K$ space, adding a redundant dimension of pure noise and requiring messy nonlinear projections.
- Standard simplex interpolation represents categories cleanly as corners (vertices) of a probability simplex (where coordinates are positive and sum to 1). However, linearly interpolating between corners and noise creates harsh geometric boundaries and zero-probability "dead zones" that differentiable neural networks struggle to learn.
Furthermore, standard diffusion and flow matching are Markovian—each reverse step is tightly chained to the previous noisy state to enforce a smooth trajectory. If the neural network makes a bad prediction in a tricky region of space, the sampler stays stuck nearby, causing errors to compound over time.
Methods
UNSID rethinks both where the noise lives and how the reverse process steps through time:
- Explicit Dirichlet Paths (New Application): Instead of linear interpolation, UNSID corrupts clean one-hot vertices using a continuous Dirichlet distribution path, $\text{Dir}(\mathbf{x}_t; \mathbf{1} + \alpha_t \mathbf{x}_1)$. As shown in the lower row of Figure 1, this maintains smooth, full support across the entire simplex at all times $t \in [0, 1)$, completely avoiding support discontinuities.
- Voronoi Probabilities (Novel Tool): To calibrate the noise schedule $\alpha_t$, the authors derive a closed-form expression for the Voronoi probability—the exact likelihood that a noised point is still geometrically closest to its original clean corner.
- Non-Markovian "Unrestrained" Denoising (Core Novelty): Standard denoiser training (predicting the clean graph via a permutation-equivariant GNN) stays the same, but UNSID assumes noisy states at different times are conditionally independent given the clean data. At inference, UNSID doesn't inch along a continuous vector field from $\mathbf{x}_t$. Instead, at each step it: (1) predicts and samples a clean graph $\mathbf{x}_1$ from the learned posterior, and (2) freshly re-noises it to the next level $t+h$.
Datasets
No new datasets are introduced; UNSID is evaluated on five established benchmarks:
- Molecular Graphs: QM9H (133,885 molecules up to 29 atoms, using the harder variant with explicit hydrogens because hydrogen-free QM9 is nearly saturated) and ZINC250K (249,455 drug-like molecules up to 38 heavy atoms).
- Unattributed Graphs: Synthetic Planar graphs (64 nodes), synthetic Stochastic Block Model (SBM) graphs (up to 187 nodes), and real-world protein Enzymes graphs (up to 125 nodes).
Key Insights and Ideas
- Resampling contracts errors; flow matching just carries them: The authors prove mathematically (Proposition 4.5) that an exact flow-matching ODE transports prior sampling errors unchanged in total variation distance. Because UNSID resamples from scratch based on its clean prediction at every step, it actively contracts accumulated distributional error—allowing trajectories to leap out of poorly approximated regions.
- Continuous simplex noise makes GNNs smarter for free: On the simplex, continuous noisy vectors act as unique node/edge identifiers, and noisy edge weights naturally encode proximity. This overcomes well-known GNN expressivity limits without needing handcrafted structural features.
- Same neural network, wildly better sampler: In controlled ablations using the exact same trained simplex denoiser, swapping out Dirichlet Flow Matching (DiriFM) for the UNSID sampler transforms performance—for instance, taking Planar graph validity from 0.0% to 100.0%.
Key Results
- ZINC250K: UNSID achieves 99.98% chemical validity without post-hoc correction (surpassing DiGress at 94.99% and SID at 99.50%), while cutting Fréchet ChemNet Distance (FCD) to 1.79 and subgraph distance (NSPDK) to 1.00. Even with just 64 function evaluations, it achieves state-of-the-art validity.
- Unattributed Graphs: Achieves 100.0% validity on Planar graphs (vs. 45.5% for DiGress and 91.3% for SID), 78.5% validity with 100% novelty on SBM, and the best overall MMD ratio (2.3) and orbit MMD (0.003) on Enzymes.
- Efficiency & Guidance: Because UNSID skips constructing vector fields and evaluating expensive derivatives at inference, it is the fastest sampler among all compared baselines while using fewer parameters. With classifier guidance on QM9H, it steers drug-likeness (QED) generation effectively, dropping Mean Absolute Error from 1.06 (unconditional) to 0.42.
Limitations and Future Work
- Graph-only validation: While the math applies to any categorical data, UNSID was only empirically tested on graphs. How well it scales to sequential discrete modalities like text, DNA, or proteins remains an open question.
- Future directions: Extending UNSID to sequence modeling, experimenting with alternative parametric probability paths beyond Dirichlet distributions, and building unified models that jointly generate hybrid discrete–continuous variables (such as 3D atom coordinates alongside categorical bond types).
Summary updated