atlas

Research map / Learning theory and algorithms / Matrix and tensor methods

Foundations of Top-$k$ Decoding for Language Models

NeurIPS 2025 · Learning theory and algorithms › Matrix and tensor methods · approach: Sparse regression with guarantees · 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.

Develops a theory of top-k decoding as l0-regularized separable Bregman divergence minimization (primal and dual), proves greedy selection and discrete convexity in k, and evaluates alpha-Bregman decoders against top-k on GPT-2 Large and Llama 3.1 8B.

Problem

Top-k decoding is widely used for LLM sampling but lacks a precise theoretical justification; choosing k adaptively per distribution is typically heuristic.

Approach

Views per-token decoding as sparse distribution recovery: minimize a separable Bregman divergence (primal or dual argument) plus an l0 penalty; shows the optimal support is top-k (greedy) and the cost is discretely convex in k, so the adaptive k* can be found in logarithmic time. Top-k is recovered as the alpha=1 primal case under KL.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use adaptive primal Bregman decoding instead of matched top-k decodingLlama 3.1 8B · GSM8K, 8-shot CoT, temperature 1.5accuracy: 79.00 vs 75.97; 80.06 vs 75.97; 57.24 vs 43.21; 64.97 vs 58.53Helped
Use adaptive primal Bregman decoding instead of matched top-k decodingLlama 3.1 8B · GSM8K, 8-shot CoT, temperatures 0.3–1.0accuracy: 85.14 vs 83.62; 84.38 vs 84.69; 83.24 vs 83.78; 81.73 vs 84.69; 84.69 vs 85.14; 84.46 vs 83.62; 82.03 vs 82.11; 82.03 vsMixed

Surprising findings

Limitations

Experimental setup

Datasets: WebText test set (GPT-2 output dataset) GSM8K Chain-of-Thought TriviaQA

Benchmarks: WebText open-ended generation GSM8K

Metrics: perplexity difference repetition difference accuracy

Baselines: top-k decoding

Builds on: top-k sampling Bregman projection onto the simplex Tsallis alpha-entropy

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