atlas

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

Decoding Game: On Minimax Optimality of Heuristic Text Generation Strategies

ICLR 2025 · 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 Decoding Game, a zero-sum game between a Strategist and an adversarial Nature, showing that TV-bounded adversarial distortion induces an l-infinity regularization whose optimal sampler is a tail truncation-normalization rule (Game sampling), validated on open-ended GPT-2/GPT-J/Llama-2 generation.

Problem

Decoding strategies for LLM text generation: likelihood maximization (MAP, greedy, beam) performs poorly in open-ended generation, while heuristic truncation-normalization samplers (Top-k, Nucleus) work well but lack theoretical justification.

Approach

Model text generation as a two-player zero-sum game in which Nature adversarially shifts the predicted next-token distribution within a TV budget. Solving the one-step game in closed form shows the adversary induces an l-infinity regularization on log-likelihood, and the optimal Strategist distribution is a truncated distribution whose first-order approximation is tail truncation plus normalizatio

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use Game sampling instead of Nucleus samplingGPT-2 Small · WebText testMAUVE: 0.923 -> 0.926Helped
Use Game sampling instead of Nucleus samplingGPT-2 Medium · WebText testMAUVE: 0.945 -> 0.945No clear effect
Use Game sampling instead of Nucleus samplingGPT-2 Large · WebText testMAUVE: 0.954 -> 0.947Hurt
Use Game sampling instead of Nucleus samplingGPT-2 XL · WebText testMAUVE: 0.955 -> 0.958Helped
Use Game sampling instead of Nucleus samplingGPT-J-6B · WebText testMAUVE: 0.806 -> 0.833Helped
Use Game sampling instead of BA-ηLlama-2-7B · WebText testMAUVE: 0.890 -> 0.858Hurt
Increase τ from 1.0 to 2.0 (ablation)Game sampling on GPT-2 Small, ε=0.95 · WebText testMAUVE: 0.739 -> 0.926Helped
Increase τ beyond 2.0 to 4.0 (ablation)Game sampling on GPT-2 Small, ε=0.95 · WebText testMAUVE: 0.926 -> 0.474Hurt
Increase ε from 0.95 to 0.99 (ablation)Game sampling on GPT-2 Small, τ=2.0 · WebText testMAUVE: 0.926 -> 0.917Hurt

Surprising findings

Limitations

Experimental setup

Datasets: WebText test set (GPT-2 output dataset)

Benchmarks: WebText test set open-ended generation

Metrics: perplexity repetition frequency MAUVE

Baselines: Nucleus sampling Contrastive search Typical sampling Basis-Aware sampling (BA-eta) Greedy sampling Pure sampling

Builds on: Nucleus sampling Top-k sampling temperature sampling Basis-Aware sampling

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