atlas

Research map / Large language models / Alignment and preferences

Language Model Decoding as Direct Metrics Optimization

ICLR 2024 · Large language models › Alignment and preferences · approach: LLM-as-judge and feedback data · 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.

Frames LM decoding as reverse-KL projection subject to matching expected metric scores with human text, yielding an energy-reweighted LM distribution sampled via sampling-importance-resampling (DAEMON).

Problem

Existing decoding methods (sampling-based truncation vs. search-based contrastive methods) fail to align generated text with human text across multiple aspects like repetition, coherence, diversity and information content simultaneously.

Approach

Decode from the reverse-KL information projection of the LM onto the set of distributions that match human-text expectations of chosen metrics; the solution is an exponential-family reweighting p_theta * exp(-mu^T f), with mu estimated by WIS and sampled via SIR over temperature-modulated candidates. The authors prove this distribution has lower perplexity on human text than the LM.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use Daemon decoding with multiple metric constraints instead of the original language-model decoding distributionGPT-2 XL and OPT-6.7B · Wikipedia and NewsPerplexity: 23.1 -> 22.0; 13.9 -> 13.1; 16.4 -> 16.2; 10.8 -> 10.2Helped
Use Daemon rather than competing decoding baselinesGPT-2 XL and OPT-6.7B · Wikipedia and NewsMAUVEHelped
Use Daemon rather than competing decoding baselinesGPT-2 XL and OPT-6.7B · Wikipedia and NewsSR-4Helped
Remove SR-n constraints (ablation)Daemon · WikipediaSR-4: 0.42 -> 3.57Hurt
Remove SR-n constraints (ablation)Daemon · WikipediaDiversity: 92.2 -> 86.8Hurt
Remove TR-l constraints (ablation)Daemon · WikipediaTR-32: 22.5 -> 20.2Hurt
Remove TR-l constraints (ablation)Daemon · Wikipediae^ent: 22.8 -> 25.1Mixed
Remove coherence constraint (ablation)Daemon · WikipediaCoherence: 62.5 -> 57.6Hurt
Remove diversity constraint (ablation)Daemon · WikipediaDiversity: 92.2 -> 93.0Hurt
Remove e^ent constraint (ablation)Daemon · Wikipediae^ent: 22.8 -> 19.9Hurt
Increase the number of resampling candidates M (ablation)Daemon · WikipediaAlignment across five metricsHelped
Increase the number of resampling candidates M (ablation)Daemon · WikipediaDecoding latencyHurt

Surprising findings

Limitations

Experimental setup

Datasets: WikiText-103 Wikinews

Benchmarks: WikiText-103 Wikinews

Metrics: seq-rep-n tok-rep-l coherence (SimCSE cosine) diversity entropy exponent MAUVE perplexity

Baselines: Greedy Top-k sampling Nucleus sampling Typical decoding Contrastive Decoding Contrastive Search

Builds on: top-k sampling nucleus sampling contrastive search contrastive decoding

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