The Hidden Cost of Structured Generation in LLMs: Draft-Conditioned Constrained Decoding 文章

ArXiv CS.CL2026-06-30PAPERen作者: Avinash Reddy, Thayne T. Walker, James S. Ide, Amrit Singh Bedi

详细信息

来源站点
ArXiv CS.CL
作者
Avinash Reddy, Thayne T. Walker, James S. Ide, Amrit Singh Bedi
文章类型
PAPER
语言
en
发布日期
2026-06-30

摘要

arXiv:2603.03305v2 Announce Type: replace Abstract: Large language models (LLMs) are increasingly used to generate executable outputs, JSON objects, and API calls, where a single syntax error can make the output unusable. Constrained decoding enforces validity token-by-token via masking and renormalization, but it can distort generation when the model assigns low probability mass to valid continuations, pushing decoding toward locally valid yet semantically incorrect trajectories. We propose \emph{Draft-Conditioned Constrained Decoding (DCCD)}, a simple two-step, training-free inference procedure that decouples semantic planning from structural enforcement: an unconstrained draft is generated first, and constrained decoding is then applied, conditioned on this draft, to guarantee validity.