The Hidden Cost of Structured Generation in LLMs: Draft-Conditioned Constrained Decoding
Not on the map. Why?
Abstract (arXiv)
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 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. We analyze DCCD through a KL-projection view, showing that draft conditioning increases feasible mass and reduces the cumulative "projection tax" induced by hard constraints, with an optional best-of-K draft selection. Across structured reasoning benchmarks, DCCD improves strict structured accuracy by up to +24 percentage points over standard constrained decoding (e.g., 15.2% to 39.0% on GSM8K with a 1B model), and enables smaller model pairs to match or exceed much larger constrained baselines, yielding substantial gains in parameter efficiency.
Key facts. Cited by 7 papers in the map (data through 7 Oct 2026). Builds on 16 of its 33 references that are in the map. First posted on arXiv 8 Feb 2026.
Builds on
16 of 33 references.
References · 16
- 2021Training Verifiers to Solve Math Word Problemscited by 9,743
- 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,355
- 2021Measuring Mathematical Problem Solving With the MATH Datasetcited by 5,203
- 2023Toolformer: Language Models Can Teach Themselves to Use Toolscited by 4,072
- 2024GSM-Symbolic: Understanding the Limitations of Mathematical Reasoning in Large Language Modelscited by 533
- 2021PICARD: Parsing Incrementally for Constrained Auto-Regressive Decoding from Language Modelscited by 402
- 2017Lexically Constrained Decoding for Sequence Generation Using Grid Beam Searchcited by 234
- 2023Efficient Guided Generation for Large Language Modelscited by 192
- 2018Fast Lexically Constrained Decoding with Dynamic Beam Allocation for Neural Machine Translationcited by 181
- 2022MRKL Systems: A modular, neuro-symbolic architecture that combines large language models, external knowledge sources and discrete reasoningcited by 153
- 2024XGrammar: Flexible and Efficient Structured Generation Engine for Large Language Modelscited by 73
- 2024SynCode: LLM Generation with Grammar Augmentationcited by 66
4 more
- 2024Automata-based constraints for language model decodingcited by 49
- 2025Flexible and Efficient Grammar-Constrained Decodingcited by 42
- 2024IterGen: Iterative Semantic-aware Structured LLM Generation with Backtrackingcited by 28
- 2024P-FOLIO: Evaluating and Improving Logical Reasoning with Abundant Human-Written Reasoning Chainscited by 13
Built on by
Citing papers per year: 2026: 7.
7 papers.
- 2026The Format Taxcited by 3
- 2026Schema-Key Wording as an Instruction Channel in Structured Generation under Constrained Decodingcited by 2
- 2026The Extrapolation Cliff in On-Policy Distillation of Near-Deterministic Structured Outputscited by 2
- 2026Repair, Not Improvement: Decomposing Constrained Decoding in Tool-Call Abstentioncited by 2
- 2026ATLAS-RTC: Closing the Loop on LLM Agent Output with Token-Level Runtime Controlcited by 0
- 2026LatticeBridge: Rare-Event Sequential Inference for Faithful Structured Sequence Synthesiscited by 0
- 2026Constrained Decoding Eliminates Structural Failures in Small LLMs but Reveals a Scale-Dependent Semantic Gapcited by 0
- 2026Constrained Decoding Eliminates Structural Failures in Small LLMs but Reveals a Scale-Dependent Semantic Gap20 Sep 2026
- 2026Repair, Not Improvement: Decomposing Constrained Decoding in Tool-Call Abstention14 Aug 2026
- 2026The Extrapolation Cliff in On-Policy Distillation of Near-Deterministic Structured Outputs9 May 2026
- 2026LatticeBridge: Rare-Event Sequential Inference for Faithful Structured Sequence Synthesis22 Apr 2026
- 2026Schema-Key Wording as an Instruction Channel in Structured Generation under Constrained Decoding16 Apr 2026
- 2026The Format Tax4 Apr 2026
- 2026ATLAS-RTC: Closing the Loop on LLM Agent Output with Token-Level Runtime Control29 Mar 2026