p-less Sampling: A Robust Hyperparameter-Free Approach for LLM Decoding
Not on the map. Why?
Abstract (arXiv)
Obtaining high-quality outputs from Large Language Models (LLMs) often depends upon the choice of a sampling-based decoding strategy to probabilistically choose the next token at each generation step. While a variety of such sampling methods have been proposed, their performance can be sensitive to the selection of hyperparameters which may require different settings depending upon the generation task and temperature configuration. In this work, we introduce p-less sampling: an information-theoretic approach to sampling which dynamically sets a truncation threshold at each decoding step based on the entire token probability distribution. Unlike existing methods, p-less sampling has no hyperparameters and consistently produces high-quality outputs as temperature increases. We provide theoretical perspectives on p-less sampling to ground our proposed method and conduct experiments to empirically validate its effectiveness across a range of math, logical reasoning, and creative writing tasks. Our results demonstrate how p-less sampling consistently outperforms existing sampling approaches while exhibiting much less degradation in text quality at higher temperature values. We further show how p-less achieves greater inference-time efficiency than alternative methods through lower average token sampling times and shorter generation lengths, without sacrificing accuracy. Finally, we provide analyses to highlight the benefits of p-less through qualitative examples, case studies, and diversity assessments. The code is available at https://github.com/ryttry/p-less .
Key facts. Cited by 5 papers in the map (data through 14 Oct 2026). Builds on 26 of its 37 references that are in the map. First posted on arXiv 27 Sep 2025.
Builds on
26 of 37 references.
References · 26
- 2024The Llama 3 Herd of Modelscited by 14,715
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,459
- 2021Training Verifiers to Solve Math Word Problemscited by 10,109
- 2019The Curious Case of Neural Text Degenerationcited by 2,916
- 2023GPQA: A Graduate-Level Google-Proof Q&A Benchmarkcited by 2,879
- 2018CommonsenseQA: A Question Answering Challenge Targeting Commonsense Knowledgecited by 1,822
- 2018Hierarchical Neural Story Generationcited by 1,193
- 2024Length-Controlled AlpacaEval: A Simple Way to Debias Automatic Evaluatorscited by 897
- 2022Contrastive Decoding: Open-ended Text Generation as Optimizationcited by 609
- 2019QASC: A Dataset for Question Answering via Sentence Compositioncited by 252
- 2017Beam Search Strategies for Neural Machine Translationcited by 232
14 more
- 2022A Contrastive Framework for Neural Text Generationcited by 225
- 2024Turning Up the Heat: Min-p Sampling for Creative and Coherent LLM Outputscited by 150
- 2020NeuroLogic Decoding: (Un)supervised Neural Text Generation with Predicate Logic Constraintscited by 149
- 2022Truncation Sampling as Language Model Desmoothingcited by 123
- 2023Epsilon Sampling Rocks: Investigating Sampling Strategies for Minimum Bayes Risk Decoding for Machine Translationcited by 58
- 2024Adaptive Contrastive Search: Uncertainty-Guided Decoding for Open-Ended Text Generationcited by 27
- 2022NeuroCounterfactuals: Beyond Minimal-Edit Counterfactuals for Richer Data Augmentationcited by 23
- 2024Improving Open-Ended Text Generation via Adaptive Decodingcited by 21
- 2022Arithmetic Sampling: Parallel Diverse Decoding for Large Language Modelscited by 19
- 2024Balancing Diversity and Risk in LLM Sampling: How to Select Your Method and Parameter for Open-Ended Text Generationcited by 19
- 2023NeuroPrompts: An Adaptive Framework to Optimize Prompts for Text-to-Image Generationcited by 10
- 2025GUARD: Glocal Uncertainty-Aware Robust Decoding for Effective and Efficient Open-Ended Text Generationcited by 10
- 2023NeuroComparatives: Neuro-Symbolic Distillation of Comparative Knowledgecited by 8
- 2024Quasi-random Multi-Sample Inference for Large Language Modelscited by 4
Built on by
Citing papers per year: 2026: 5.
5 papers.
- 2026Decoding in Geometry: Alleviating Embedding-Space Crowding for Complex Reasoningcited by 1
- 2026Improving Sample Diversity in Autoregressive Text-to-Image Generation via Cluster Truncationcited by 0
- 2026Refusal-Gated Decoding: Preserving Refusal Behavior Under High-Temperature Samplingcited by 0
- 2026Temperature Fragility and the Conditional Benefits of Truncation Samplingcited by 0
- 2026Truncation Samplers Are Nested: Comparing Decoding Rules Is a Measurement Problemcited by 0
- 2026Truncation Samplers Are Nested: Comparing Decoding Rules Is a Measurement Problem11 Oct 2026
- 2026Temperature Fragility and the Conditional Benefits of Truncation Sampling14 Sep 2026
- 2026Refusal-Gated Decoding: Preserving Refusal Behavior Under High-Temperature Sampling22 Jul 2026
- 2026Improving Sample Diversity in Autoregressive Text-to-Image Generation via Cluster Truncation12 Jul 2026
- 2026Decoding in Geometry: Alleviating Embedding-Space Crowding for Complex Reasoning30 Jan 2026
Similar, not cited
Close in wording, no citation either way
- 2026Sampling for Quality: Training-Free Reward-Guided LLM Decoding via Sequential Monte Carlo
- 2026Chopthin-Consensus Power Sampling: A Diversity-Preserving Approach to LLM Decoding
- 2026Learning Adaptive LLM Decoding
- 2026Entropy-Aligned Decoding of LMs for Better Writing and Reasoning
- 2024A Thorough Examination of Decoding Methods in the Era of LLMs
- 2025Sample Smart, Not Hard: Correctness-First Decoding for Better Reasoning in LLMs
- 2024Closer Look at Efficient Inference Methods: A Survey of Speculative Decoding
- 2024Progressive Mixed-Precision Decoding for Efficient LLM Inference