mlsanityData to 7 Oct 2026

Balancing Diversity and Risk in LLM Sampling: How to Select Your Method and Parameter for Open-Ended Text Generation

arXiv 2408.13586 ↗First posted 24 Aug 2024cs.CL cs.AIcited by 18

Not on the map. Why?

Abstract (arXiv)

Sampling-based decoding strategies have been widely adopted for Large Language Models (LLMs) in numerous applications, targeting a balance between diversity and quality via temperature tuning and tail truncation. Considering the strong dependency of the candidate next tokens on different prefixes, recent studies propose to adaptively truncate the tail of LLMs' predicted distribution. Although improved results have been reported with these methods on open-ended text generation tasks, the results are highly dependent on the curated parameters and the limited exemplar text. In this paper, we propose a systematic way to estimate the capacity of a truncation sampling method by considering the trade-off between diversity and risk at each decoding step, based on our collected prefix tree which preserves the context of a full sentence. Our work offers a comprehensive comparison of existing truncation sampling methods and serves as a practical user guideline for their parameter selection.

Key facts. Cited by 18 papers in the map (data through 7 Oct 2026). Builds on 19 of its 37 references that are in the map. First posted on arXiv 24 Aug 2024.

Builds on

19 of 37 references.

References · 19

  1. 2023GPT-4 Technical Reportcited by 18,132
  2. 2024The Llama 3 Herd of Modelscited by 14,192
  3. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
  4. 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,601
  5. 2016Pointer Sentinel Mixture Modelscited by 2,992
  6. 2021TruthfulQA: Measuring How Models Mimic Human Falsehoodscited by 2,919
  7. 2019The Curious Case of Neural Text Degenerationcited by 2,881
  8. 2019HuggingFace's Transformers: State-of-the-art Natural Language Processingcited by 2,201
  9. 2021SimCSE: Simple Contrastive Learning of Sentence Embeddingscited by 2,168
  10. 2018Hierarchical Neural Story Generationcited by 1,182
  11. 2016Abstractive Text Summarization Using Sequence-to-Sequence RNNs and Beyondcited by 809
  12. 2019Neural Text Generation with Unlikelihood Trainingcited by 489
7 more
  1. 2018Texygen: A Benchmarking Platform for Text Generation Modelscited by 484
  2. 2021MAUVE: Measuring the Gap Between Neural Text and Human Text using Divergence Frontierscited by 466
  3. 2024Chain-of-Thought Reasoning Without Promptingcited by 208
  4. 2022Truncation Sampling as Language Model Desmoothingcited by 121
  5. 2024A Thorough Examination of Decoding Methods in the Era of LLMscited by 112
  6. 2024Improving Open-Ended Text Generation via Adaptive Decodingcited by 21
  7. 2023Pointwise Mutual Information Based Metric and Decoding Strategy for Faithful Generation in Document Grounded Dialogscited by 11

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 2; 2025: 7; 2026: 9.

18 papers.

Sort:

By area:

  1. 2025Navigate the Unknown: Enhancing LLM Reasoning with Intrinsic Motivation Guided Explorationcited by 33
  2. 2024Surveying the Effects of Quality, Diversity, and Complexity in Synthetic Data From Large Language Modelscited by 31
  3. 2024Decoding Decoded: Understanding Hyperparameter Effects in Open-Ended Text Generationcited by 26
  4. 2025On the Effect of Sampling Diversity in Scaling LLM Inferencecited by 18
  5. 2025LongEval: A Comprehensive Analysis of Long-Text Generation Through a Plan-based Paradigmcited by 14
  6. 2026Min-k Sampling: Decoupling Truncation from Temperature Scaling via Relative Logit Dynamicscited by 8
  7. 2025p-less Sampling: A Robust Hyperparameter-Free Approach for LLM Decodingcited by 4
  8. 2025Ontologies in Design: How Imagining a Tree Reveals Possibilites and Assumptions in Large Language Modelscited by 3
  9. 2025Principled Coarse-Grained Acceptance for Speculative Decoding in Speechcited by 2
  10. 2026Decoding as Optimisation on the Probability Simplex: From Top-K to Top-P (Nucleus) to Best-of-K Samplerscited by 2
  11. 2026Sampling More, Getting Less: Calibration is the Diversity Bottleneck in LLMscited by 2
  12. 2025Short-Context Dominance: How Much Local Context Natural Language Actually Needs?cited by 1
6 more
  1. 2026Quality-constrained Entropy Maximization Policy Optimization for LLM Diversitycited by 1
  2. 2026Breaking the Likelihood Trap: Variance-Calibrated Modulation for Large Language Model Decodingcited by 1
  3. 2026ARB: A Matched Authorship-Rewriting Benchmark Dataset for AI-Text Detector Evaluationcited by 1
  4. 2026Revisiting Lossy Verification in Speculative Decoding: Mechanisms, Trade-offs, and Failure Modescited by 0
  5. 2026Human-Simulation Interaction: From Prediction to Exploration in LLM Agent Simulations for Policycited by 0
  6. 2026Generate to Explore, Select to Exploit: Aligning LLM-based Headline Generation with Personalized Recommendationcited by 0