atlas

Research map / Reinforcement learning / RL from feedback

Controlled Decoding from Language Models

ICML 2024 · Reinforcement learning › RL from feedback · approach: RL for LLM reasoning · 2 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 controlled decoding (CD), a modular inference-time method that trains a DQN-style prefix scorer (value function) on a frozen PaLM 2-XXS base model to solve a tokenwise KL-regularized RL objective, with tokenwise and blockwise best-of-K variants.

Problem

Aligning frozen language models toward high-reward outcomes with configurable, inference-time control rather than retraining the generator, while keeping KL drift from the base model small.

Approach

Derives that the optimal KL-regularized tokenwise policy is the base LM distribution reweighted by exp(lambda * V*), learns V* with a DQN-style prefix scorer (CD-Q, off-policy Bellman target) and uses it for tokenwise sampling or blockwise best-of-K reranking of short blocks.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use blockwise CD-Q instead of training-time baselinesdialog response length alignment · Reddit conversationslength vs KL tradeoff: K=6 vs K=50Helped
Use tokenwise CD-FUDGE or CD-Q instead of DPO and IPOdialog response length alignment · Reddit conversationsreward-KL tradeoffHelped
Use blockwise CD-Q instead of PPO or IPOdialog helpfulness and harmlessness alignment · Anthropic HHwin rate vs KLHelped
Use blockwise CD-Q instead of best-of-Kdialog helpfulness and harmlessness alignment · Anthropic HHwin rate vs KLHurt
Use blockwise CD-Q instead of IPOsummarization quality alignment · TL;DRwin rateHelped
Use blockwise CD-Q instead of best-of-Ksummarization quality alignment · TL;DRwin rateHurt
Add a negative length reward at decoding timeblockwise CD-FUDGE with HH control · Reddit conversationsHH win rateHurt
Transfer the CD-Q prefix scorer without retraining to a different base modelCD-Q · Response length on PaLM 2-S and HH on PaLM 2-XSreward-KL tradeoffNo clear effect
Reduce block size M (ablation)blockwise CD · Anthropic HHwin rate vs KL tradeoffHurt
Apply blockwise CD-Q to a DPO-finetuned model without retraining the prefix scorerDPO + CD-Q · Anthropic HHwin rate vs KL tradeoff: K=8; K=32Helped
Use blockwise CD-Q instead of DPO with best-of-K at the same throughput budgetresponse length alignment · Reddit conversationslength vs KL tradeoff: K = [4, 8, 16]Helped
Use DPO + CD-Q instead of DPO + best-of-K at fixed KDPO-finetuned model · Anthropic HHwin rate vs KL: K = 4No clear effect

Surprising findings

Limitations

Experimental setup

Datasets: DSTC8 Reddit conversations corpus Anthropic HH TL;DR

Benchmarks: Reddit conversations corpus eval set (length) Anthropic HH test set TL;DR test set

Metrics: normalized expected reward win rate vs base policy KL divergence reward vs KL tradeoff classification accuracy

Baselines: KL-regularized PPO DPO IPO best-of-K CD-FUDGE blockwise CD-FUDGE

Builds on: FUDGE DQN KL-regularized PPO DPO IPO

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