paper-with-me

Papers

Primal-Dual Guided Decoding for Constrained Discrete Diffusion

2026-05-10 · Federico Tomasi, Dmitrii Moor, Alice Wang, Mounia Lalmas 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.

📄 PDF Abstract BibTeX arXiv:2605.09749

Code (0)

등록된 구현이 없습니다.

Tasks

Text Generation

Similar Papers 제목 키워드 기반

An Outer-approximation Guided Optimization Approach for Constrained Neural Network Inverse Problems

2020-02-24 · Myun-Seok Cheon

This paper discusses an outer-approximation guided optimization method for constrained neural network inverse problems with rectified linear units. The constrained neural network inverse problems refer to an optimization…

Primal-dual Learning for the Model-free Risk-constrained Linear Quadratic Regulator

2020-11-22 · Feiran Zhao, Keyou You

Risk-aware control, though with promise to tackle unexpected events, requires a known exact dynamical model. In this work, we propose a model-free framework to learn a risk-aware controller with a focus on the linear sys…

Last-Iterate Convergent Policy Gradient Primal-Dual Methods for Constrained MDPs

2023-06-20 · NeurIPS 2023 11 · Dongsheng Ding, Chen-Yu Wei, Kaiqing Zhang, Alejandro Ribeiro

We study the problem of computing an optimal policy of an infinite-horizon discounted constrained Markov decision process (constrained MDP). Despite the popularity of Lagrangian-based policy search methods used in practi…

Dynamic Convex Duality in Constrained Utility Maximization

2016-12-13

In this paper, we study a constrained utility maximization problem following the convex duality approach. After formulating the primal and dual problems, we construct the necessary and sufficient conditions for both the …

Constrained convex minimization via model-based excessive gap

2014-12-01 · NeurIPS 2014 12 · Quoc Tran-Dinh, Volkan Cevher

We introduce a model-based excessive gap technique to analyze first-order primal- dual methods for constrained convex minimization. As a result, we construct first- order primal-dual methods with optimal convergence rate…

model