Let It Go or Learn to Self-Correct: Continuous Diffusion for Constrained Discrete Tasks
Abstract
Denoising Diffusion Probabilistic Models (DDPMs) generate samples by starting from noise and repeatedly denoising while keeping each update close to the current noisy state. This behavior is effective in many continuous domains, but its role is less clear for globally constrained discrete tasks, such as Sudoku, graph connectivity, Latin squares, and N-queens. In such settings, early discrete errors can be difficult to undo. As a result, standard diffusion sampling may preserve early mistakes, even when the model's clean predictions are informative. We compare standard samplers to sampling directly from the model's clean prediction. Without retraining, this single change improves Sudoku validity from 31% to 95%, with consistent gains across the other discrete tasks. We hypothesize that staying close to the current noisy state is harmful because the reverse trajectory can drift off the forward noising distribution the model was trained on. To reduce this train-test mismatch, we further introduce self-correction training, which exposes the model to its own predictions, improving robustness to errors that arise during inference. This substantially improves the performance of standard samplers. Our results suggest that continuous diffusion models can learn nontrivial global constraints, but discrete reasoning tasks require better alignment between training and inference: either through samplers that reduce commitment to early decisions, or through training that teaches the model to correct its own inference-time errors.
Create a lesson
Metadata
- Categories
- cs.LG, cs.AI
- Comments
- Preprint. The main results of this work were obtained by May 2026
Related papers
Benchmarking Graph Self-Supervised Learning for Node-Level Tasks: Insights and a Strong Baseline
Shared title terminologycs.LGDmitry Eremeev, Gleb Bazhenov, Oleg Platonov et al.
Looking Back to Forget: Self-Anchored Unlearning Along the Generation Trajectory of Diffusion Language Models
Shared title terminologycs.LGRuihao Pan, Suhang Wang
On the Statistical Convergence of Discrete Diffusion Models
Shared title terminologycs.LGYunchen Li, Rui Qiu, Zhou Yu
Environments as Scaffold: Enriching Feedback to Bootstrap Self-Evolving Agents in Long-Horizon Tasks
Shared title terminologycs.LGHongbang Yuan, Zhuoran Jin, Yixin Cao
Iterative Physics-Informed Corrections for PDE Solving
Shared title terminologycs.LGJin Wu, Xinquan Huang, Paris Perdikaris
Mixing Expertise with Confidence: A Mixture of Experts Framework for Robust Multi-Modal Continual Learning
Shared title terminologycs.LGMd Abdullah Al Forhad, Yuansheng Zhu, Abhinab Acharya et al.