DINGO: Constrained Inference for Diffusion LLMs
Tarun Suresh, Debangshu Banerjee, Shubham Ugare, Sasa Misailovic, Gagandeep Singh

TL;DR
DINGO introduces a dynamic programming-based constrained decoding method for diffusion LLMs, enabling provably distribution-preserving, user-specified constraints like regular expressions, significantly improving structured output reliability.
Contribution
The paper presents DINGO, a novel decoding algorithm that enforces constraints in diffusion LLMs while maintaining distribution fidelity, addressing a key limitation of existing models.
Findings
Achieves up to 68 percentage point improvement over unconstrained inference.
Effectively enforces user-specified regular expressions in outputs.
Maintains distribution-preserving sampling in diffusion LLMs.
Abstract
Diffusion LLMs have emerged as a promising alternative to conventional autoregressive LLMs, offering significant potential for improved runtime efficiency. However, existing diffusion models lack the ability to provably enforce user-specified formal constraints, such as regular expressions, which makes them unreliable for tasks that require structured outputs, such as fixed-schema JSON generation. Unlike autoregressive models that generate tokens sequentially, diffusion LLMs predict a block of tokens in parallel. This parallelism makes traditional constrained decoding algorithms, which are designed for sequential token prediction, ineffective at preserving the true output distribution. To address this limitation, we propose DINGO, a dynamic programming-based constrained decoding strategy that is both efficient and provably distribution-preserving. DINGO enables sampling of output…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsNatural Language Processing Techniques · Topic Modeling · Digital Humanities and Scholarship
MethodsDiffusion
