Lune

ACL2026Top-tier venue

Min-k Sampling: Decoupling Truncation from Temperature Scaling via Relative Logit Dynamics

Yuanhao Ding, Meimingwei Li, Esteban Garces Arias, Matthias Aßenmacher, Christian Heumann, Chongsheng Zhang

Abstract

The quality of text generated by large language models depends critically on the decoding sampling strategy. While mainstream methods such as Top-kk, Top-pp, and Min-pp achieve a balance between diversity and accuracy through probability-space truncation, they share an inherent limitation: extreme sensitivity to the temperature parameter. Recent logit-space approaches like Top-nσn\sigma achieve temperature invariance but rely on global statistics that are susceptible to long-tail noise, failing to capture fine-grained confidence structures among top candidates. We propose Min-kk Sampling, a novel dynamic truncation strategy that analyzes the local shape of the sorted logit distribution to identify"semantic cliffs": sharp transitions from high-confidence core tokens to uncertain long-tail tokens. By computing a position-weighted relative decay rate, Min-kk dynamically determines truncation boundaries at each generation step. We formally prove that Min-kk achieves strict temperature invariance and empirically demonstrate its low sensitivity to hyperparameter choices. Experiments on multiple reasoning benchmarks, creative writing tasks, and human evaluation show that Min-kk consistently improves text quality, maintaining robust performance even under extreme temperature settings where probability-based methods collapse. We make our code, models, and analysis tools publicly available.

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.

2 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

  • Improving Open-Ended Text Generation via Adaptive Decoding cites The Curious Case of Neural Text Degeneration
  • Improving Open-Ended Text Generation via Adaptive Decoding cites Truncation Sampling as Language Model Desmoothing
  • Digitizing Nepal's Written Heritage: A Comprehensive HTR Pipeline for Old Nepali Manuscripts cites The Curious Case of Neural Text Degeneration
  • Probing the "Creativity" of Large Language Models: Can models produce divergent semantic association? cites The Curious Case of Neural Text Degeneration
  • Beyond Temperature: Hyperfitting as a Late-Stage Geometric Expansion cites The Curious Case of Neural Text Degeneration
  • Beyond Temperature: Hyperfitting as a Late-Stage Geometric Expansion cites Truncation Sampling as Language Model Desmoothing
  • Truncation Sampling as Language Model Desmoothing cites The Curious Case of Neural Text Degeneration
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers2

  1. Digitizing Nepal's Written Heritage: A Comprehensive HTR Pipeline for Old Nepali ManuscriptsAnjali Sarawgi, Esteban Garces Arias, Christof ZotterACL 2026 · 2 citations
  2. Beyond Temperature: Hyperfitting as a Late-Stage Geometric ExpansionMeimingwei Li, Yuanhao Ding, Esteban Garces Arias, Christian HeumannICML 2026

Builds on12

  1. The Curious Case of Neural Text DegenerationAri Holtzman, Jan Buys, Li Du, Maxwell Forbes et al.ICLR 2020 · 4,112 citations
  2. Let's Verify Step by StepHunter Lightman, Vineet Kosaraju, Yuri Burda, Harrison Edwards et al.ICLR 2024 · 3,045 citations
  3. Probing the "Creativity" of Large Language Models: Can models produce divergent semantic association?Honghua Chen, Nai DingEMNLP Findings 2023 · 42 citations
  4. Truncation Sampling as Language Model DesmoothingJohn Hewitt, Christopher D. Manning, Percy LiangEMNLP Findings 2022 · 26 citations
  5. Improving Open-Ended Text Generation via Adaptive DecodingWenhong Zhu, Hongkun Hao, Zhiwei He, Yiming Ai et al.ICML 2024 · 21 citations

Related papers

  1. Turning Up the Heat: Min-p Sampling for Creative and Coherent LLM OutputsNguyen Nhat Minh, Andrew Baker, Clement Neo, Allen G. Roush et al.ICLR 2025
  2. Top-nσ: Eliminating Noise in Logit Space for Robust Token Sampling of LLMChenxia Tang, Jianchun Liu, Hongli Xu, Liusheng HuangACL 2025 · 9 citations
  3. p-less Sampling: A Robust Hyperparameter-Free Approach for LLM DecodingRunyan Tan, Shuang Wu, Phillip HowardICLR 2026 · 2 citations
  4. Mirostat: a Neural Text decoding Algorithm that directly controls perplexitySourya Basu, Govardana Sachitanandam Ramachandran, Nitish Shirish Keskar, Lav R. VarshneyICLR 2021 · 13 citations
  5. 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
Dusk over the sea between two cliffs drawn in fine vertical lines