atlas

Research map / Large language models / Language, safety and interpretability

Controlled LLM Decoding via Discrete Auto-regressive Biasing

ICLR 2025 · Large language models › Language, safety and interpretability · approach: Parallel and early-exit decoding · 1 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes Discrete Auto-regressive Biasing (DAB), a decoding-time controlled generation method that alternates biased autoregressive decoding with gradient-based discrete Langevin sampling over an auxiliary bias token sequence.

Problem

Energy-based controlled text decoding struggles to balance fluency and constraint satisfaction because gradient-based (Langevin) sampling happens in continuous space rather than the discrete token space, and it is computationally costly.

Approach

Define a joint distribution over the response Y and an auxiliary discrete bias sequence B (P(Y,B|X) ∝ P_LM(Y|X,B) exp(f(B|X))), sample B with a discrete Langevin proposal computed from gradients w.r.t. one-hot bias tokens (no backprop through autoregressive generation), and steer decoding by penalizing tokens by embedding distance to B.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use DAB instead of BOLTControlled sentiment generation · Sentiment-controlled generationInt. Clsf: .903 ± .006 -> .992 ± .001Helped
Use DAB instead of LM-SteerControlled sentiment generation · Sentiment-controlled generationExt. Clsf (Yelp): .900 ± .008 -> .894 ± .009Hurt
Use DAB instead of LM-SteerControlled sentiment generation · Sentiment-controlled generationExt. Clsf (SST-2): .948 ± .006 -> .975 ± .003Helped
Use DAB instead of BOLTControlled sentiment generation · Sentiment-controlled generationCoLA: .874 ± .005 -> .860 ± .005Hurt
Use DAB instead of BOLTToxicity avoidance · Toxicity avoidanceAvg. Max Toxicity: .264 ± .006 -> .211 ± .006Helped
Use DAB instead of BOLTToxicity avoidance · Toxicity avoidanceToxicity Pred. Prob.: 6.8% -> 6.8%No clear effect
Use DAB instead of BOLTKeyword-guided generation · Keyword-guided generationBertScore: .8291 ± .0003 -> .8303 ± .0003Helped
Use DAB instead of MuCOLAKeyword-guided generation · Keyword-guided generationSuccess Rate: 100% -> 99.0%Hurt
Replace continuous BOLT bias sampling with DAB discrete samplingControlled generation decoding · Sentiment-directed generationTokens per Second: 9.495 ± .095 -> 23.213 ± 0.304Helped
Add keyword-and-topic instruction to the BOLT prompt (ablation)BOLT · Topic-guided generationSuccess Rate: 99.1% -> 99.7%Helped
Add keyword-and-topic instruction to the BOLT prompt (ablation)BOLT · Topic-guided generationBertScore: .8291 ± .0003 -> .8123 ± .0002Hurt
Increase the bias weight (ablation)DAB · Sentiment-controlled generationConstraint controlHelped

Surprising findings

Limitations

Experimental setup

Datasets: Yelp polarity SST-2 Jigsaw toxic comment RealToxicityPrompts GPT-4o-generated reference sentences for keyword topics

Benchmarks: Yelp polarity SST-2 RealToxicityPrompts keyword-guided topic generation (7 topics x 4 keywords)

Metrics: sentiment classifier probability average max toxicity toxicity predicted probability BertScore precision success rate CoLA repeated 3-grams perplexity (GPT2-XL) tokens per second

Baselines: MuCOLA COLD BOLT LM-Steer

Builds on: BOLT COLD MuCOLA Discrete Langevin Proposal

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy