Controlled LLM Decoding via Discrete Auto-regressive Biasing
Not on the map. Why?
Abstract (arXiv)
Controlled text generation allows for enforcing user-defined constraints on large language model outputs, an increasingly important field as LLMs become more prevalent in everyday life. One common approach uses energy-based decoding, which defines a target distribution through an energy function that combines multiple constraints into a weighted average. However, these methods often struggle to balance fluency with constraint satisfaction, even with extensive tuning of the energy function's coefficients. In this paper, we identify that this suboptimal balance arises from sampling in continuous space rather than the natural discrete space of text tokens. To address this, we propose Discrete Auto-regressive Biasing, a controlled decoding algorithm that leverages gradients while operating entirely in the discrete text domain. Specifically, we introduce a new formulation for controlled text generation by defining a joint distribution over the generated sequence and an auxiliary bias sequence. To efficiently sample from this joint distribution, we propose a Langevin-within-Gibbs sampling algorithm using gradient-based discrete MCMC. Our method significantly improves constraint satisfaction while maintaining comparable or better fluency, all with even lower computational costs. We demonstrate the advantages of our controlled decoding method on sentiment control, language detoxification, and keyword-guided generation.
Key facts. Cited by 5 papers in the map (data through 7 Oct 2026). First posted on arXiv 6 Feb 2025.
Builds on
0 of 0 references.
No references here yet.
Built on by
Citing papers per year: 2025: 1; 2026: 4.
5 papers.
- 2025Guardians and Offenders: A Survey on Harmful Content Generation and Safety Mitigation of LLMcited by 8
- 2026Entropy-Aligned Decoding of LMs for Better Writing and Reasoningcited by 1
- 2026Decoding in Geometry: Alleviating Embedding-Space Crowding for Complex Reasoningcited by 1
- 2026DRIV-EX: Counterfactual Explanations for Driving LLMscited by 1
- 2026Gradient-Guided Reward Optimization for Inference-time Alignmentcited by 0
- 2026Gradient-Guided Reward Optimization for Inference-time Alignment8 Jun 2026
- 2026DRIV-EX: Counterfactual Explanations for Driving LLMs28 Feb 2026
- 2026Decoding in Geometry: Alleviating Embedding-Space Crowding for Complex Reasoning30 Jan 2026
- 2026Entropy-Aligned Decoding of LMs for Better Writing and Reasoning5 Jan 2026
- 2025Guardians and Offenders: A Survey on Harmful Content Generation and Safety Mitigation of LLM7 Aug 2025