Lune

ICLR2025Top-tier venue

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

Nguyen Nhat Minh, Andrew Baker, Clement Neo, Allen G. Roush, Andreas Kirsch, Ravid Shwartz-Ziv

Abstract

Large Language Models (LLMs) generate text by sampling the next token from a probability distribution over the vocabulary at each decoding step. However, popular sampling methods like top-p (nucleus sampling) often struggle to balance quality and diversity, especially at higher temperatures, leading to incoherent or repetitive outputs. To address this challenge, we propose min-p sampling, a dynamic truncation method that adjusts the sampling threshold based on the model's confidence by scaling according to the top token's probability. We conduct extensive experiments on benchmarks including GPQA, GSM8K, and AlpacaEval Creative Writing, demonstrating that min-p sampling improves both the quality and diversity of generated text, particularly at high temperatures. Moreover, human evaluations reveal a clear preference for min-p sampling in terms of both text quality and diversity. Min-p sampling has been adopted by multiple open-source LLM implementations, highlighting its practical utility and potential impact.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

52 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Self-Consistency Improves Chain of Thought Reasoning in Language Models cites The Curious Case of Neural Text Degeneration
  • Post-training Large Language Models for Diverse High-Quality Responses cites The Curious Case of Neural Text Degeneration
  • Maximum Likelihood Reinforcement Learning cites Self-Consistency Improves Chain of Thought Reasoning in Language Models
  • Maximum Likelihood Reinforcement Learning cites Efficient Memory Management for Large Language Model Serving with PagedAttention
  • Maximum Likelihood Reinforcement Learning cites Representation-Based Exploration for Language Models: From Test-Time to Post-Training
  • Verbalized Sampling: How to Mitigate Mode Collapse and Unlock LLM Diversity cites The Curious Case of Neural Text Degeneration
  • SGLang: Efficient Execution of Structured Language Model Programs cites Chatbot Arena: An Open Platform for Evaluating LLMs by Human Preference
  • SGLang: Efficient Execution of Structured Language Model Programs cites Self-Consistency Improves Chain of Thought Reasoning in Language Models
  • SGLang: Efficient Execution of Structured Language Model Programs cites Efficient Memory Management for Large Language Model Serving with PagedAttention
  • Representation-Based Exploration for Language Models: From Test-Time to Post-Training cites Efficient Memory Management for Large Language Model Serving with PagedAttention
  • Representation-Based Exploration for Language Models: From Test-Time to Post-Training cites The Curious Case of Neural Text Degeneration
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers52

  1. Verbalized Sampling: How to Mitigate Mode Collapse and Unlock LLM DiversityJiayi Zhang, Simon Yu, Derek Chong, Anthony Sicilia et al.ICML 2026 · 102 citations
  2. Post-training Large Language Models for Diverse High-Quality ResponsesYilei Chen, Souradip Chakraborty, Lorenz Wolf, Ioannis Paschalidis et al.ICLR 2026 · 20 citations
  3. Maximum Likelihood Reinforcement LearningFahim Tajwar, Guanning Zeng, Yueer Zhou, Yuda Song et al.ICML 2026 · 18 citations
  4. Representation-Based Exploration for Language Models: From Test-Time to Post-TrainingJens Tuyls, Dylan J Foster, Akshay Krishnamurthy, Jordan T. AshICLR 2026 · 18 citations
  5. L-MTP: Leap Multi-Token Prediction Beyond Adjacent Context for Large Language ModelsXiaohao Liu, Xiaobo Xia, Weixiang Zhao, Manyi Zhang et al.NeurIPS 2025 · 16 citations

Builds on10

  1. The Curious Case of Neural Text DegenerationAri Holtzman, Jan Buys, Li Du, Maxwell Forbes et al.ICLR 2020 · 4,112 citations
  2. SGLang: Efficient Execution of Structured Language Model ProgramsLianmin Zheng, Liangsheng Yin, Zhiqiang Xie, Chuyue Sun et al.NeurIPS 2024 · 1,586 citations
  3. Chatbot Arena: An Open Platform for Evaluating LLMs by Human PreferenceWei-Lin Chiang, Lianmin Zheng, Ying Sheng, Anastasios Nikolas Angelopoulos et al.ICML 2024 · 1,212 citations
  4. Efficient Memory Management for Large Language Model Serving with PagedAttentionWoosuk Kwon, Zhuohan Li, Siyuan Zhuang, Ying Sheng et al.SOSP 2023 · 1,016 citations
  5. Self-Consistency Improves Chain of Thought Reasoning in Language ModelsXuezhi Wang, Jason Wei, Dale Schuurmans, Quoc V. Le et al.ICLR 2023 · 681 citations

Related papers

  1. Min-k Sampling: Decoupling Truncation from Temperature Scaling via Relative Logit DynamicsYuanhao Ding, Meimingwei Li, Esteban Garces Arias, Matthias Aßenmacher et al.ACL 2026 · 4 citations
  2. Top-H Decoding: Adapting the Creativity and Coherence with Bounded Entropy in Text GenerationErfan Baghaei Potraghloo, Seyedarmin Azizi, Souvik Kundu, Massoud PedramNeurIPS 2025 · 13 citations
  3. p-less Sampling: A Robust Hyperparameter-Free Approach for LLM DecodingRunyan Tan, Shuang Wu, Phillip HowardICLR 2026 · 2 citations
  4. Top-nσ: Eliminating Noise in Logit Space for Robust Token Sampling of LLMChenxia Tang, Jianchun Liu, Hongli Xu, Liusheng HuangACL 2025 · 9 citations
  5. Geometry-Aware Decoding with Wasserstein-Regularized Truncation and Mass Penalties for Large Language ModelsArash Gholamidavoodi, Navid Rezazadeh, Seyed Davoudi, Pouya PezeshkpourICML 2026 · 2 citations
Dusk over the sea between two cliffs drawn in fine vertical lines