atlas

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

Top-H Decoding: Adapting the Creativity and Coherence with Bounded Entropy in Text Generation

NeurIPS 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 top-H, an entropy-bounded truncated sampling method that greedily adds top tokens until the renormalized subset's entropy reaches alpha times the full distribution's entropy, improving creative-writing quality at high temperature.

Problem

Truncated sampling for LLMs trades off creativity (diversity) against coherence; existing methods like min-p use only the top-1 probability as a confidence proxy and ignore the overall distribution shape, causing over- or under-truncation, especially at high temperature.

Approach

Formulates an entropy-constrained minimum divergence (JSD) problem, shows it is equivalent to entropy-constrained mass maximization (ECMM), proves ECMM NP-hard, and solves it with a greedy algorithm that keeps the truncated distribution's entropy below alpha times the original entropy at each step.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use Top-H instead of Min-pLLaMA3.1-8B-Instruct · GSM8K, T=2.0accuracy (%): 13.72 -> 39.35Helped
Use Top-H instead of Min-pQwen2.5-3B · GPQA, T=2.0accuracy (%): 25.00 -> 28.12Helped
Use Top-H instead of Min-pPhi-3-Mini · GPQA, T=2.0accuracy (%): 23.44 -> 30.80Helped
Use Top-H instead of Min-pLLaMA3.1-8B-Instruct · Alpaca-Eval, T=2.0length-controlled win rate (%): 18.09 -> 35.20Helped
Use Top-H instead of Min-pLLaMA3.1-8B-Instruct · MT-Bench, T=2.0judge score: 4.531 -> 6.438Helped
Use Top-H instead of Min-pPhi-3-Mini · GSM8K, T=2.0accuracy (%): 60.88 -> 60.20Hurt
Increase temperature from T=1 to T=2 with Top-pLLaMA3.1-8B-Instruct · Alpaca-Evalwin rate: 34.06% declineHurt
Increase temperature from T=1 to T=2 with Top-HLLaMA3.1-8B-Instruct · Alpaca-Evalwin rate: 3.78% reductionHurt
Increase alpha (ablation)Top-H · Alpaca-Eval development samplescreativityHelped
Increase alpha (ablation)Top-H · Alpaca-Eval development samplescoherenceHurt
Set alpha to 0.4 (ablation)Top-H · Alpaca-Eval development samplesaverage creativity and coherence scores: alpha = 0.4Helped
Use Top-H instead of Min-pLLaMA3.1-8B-Instruct · Runtime, T=1.0latency (ms/token): 27.3396 -> 28.3951Hurt

Surprising findings

Limitations

Experimental setup

Datasets: AlpacaEval GSM8K GPQA MT-Bench

Benchmarks: AlpacaEval MT-Bench GSM8K GPQA

Metrics: length-controlled win rate judge score (1-10) exact match accuracy LLM-as-judge creativity and coherence scores per-token latency (ms/token)

Baselines: min-p sampling top-p sampling top-k sampling eta-sampling Mirostat

Builds on: min-p sampling top-p (nucleus) sampling eta-sampling 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