Research map / Large language models / Language, safety and interpretability
Contrastive Decoding: Open-ended Text Generation as Optimization
Xiang Lisa Li, Ari Holtzman, Daniel Fried, Percy Liang, Jason Eisner, Tatsunori Hashimoto, Luke Zettlemoyer, Mike Lewis
Stanford University · University of Washington · Carnegie Mellon University · Johns Hopkins University · Meta
Read the paperPlace an idea next to itCheck your own paper ↗
AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| use contrastive decoding instead of nucleus sampling | OPT-13B · WikiText-103 | coherence: 0.55 -> 0.69 | Improved |
| use contrastive decoding instead of nucleus sampling | GPT2-XL · WikiText-103 | MAUVE: 0.87 -> 0.92 | Improved |
| use contrastive decoding instead of nucleus sampling | OPT-13B / GPT2-XL · story domain | diversity: 0.93 -> 0.89 (OPT-13B); 0.94 -> 0.83 (GPT2-XL) | Hurt |
| use CD instead of nucleus sampling | GPT2-XL / OPT-13B · human eval coherence (average) | preference ratio: CD preferred 2.6x more than nucleus, 6.4x more than typical | Improved |
| use CD instead of nucleus sampling | GPT2-XL / OPT-13B · human eval fluency (average) | preference ratio: CD preferred 1.4x vs nucleus, 3.5x vs typical | Mixed |
| add adaptive plausibility constraint V_head (ablation) | CD (GPT2-XL) · Ablation, 1.5B | MAUVE: 0.01 -> 0.92 | Improved |
| search the CD objective with beam search instead of sampling it (ablation) | CD (GPT2-XL) · Ablation, 1.5B | MAUVE: 0.85 -> 0.92 | Improved |
| restrict the amateur to the last prompt token (ablation) | CD (GPT2-XL) · human eval coherence | preference: 0.424 (full) vs 0.404 (-context) | No clear effect |
| increase the scale gap between expert and amateur (ablation) | CD (GPT-2 family) · MAUVE/diversity | MAUVE and diversity | Improved |
| use a trigram LM as amateur instead of a small neural LM (ablation) | CD · MAUVE | MAUVE: 0.73 MAUVE | Hurt |
| use the same model as expert and amateur (ablation) | CD · diversity | diversity | Hurt |
| increase amateur temperature to large values (ablation) | CD · diversity | repetition | Hurt |
Open problems in parallel and early-exit decoding
Which fast-decoding methods keep quality when used with batching, thresholds that need no tuning, and models they cannot open up?
- Tested on one or two model families, mostly 7B or 13B and smaller. · 12 papers state it
- Speedups are measured at batch size one, and batching is left unstudied. · 9 papers state it
- Thresholds and mixing weights are tuned per model and task. · 8 papers state it
Closest papers by meaning
- Explaining and Improving Contrastive Decoding by Extrapolating the Probabilities of a Huge and Hypothetical LM (EMNLP 2024 · similarity 0.94)
- Adaptive Contrastive Search: Uncertainty-Guided Decoding for Open-Ended Text Generation (EMNLP 2024 · similarity 0.92)
- Language Model Decoding as Direct Metrics Optimization (ICLR 2024 · similarity 0.89)
- Decoding Game: On Minimax Optimality of Heuristic Text Generation Strategies (ICLR 2025 · similarity 0.89)
- Approximately Aligned Decoding (NeurIPS 2025 · similarity 0.88)
- Reflection-Window Decoding: Text Generation with Selective Refinement (ICML 2025 · similarity 0.88)
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.