atlas

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

Turning Up the Heat: Min-p Sampling for Creative and Coherent LLM Outputs

ICLR 2025 · Large language models › Language, safety and interpretability · approach: Statistical frameworks for LLM evaluation · 1 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 min-p sampling, a dynamic truncation rule that scales a base threshold by the top token's probability, and shows it keeps accuracy and creative-writing quality higher than top-p and other samplers at high temperatures.

Problem

Standard truncation samplers such as top-p and top-k trade off quality against diversity and become incoherent at high temperature, so LLM text generation lacks a method that stays coherent while remaining creative.

Approach

Truncate the next-token distribution with a threshold equal to a base probability p_base times the maximum token probability, so the pool widens when the model is uncertain and narrows when it is confident; the method is simple and integrates as a logits processor.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use min-p instead of top-p at higher temperaturesMistral 7B on GPQA Main · GPQA Main, τ=3.0accuracy: 0.46 -> 24.55Helped
Use min-p instead of top-p at higher temperaturesMistral 7B on GSM8K CoT · GSM8K CoT, τ=1.0accuracy: 27.67 -> 30.86Helped
Use min-p instead of top-pMistral Large on GPQA Main · GPQA Main, τ=3.0accuracy: 2.01 -> 22.77Helped
Use min-p instead of temperature-only samplingopenchat-3.5-0106 on AlpacaEval Creative Writing · AlpacaEval Creative Writing, τ=1.5win rate: 53.18 -> 56.54Helped
Replace top-p=0.1 with min-p=0.2Llama 3 70B creative-writing outputs · Human evaluation, T=3, lower diversityquality: 5.75$\pm$0.3201 -> 7.74$\pm$0.2418Helped
Replace top-p=0.9 with min-p=0.05Llama 3 70B creative-writing outputs · Human evaluation, T=3, higher diversitydiversity: 7.49$\pm$0.2396 -> 7.66$\pm$0.1996Helped
Set min-p to 0.1 at temperature 1.5 (ablation)openchat-3.5-0106 on AlpacaEval Creative Writing · AlpacaEval Creative Writingwin rate: 50.43 -> 56.54Helped
Vary min-p from 0.1 to 0.15 at temperature 1.5 (ablation)openchat-3.5-0106 on AlpacaEval Creative Writing · AlpacaEval Creative Writingwin rate: 56.54 $\pm$ 3.68 -> 53.37 $\pm$ 3.70Hurt
Vary min-p from 0.1 to 0.2 at temperature 1.5 (ablation)openchat-3.5-0106 on AlpacaEval Creative Writing · AlpacaEval Creative Writingwin rate: 56.54 $\pm$ 3.68 -> 53.38 $\pm$ 3.71Hurt
Vary min-p from 0.1 to 0.05 at temperature 1.5 (ablation)openchat-3.5-0106 on AlpacaEval Creative Writing · AlpacaEval Creative Writingwin rate: 56.54 $\pm$ 3.68 -> 48.57 $\pm$ 3.71Hurt
Vary min-p from 0.1 to 0.02 at temperature 1.5 (ablation)openchat-3.5-0106 on AlpacaEval Creative Writing · AlpacaEval Creative Writingwin rate: 56.54 $\pm$ 3.68 -> 44.83 $\pm$ 3.70Hurt
Increase p_base from 0.1 to 0.2 (ablation)Llama 3.1 70B on GSM8K CoT · GSM8K CoT, τ=3.0accuracy: 0.08 -> 61.03Helped

Surprising findings

Limitations

Experimental setup

Datasets: GPQA Main GSM8K CoT

Benchmarks: GPQA Main GSM8K CoT AlpacaEval Creative Writing EQ-Bench Creative Writing

Metrics: accuracy win rate length-controlled win rate entropy of correct predictions quality score diversity score

Baselines: top-p sampling top-k sampling temperature only sampling eta sampling epsilon sampling mirostat sampling greedy decoding

Builds on: top-p sampling top-k sampling eta sampling epsilon sampling mirostat 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