Mitigating Bias in Locally Constrained Decoding via Tractable Proposals
Not on the map. Why?
Abstract (arXiv)
Generations from large language models often fail to conform to desired constraints such as JSON schema. Existing locally constrained decoding (LCD) approaches enforce constraints by myopically masking out next tokens, resulting in biased sampling and degradation in performance. Recent work uses sequential Monte Carlo (SMC) methods to mitigate such biases, but designing effective proposal distributions or potential functions remains a key challenge. In this work, we propose a generic approach to construct proposals and potentials for SMC sampling from plm( · mid constraint). First, we show that constraints specified as finite automata can be tensorized for efficient execution on GPUs, which we use to construct globally constrained decoding (GCD) proposals. In addition, leveraging the fact that tensorized finite automata share the same circuit structure as hidden Markov models, we circuit-multiply them to obtain the probabilistic GCD (P-GCD) proposals encoding both logical and probabilistic information about the target distributions. We evaluate (P-)GCD on the tasks of function calling, keyword-based generation, and SQL generation. Experiments show that under the same SMC sampling setup, compared to LCD proposals, (P-)GCD converges faster to the target distribution with significantly fewer particles.
Key facts. Cited by 8 papers in the map (data through 14 Oct 2026). Builds on 34 of its 42 references that are in the map. First posted on arXiv 1 Jun 2026.
Builds on
34 of 42 references.
References · 34
- 2022Training language models to follow instructions with human feedbackcited by 15,971
- 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 8,065
- 2021Finetuned Language Models Are Zero-Shot Learnerscited by 3,780
- 2022Scaling Instruction-Finetuned Language Modelscited by 3,024
- 2024τ-bench: A Benchmark for Tool-Agent-User Interaction in Real-World Domainscited by 1,402
- 2023Gorilla: Large Language Model Connected with Massive APIscited by 1,332
- 2020RealToxicityPrompts: Evaluating Neural Toxic Degeneration in Language Modelscited by 1,255
- 2018Spider: A Large-Scale Human-Labeled Dataset for Complex and Cross-Domain Semantic Parsing and Text-to-SQL Taskcited by 1,139
- 2021PICARD: Parsing Incrementally for Constrained Auto-Regressive Decoding from Language Modelscited by 411
- 2020GeDi: Generative Discriminator Guided Sequence Generationcited by 378
- 2021FUDGE: Controlled Text Generation With Future Discriminatorscited by 376
- 2024Spider 2.0: Evaluating Language Models on Real-World Enterprise Text-to-SQL Workflowscited by 232
22 more
- 2023Efficient Guided Generation for Large Language Modelscited by 200
- 2024APIGen: Automated Pipeline for Generating Verifiable and Diverse Function-Calling Datasetscited by 198
- 2021Constrained Language Models Yield Few-Shot Semantic Parserscited by 163
- 2022COLD Decoding: Energy-based Constrained Text Generation with Langevin Dynamicscited by 161
- 2022Synchromesh: Reliable code generation from pre-trained language modelscited by 156
- 2023Amortizing intractable inference in large language modelscited by 97
- 2024XGrammar: Flexible and Efficient Structured Generation Engine for Large Language Modelscited by 75
- 2025JSONSchemaBench: A Rigorous Benchmark of Structured Outputs for Language Modelscited by 71
- 2024SynCode: LLM Generation with Grammar Augmentationcited by 69
- 2023Tractable Control for Autoregressive Language Generationcited by 65
- 2024Grammar-Aligned Decodingcited by 54
- 2025Syntactic and Semantic Control of Large Language Models via Sequential Monte Carlocited by 46
- 2025Flexible and Efficient Grammar-Constrained Decodingcited by 43
- 2022Controllable Text Generation with Neurally-Decomposed Oraclecited by 41
- 2023Bounding the Capabilities of Large Language Models in Open Text Generation with Prompt Constraintscited by 31
- 2024Adaptable Logical Control for Large Language Modelscited by 30
- 2024What is the Relationship between Tensor Factorizations and Circuits (and How Can We Exploit it)?cited by 22
- 2025Fast Controlled Generation from Language Models with Adaptive Weighted Rejection Samplingcited by 21
- 2025Constrained Sampling for Language Models Should Be Easy: An MCMC Perspectivecited by 14
- 2025Scaling Probabilistic Circuits via Monarch Matricescited by 9
- 2025Correctness-Guaranteed Code Generation via Constrained Decodingcited by 7
- 2025ABS: Enforcing Constraint Satisfaction On Generated Sequences Via Automata-Guided Beam Searchcited by 3
Built on by
Citing papers per year: 2026: 8.
8 papers.
- 2026Constrained Decoding for Diffusion Language Models via Efficient Inference over Finite Automatacited by 4
- 2026Repair, Not Improvement: Decomposing Constrained Decoding in Tool-Call Abstentioncited by 4
- 2026Decode-Time Grammars: Constrained LLM Generation over a Refinement Order of Grammar Fragmentscited by 0
- 2026The Parser Already Knows: Lightweight Bias Correction in Constrained Decodingcited by 0
- 2026Constraints Are Graphs, Not Chains: Exact Decoding for Diffusion Language Modelscited by 0
- 2026Twist, Don't Tilt: Trajectory-Exact Constrained Decoding for Masked Diffusion Modelscited by 0
- 2026GrammarRL: Effective Grammar-Constrained Decoding via Reinforcement Learningcited by 0
- 2026Provably Tractable NFA-Constrained Language Generation via HMMscited by 0
- 2026Provably Tractable NFA-Constrained Language Generation via HMMs30 Sep 2026
- 2026GrammarRL: Effective Grammar-Constrained Decoding via Reinforcement Learning30 Sep 2026
- 2026Twist, Don't Tilt: Trajectory-Exact Constrained Decoding for Masked Diffusion Models28 Sep 2026
- 2026Constraints Are Graphs, Not Chains: Exact Decoding for Diffusion Language Models26 Sep 2026
- 2026Repair, Not Improvement: Decomposing Constrained Decoding in Tool-Call Abstention14 Aug 2026
- 2026The Parser Already Knows: Lightweight Bias Correction in Constrained Decoding10 Aug 2026
- 2026Decode-Time Grammars: Constrained LLM Generation over a Refinement Order of Grammar Fragments20 Jul 2026
- 2026Constrained Decoding for Diffusion Language Models via Efficient Inference over Finite Automata8 Jul 2026
Similar, not cited
Close in wording, no citation either way
- 2026Sampling for Quality: Training-Free Reward-Guided LLM Decoding via Sequential Monte Carlo
- 2026Faster LLM Inference via Sequential Monte Carlo
- 2026Martingale Foresight Sampling: A Principled Approach to Inference-Time LLM Decoding
- 2026Learning Adaptive LLM Decoding
- 2024A Theoretical Perspective for Speculative Decoding Algorithm
- 2025p-less Sampling: A Robust Hyperparameter-Free Approach for LLM Decoding
- 2026Chopthin-Consensus Power Sampling: A Diversity-Preserving Approach to LLM Decoding
- 2025DINGO: Constrained Inference for Diffusion LLMs