scimeatlas

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

ACL 2023Large language models › Language, safety and interpretabilityapproach: Parallel and early-exit decodingopen problems in this approach947 citations (OpenAlex)

Stanford University · University of Washington · Carnegie Mellon University · Johns Hopkins University · Meta

Read the paperPlace an idea next to itCheck your own paper ↗

12measured effects
6improved
1no clear effect
4hurt
1mixed

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 changedWhereMeasuredEffect
use contrastive decoding instead of nucleus samplingOPT-13B · WikiText-103coherence: 0.55 -> 0.69Improved
use contrastive decoding instead of nucleus samplingGPT2-XL · WikiText-103MAUVE: 0.87 -> 0.92Improved
use contrastive decoding instead of nucleus samplingOPT-13B / GPT2-XL · story domaindiversity: 0.93 -> 0.89 (OPT-13B); 0.94 -> 0.83 (GPT2-XL)Hurt
use CD instead of nucleus samplingGPT2-XL / OPT-13B · human eval coherence (average)preference ratio: CD preferred 2.6x more than nucleus, 6.4x more than typicalImproved
use CD instead of nucleus samplingGPT2-XL / OPT-13B · human eval fluency (average)preference ratio: CD preferred 1.4x vs nucleus, 3.5x vs typicalMixed
add adaptive plausibility constraint V_head (ablation)CD (GPT2-XL) · Ablation, 1.5BMAUVE: 0.01 -> 0.92Improved
search the CD objective with beam search instead of sampling it (ablation)CD (GPT2-XL) · Ablation, 1.5BMAUVE: 0.85 -> 0.92Improved
restrict the amateur to the last prompt token (ablation)CD (GPT2-XL) · human eval coherencepreference: 0.424 (full) vs 0.404 (-context)No clear effect
increase the scale gap between expert and amateur (ablation)CD (GPT-2 family) · MAUVE/diversityMAUVE and diversityImproved
use a trigram LM as amateur instead of a small neural LM (ablation)CD · MAUVEMAUVE: 0.73 MAUVEHurt
use the same model as expert and amateur (ablation)CD · diversitydiversityHurt
increase amateur temperature to large values (ablation)CD · diversityrepetitionHurt

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?

All 5 open problems and what was already tried →

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