Grab a Coffee: Future-Aware Guidance for Discrete Diffusion with Compiled Objectives
Hua, Xu, Dongxin Li, Gwen Yidou-Weng, Guy Van den Broeck, Wei Wang, Anji Liu
Key points
From the paper's conclusion- COFFEE, a plug-and-play framework, was introduced to guide discrete diffusion models by separating sequence dependence from the objective, avoiding the exponential growth of computation.
- The framework supports explicit hard constraints and learned soft objectives, achieving strong control results with task-dependent quality and diversity trade-offs.
- By making objectives available to inference rather than only evaluation, COFFEE brings joint conditioning, completion-weighted guidance, and optimization-based constraints into pretrained neural generation.
Abstract
Discrete diffusion models generate sequences by iteratively resolving multiple tokens in parallel, offering a flexible alternative to left-to-right generation. However, guiding this process with a sequence-level objective is difficult because the value of one unresolved token depends on the other tokens with which it can form a high-reward sequence. Enumerating all such completions makes the whole guidance computation grow exponentially with the number of unresolved positions. We introduce COFFEE, a plug-and-play framework that avoids this enumeration by separating sequence dependence from the objective. At each diffusion step, a target-free carrier absorbs the marginal token distributions predicted by the denoiser to construct a joint model over the unresolved tokens, while a compiled finite-state model records how their combinations affect the sequence-level preference. Pairing their states allows COFFEE to transfer global preferences to unresolved positions and sample a clean reconstruction without retraining the diffusion model. The same framework supports explicit hard constraints and learned soft objectives. We evaluate COFFEE across multiple symbolic, language, and biological benchmarks, where it achieves strong control results with task-dependent quality and diversity trade-offs. By making objectives available to inference rather than only evaluation, COFFEE brings joint conditioning, completion-weighted guidance, and optimization-based constraints into pretrained neural generation, showing the potential of neural-symbolic methods in diffusion guidance.
Read the paper
Discussion · 1
Science Skim's AI key points, plus readers' public thoughts
- COFFEE, a plug-and-play framework, was introduced to guide discrete diffusion models by separating sequence dependence from the objective, avoiding the exponential growth of computation.
- The framework supports explicit hard constraints and learned soft objectives, achieving strong control results with task-dependent quality and diversity trade-offs.
- By making objectives available to inference rather than only evaluation, COFFEE brings joint conditioning, completion-weighted guidance, and optimization-based constraints into pretrained neural generation.
Readers' thoughts
No reader thoughts yet.
Related papers
- Online Class Posteriors for Interpretable and Controllable Discrete DiffusionarXiv · 2026
- Discrete Diffusion Playground: A 2D Benchmark for Discrete Generative ModelsarXiv · 2026
- Hierarchical Continuous Diffusion Language ModelsarXiv · 2026
- Binary Discrete Diffusion: Candidate-Set Diffusion for Logic and Planning TasksarXiv · 2026
- Contrastive Gradient Guidance for Test-Time Multi-Preference Alignment of Diffusion ModelsarXiv · 2026
- Simplex Diffusion ModelsarXiv · 2026