mlsanityData to 7 Oct 2026

Primal-Dual Guided Decoding for Constrained Discrete Diffusion

arXiv 2605.09749 ↗First posted 10 May 2026cs.AIcited by 3

On the map: Diffusion models → Discrete and text diffusion

Abstract (arXiv)

Discrete diffusion models generate structured sequences by progressively unmasking tokens, but enforcing global property constraints during generation remains an open challenge. We propose primal-dual guided decoding, an inference-time method that formulates constrained generation as a KL-regularised optimisation problem and solves it online via adaptive Lagrangian multipliers. At each denoising step, the method modifies token logits through an additive, constraint-dependent bias, with multipliers updated by mirror descent based on constraint violation. The bias arises as the optimal KL-regularised projection of the constraint, so the constrained distribution remains as close as possible to the model's unconstrained distribution while still satisfying the constraint. The method requires no retraining and no additional model evaluations beyond standard sampling, supports multiple simultaneous constraints, and provides formal bounds on constraint violation. We evaluate our approach on topical text generation, molecular design, and music playlist generation, showing that a single algorithm instantiated via domain-specific scoring functions improves constraint satisfaction while preserving relevant domain-specific quality metrics.

Key facts. Cited by 3 papers in the map (data through 7 Oct 2026). Placed in Discrete and text diffusion, one of 14 directions in Diffusion models. Builds on 18 of its 23 references that are in the map. First posted on arXiv 10 May 2026.

Builds on

18 of 23 references.

Closest ancestors · 4

Same direction, newest first

  1. 2025Constrained Discrete Diffusion12 Mar
  2. 2025Large Language Diffusion Models14 Feb
  3. 2024Simple and Effective Masked Diffusion Language Models11 Jun
  4. 2023Discrete Diffusion Modeling by Estimating the Ratios of the Data Distribution25 Oct

Other references · 14

  1. 2023GPT-4 Technical Reportcited by 18,132
  2. 2021Diffusion Models Beat GANs on Image Synthesiscited by 8,185
  3. 2022Classifier-Free Diffusion Guidancecited by 5,717
  4. 2021Structured Denoising Diffusion Models in Discrete State-Spacescited by 1,665
  5. 2023TinyStories: How Small Can Language Models Be and Still Speak Coherent English?cited by 425
  6. 2017Lexically Constrained Decoding for Sequence Generation Using Grid Beam Searchcited by 234
  7. 2023Recommender Systems with Generative Retrievalcited by 191
  8. 2018Fast Lexically Constrained Decoding with Dynamic Beam Allocation for Neural Machine Translationcited by 181
  9. 2021NeuroLogic A*esque Decoding: Constrained Text Generation with Lookahead Heuristicscited by 153
  10. 2024Simple Guidance Mechanisms for Discrete Diffusion Modelscited by 148
  11. 2024Unlocking Guidance for Discrete State-Space Diffusion and Flow Modelscited by 124
  12. 2024Diffusion Language Models Are Versatile Protein Learnerscited by 93
2 more
  1. 2020Dual Mirror Descent for Online Allocation Problemscited by 51
  2. 2025Incremental Sequence Classification with Temporal Consistencycited by 3

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 3.

3 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025DINGO: Constrained Inference for Diffusion LLMs
  2. 2026Constrained Decoding for Diffusion Language Models via Efficient Inference over Finite Automata
  3. 2026A2D2: Fine-Tuning Any-Length Discrete Diffusion for Adaptive Decoding
  4. 2026Twist, Don't Tilt: Trajectory-Exact Constrained Decoding for Masked Diffusion Models
  5. 2026Search-Augmented Masked Diffusion Models for Constrained Generation
  6. 2026Continuous Diffusion Models Can Obey Formal Syntax
  7. 2025Constrained Decoding of Diffusion LLMs with Context-Free Grammars
  8. 2024textitJump Your Steps: Optimizing Sampling Schedule of Discrete Diffusion Models