TL;DR
Interleaved Gibbs Diffusion (IGD) is a generative modeling framework designed for constrained, mixed continuous-discrete data (such as 3D molecules and document layouts). Instead of assuming that tokens denoise independently in parallel, IGD alternates discrete and continuous denoising one coordinate at a time via a learned Gibbs sampler, achieving state-of-the-art results on 3-SAT, layout synthesis, and molecular generation without needing domain-specific equivariant architectures.
What Problem Does This Paper Address?
Generative modeling often struggles with constrained generation—tasks where outputs must strictly obey combinatorial or structural rules (e.g., satisfying a Boolean formula, arranging document components without overlapping, or respecting chemical valency).
Standard continuous-discrete diffusion frameworks (such as D3PM extensions and DLT) make a strong simplifying assumption: during the reverse (denoising) step, all variables are sampled simultaneously from a factorized product distribution. While this enables fast, parallel generation, it severely hinders the model’s ability to respect tight dependencies among variables. Autoregressive models, on the other hand, generate tokens strictly left-to-right, making global constraint satisfaction and planning difficult.
Methods
IGD resolves this bottleneck by replacing factorized sampling with a systematic-scan, time-dependent Gibbs sampler:
- Interleaved Forward & Reverse Process: Forward noising perturbs tokens in a round-robin schedule across sequence positions. The reverse process denoises one element at a time, explicitly conditioning each update on the most up-to-date states of all other elements.
- Novel Theoretical Extension of Tweedie’s Formula: In continuous diffusion, noising typically occurs without pause. In IGD, continuous vectors are updated intermittently between discrete token updates. The authors adapt Tweedie’s formula to prove that tracking cumulative noise over multiple round-robin cycles enables exact reversal of the continuous variables despite the evolving conditioning context.
- Binary Classification for Discrete Tokens: Rather than standard $|X|$-ary cross-entropy over the vocabulary, the discrete denoiser is trained via binary classification (predicting whether an element was noised to a token vs. unperturbed), which provides sharper conditional probabilities.
- Dis-Co DiT Architecture: The authors introduce Discrete-Continuous Diffusion Transformers (Dis-Co DiT), modifying Diffusion Transformers with dual time embeddings (sequence time $t$ and element time $k$) and adaptive layer normalization (
adaLN-Zero). - Conditional Generation & ReDeNoise: Conditional constraints are integrated via state-space doubling (binary masking). At test time, an inference refinement technique called ReDeNoise (inspired by SDEdit) repeatedly injects a small amount of noise and denoises the output over $N_R$ rounds to improve sample fidelity.
Datasets
The authors evaluate IGD across three distinct constrained domains:
- RICO: Mobile application UI layouts containing up to 20 elements across 25 discrete categories, paired with continuous 4D bounding boxes.
- PubLayNet: Scientific document layouts containing up to 20 elements across 5 categories and continuous bounding boxes.
- QM9: 3D molecular structures containing up to 29 atoms with discrete atomic numbers and continuous 3D spatial coordinates.
- Random 3-SAT:
- Single $n$ setup: Benchmark datasets from prior work with variable counts $n \in \{5, 7, 9\}$ at the critical clause density threshold ($m \approx 4.258n + 58.26n^{-2/3}$).
- Combined $n$ setup: A newly constructed large-scale dataset of 15 million satisfiable random 3-SAT instances spanning $n = 6$ to $20$ (1M instances per $n$), verified with a standard SAT solver.
Key Insights and Ideas
- Conditioning Beats Factorization: Relinquishing parallel factorization in favor of coordinate-wise Gibbs updates dramatically improves constraint adherence.
- Domain Dictates Coordinate Grouping:
- For molecules (QM9), bunching all atom coordinates together into a single continuous vector ($3n$ dimensions) improved molecular stability from 28.9% to 83.8%, because it preserves global spatial symmetries.
- For UI layouts, separating bounding box coordinates per element was substantially better (unconditioned FID of 8.76 vs. 14.21), since individual boxes need local category-to-geometry alignment.
- Binary Classification Edge: Training the discrete denoiser with binary cross-entropy lowered the unconditional RICO FID from 3.51 to 2.62 compared to multi-class cross-entropy.
- Competitive Without SE(3) Equivariance: In 3D molecule generation, IGD outperformed specialized equivariant models (like EDM and GeoLDM) by simply injecting pairwise inter-atomic distances into standard transformer blocks.
Key Results
- 3-SAT Solving: On $n=9$, the 6M-parameter IGD model achieved 94.5% accuracy, surpassing both discrete diffusion baseline MDM (87.0%) and GPT-2 (73.3%). Scaling IGD to 85M parameters reached 99.9% accuracy on $n=7$ and $n=9$. On instances up to $n=20$, larger models (85M, 185M) postponed the exponential accuracy cliff seen in smaller models.
- Molecule Generation (QM9): IGD attained 90.5% molecular stability (surpassing MUDiff at 89.9% and GeoLDM at 89.4%), 98.9% atom stability, and 95.4% validity. Applying ReDeNoise during inference provided an absolute boost of +4.99% in molecular stability.
- Layout Generation: On RICO, IGD achieved state-of-the-art FID in category-conditioned (1.06 vs. DLT's 6.64) and category+size-conditioned (0.96 vs. DLT's 6.27) generation. On PubLayNet, IGD achieved the best unconditional FID (8.32) and category+size FID (0.886).
Limitations and Future Work
- Inference Compute Cost: Because Gibbs denoising updates elements sequentially, IGD requires significantly more sequential DiT passes when continuous elements are treated separately (e.g., 16,080 effective steps for layout generation vs. 100 for DLT).
- Fixed Interleaving Schedules: The current setup relies on predetermined round-robin schedules. Future work could incorporate adaptive variable selection or continuous samplers such as Flow Matching and Rectified Flow.
- Domain-Specific Constraints: The authors did not include custom geometric or physical loss functions; integrating task-specific constraints could further improve spatial overlap and alignment metrics.
Summary updated