atlas

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

Improving Open-Ended Text Generation via Adaptive Decoding

ICML 2024 · Large language models › Language, safety and interpretability · approach: Statistical frameworks for LLM evaluation · 0 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 adaptive decoding, which dynamically sizes the candidate token set per step by thresholding an entropy-based "confidence" increment, and evaluates it on open-ended generation and math reasoning with GPT2-XL and Llama2 models.

Problem

Open-ended text generation with language models needs a sensible next-token candidate set: fixed top-k or top-p truncation either induces repetition (too small) or incoherence and hallucination (too large).

Approach

Treats choosing the candidate set as a confidence-increasing process: tokens are moved in descending probability order from an unknown pool to the candidate set, and a token is kept while its normalized entropy-based confidence increment (Conf_k, min-max scaled entropy with a pivot k) stays above a threshold epsilon.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
use adaptive decoding instead of other decoding methodsGPT2-XL · WritingPrompts and WikiText-103Diversity and MAUVE: WritingPrompts diversity 89.30* and MAUVE 25.18*; WikiText-103 diversity 93.23* and MAUVE 79.57Helped
use adaptive decoding instead of other decoding methodsLlama2-7B · WritingPromptsMAUVE: 35.26*Helped
use adaptive decoding instead of other decoding methodsLlama2-7B · WritingPromptsDiversity: adaptive 89.98; η-sampling 90.99Mixed
use adaptive decoding instead of other decoding methodsLlama2-7B · WikiText-103MAUVE: adaptive 76.74; η-sampling 78.26Mixed
use adaptive decoding instead of Top-pLlama2-7B-chat · WritingPromptsDiversity: 87.41 -> 93.99Helped
use adaptive decoding instead of Top-pLlama2-7B-chat · WritingPromptsCoherence: 49.85 -> 54.39Helped
use adaptive decoding instead of Top-pLlama2-7B-chat · MT-BenchGPT-4 score: 6.2656 -> 6.4375Helped
use adaptive decoding instead of Top-pLlama2 chat models · GSM8Kaccuracy: 29.00 -> 30.00; 37.00 -> 40.33; 56.00 -> 58.67Helped
use adaptive decoding instead of Top-pLlama2 chat models · MultiArithaccuracy: 68.33 -> 69.33; 73.33 -> 71.33; 85.33 -> 87.00Mixed
use adaptive decoding rather than human-written continuationsLlama2-7B · WikiText-103human preference: adaptive preferred 4.000%; human preferred 51.000*%Hurt
use adaptive decoding instead of Top-kLlama2-7B · WikiText-103human preference: 64.500*% preferred adaptive; 18.500% preferred Top-kHelped
increase threshold ε from 0.0005 to 0.001 (ablation)GPT2-XL adaptive decoding · WritingPromptsMAUVE: 47.19 -> 55.19Helped

Surprising findings

Limitations

Experimental setup

Datasets: WikiText-103 WritingPrompts GSM8K MultiArith MT-Bench

Benchmarks: WikiText-103 WritingPrompts MT-Bench GSM8K MultiArith

Metrics: rep-2 rep-3 rep-4 diversity MAUVE coherence (SimCSE) GPT-4 score accuracy human preference win rate

Baselines: greedy decoding top-k top-p mirostat typical decoding eta-sampling

Builds on: top-p sampling top-k sampling eta-sampling typical decoding mirostat

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