A Systematic Characterization of Sampling Algorithms for Open-ended Language Generation
Not on the map. Why?
Abstract (arXiv)
This work studies the widely adopted ancestral sampling algorithms for auto-regressive language models, which is not widely studied in the literature. We use the quality-diversity (Q-D) trade-off to investigate three popular sampling algorithms (top-k, nucleus and tempered sampling). We focus on the task of open-ended language generation. We first show that the existing sampling algorithms have similar performance. After carefully inspecting the transformations defined by different sampling algorithms, we identify three key properties that are shared among them: entropy reduction, order preservation, and slope preservation. To validate the importance of the identified properties, we design two sets of new sampling algorithms: one set in which each algorithm satisfies all three properties, and one set in which each algorithm violates at least one of the properties. We compare their performance with existing sampling algorithms, and find that violating the identified properties could lead to drastic performance degradation, as measured by the Q-D trade-off. On the other hand, we find that the set of sampling algorithms that satisfies these properties performs on par with the existing sampling algorithms. Our data and code are available at https://github.com/moinnadeem/characterizing-sampling-algorithms
Key facts. Cited by 28 papers in the map (data through 7 Oct 2026). First posted on arXiv 15 Sep 2020.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 3; 2022: 8; 2023: 7; 2024: 2; 2025: 5; 2026: 3.
28 papers.
Sort:
By area:
- 2022SSD-LM: Semi-autoregressive Simplex-based Diffusion Language Model for Text Generation and Modular Controlcited by 191
- 2022Truncation Sampling as Language Model Desmoothingcited by 121
- 2022Locally Typical Samplingcited by 108
- 2022On Decoding Strategies for Neural Text Generatorscited by 89
- 2023Cost-Effective Hyperparameter Optimization for Large Language Model Generation Inferencecited by 40
- 2022Unified Detoxifying and Debiasing in Language Generation via Inference-time Adaptive Optimizationcited by 32
- 2024Stumbling Blocks: Stress Testing the Robustness of Machine-Generated Text Detectors Under Attackscited by 25
- 2023On the Efficacy of Sampling Adapterscited by 17
- 2021Measuring Uncertainty in Translation Quality Evaluation (TQE)cited by 16
- 2023Diffusion Models in NLP: A Surveycited by 16
- 2023A Survey of Diffusion Models in Natural Language Processingcited by 16
- 2023Look-back Decoding for Open-Ended Text Generationcited by 10
16 more
- 2024Growing a Tail: Increasing Output Diversity in Large Language Modelscited by 9
- 2022An Analysis of the Effects of Decoding Algorithms on Fairness in Open-Ended Language Generationcited by 7
- 2022Do DALL-E and Flamingo Understand Each Other?cited by 7
- 2025LLM Fingerprinting via Semantically Conditioned Watermarkscited by 7
- 2025DoubleGen: Debiased Generative Modeling of Counterfactualscited by 6
- 2021Lingxi: A Diversity-aware Chinese Modern Poetry Generation Systemcited by 4
- 2025Advancing Decoding Strategies: Enhancements in Locally Typical Sampling for LLMscited by 4
- 2022A Continuum of Generation Tasks for Investigating Length Bias and Degenerate Repetitioncited by 3
- 2023How do decoding algorithms distribute information in dialogue responses?cited by 3
- 2025Local Normalization Distortion and the Thermodynamic Formalism of Decoding Strategies for Large Language Modelscited by 3
- 2025Your Pretrained Model Tells the Difficulty Itself: A Self-Adaptive Curriculum Learning Paradigm for Natural Language Understandingcited by 3
- 2021Language Model Evaluation in Open-ended Text Generationcited by 2
- 2023LatticeGen: A Cooperative Framework which Hides Generated Text in a Lattice for Privacy-Aware Generation on Cloudcited by 2
- 2026Are You Sure You're Sure? On the Impact of Instruction Tuning on Confidence and Lexical Diversitycited by 0
- 2026Expert-Space Exploration in MoE Reinforcement Learningcited by 0
- 2026Composable Decoding on the Probability Simplex: Theory and Implementationcited by 0
- 2026Composable Decoding on the Probability Simplex: Theory and Implementation28 Sep 2026
- 2026Expert-Space Exploration in MoE Reinforcement Learning11 Sep 2026
- 2026Are You Sure You're Sure? On the Impact of Instruction Tuning on Confidence and Lexical Diversity13 Aug 2026
- 2025DoubleGen: Debiased Generative Modeling of Counterfactuals20 Sep 2025
- 2025Your Pretrained Model Tells the Difficulty Itself: A Self-Adaptive Curriculum Learning Paradigm for Natural Language Understanding13 Jul 2025
- 2025Advancing Decoding Strategies: Enhancements in Locally Typical Sampling for LLMs3 Jun 2025
- 2025LLM Fingerprinting via Semantically Conditioned Watermarks22 May 2025
- 2025Local Normalization Distortion and the Thermodynamic Formalism of Decoding Strategies for Large Language Models27 Mar 2025
- 2024Growing a Tail: Increasing Output Diversity in Large Language Models5 Nov 2024
- 2024Stumbling Blocks: Stress Testing the Robustness of Machine-Generated Text Detectors Under Attacks18 Feb 2024
- 2023LatticeGen: A Cooperative Framework which Hides Generated Text in a Lattice for Privacy-Aware Generation on Cloud29 Sep 2023
- 2023On the Efficacy of Sampling Adapters7 Jul 2023
16 more
- 2023A Survey of Diffusion Models in Natural Language Processing24 May 2023
- 2023Look-back Decoding for Open-Ended Text Generation22 May 2023
- 2023How do decoding algorithms distribute information in dialogue responses?29 Mar 2023
- 2023Diffusion Models in NLP: A Survey14 Mar 2023
- 2023Cost-Effective Hyperparameter Optimization for Large Language Model Generation Inference8 Mar 2023
- 2022Do DALL-E and Flamingo Understand Each Other?23 Dec 2022
- 2022SSD-LM: Semi-autoregressive Simplex-based Diffusion Language Model for Text Generation and Modular Control31 Oct 2022
- 2022Truncation Sampling as Language Model Desmoothing27 Oct 2022
- 2022A Continuum of Generation Tasks for Investigating Length Bias and Degenerate Repetition19 Oct 2022
- 2022Unified Detoxifying and Debiasing in Language Generation via Inference-time Adaptive Optimization10 Oct 2022
- 2022An Analysis of the Effects of Decoding Algorithms on Fairness in Open-Ended Language Generation7 Oct 2022
- 2022On Decoding Strategies for Neural Text Generators29 Mar 2022
- 2022Locally Typical Sampling1 Feb 2022
- 2021Measuring Uncertainty in Translation Quality Evaluation (TQE)15 Nov 2021
- 2021Lingxi: A Diversity-aware Chinese Modern Poetry Generation System27 Aug 2021
- 2021Language Model Evaluation in Open-ended Text Generation8 Aug 2021
- 2022SSD-LM: Semi-autoregressive Simplex-based Diffusion Language Model for Text Generation and Modular Controlcited by 191
- 2023Diffusion Models in NLP: A Surveycited by 16
- 2023A Survey of Diffusion Models in Natural Language Processingcited by 16
- 2025DoubleGen: Debiased Generative Modeling of Counterfactualscited by 6
- 2025DoubleGen: Debiased Generative Modeling of Counterfactuals20 Sep 2025
- 2023A Survey of Diffusion Models in Natural Language Processing24 May 2023
- 2023Diffusion Models in NLP: A Survey14 Mar 2023
- 2022SSD-LM: Semi-autoregressive Simplex-based Diffusion Language Model for Text Generation and Modular Control31 Oct 2022
- 2026Expert-Space Exploration in MoE Reinforcement Learningcited by 0
- 2026Expert-Space Exploration in MoE Reinforcement Learning11 Sep 2026
- 2025LLM Fingerprinting via Semantically Conditioned Watermarks22 May 2025
- 2022Truncation Sampling as Language Model Desmoothingcited by 121
- 2022Locally Typical Samplingcited by 108
- 2022On Decoding Strategies for Neural Text Generatorscited by 89
- 2023Cost-Effective Hyperparameter Optimization for Large Language Model Generation Inferencecited by 40
- 2022Unified Detoxifying and Debiasing in Language Generation via Inference-time Adaptive Optimizationcited by 32
- 2024Stumbling Blocks: Stress Testing the Robustness of Machine-Generated Text Detectors Under Attackscited by 25
- 2023On the Efficacy of Sampling Adapterscited by 17
- 2021Measuring Uncertainty in Translation Quality Evaluation (TQE)cited by 16
- 2023Look-back Decoding for Open-Ended Text Generationcited by 10
- 2024Growing a Tail: Increasing Output Diversity in Large Language Modelscited by 9
- 2022An Analysis of the Effects of Decoding Algorithms on Fairness in Open-Ended Language Generationcited by 7
- 2022Do DALL-E and Flamingo Understand Each Other?cited by 7
12 most cited of 22 All 22 (JSON)
- 2026Composable Decoding on the Probability Simplex: Theory and Implementation28 Sep 2026
- 2026Are You Sure You're Sure? On the Impact of Instruction Tuning on Confidence and Lexical Diversity13 Aug 2026
- 2025Your Pretrained Model Tells the Difficulty Itself: A Self-Adaptive Curriculum Learning Paradigm for Natural Language Understanding13 Jul 2025
- 2025Advancing Decoding Strategies: Enhancements in Locally Typical Sampling for LLMs3 Jun 2025
- 2025Local Normalization Distortion and the Thermodynamic Formalism of Decoding Strategies for Large Language Models27 Mar 2025
- 2024Growing a Tail: Increasing Output Diversity in Large Language Models5 Nov 2024
- 2024Stumbling Blocks: Stress Testing the Robustness of Machine-Generated Text Detectors Under Attacks18 Feb 2024
- 2023LatticeGen: A Cooperative Framework which Hides Generated Text in a Lattice for Privacy-Aware Generation on Cloud29 Sep 2023
- 2023On the Efficacy of Sampling Adapters7 Jul 2023
- 2023Look-back Decoding for Open-Ended Text Generation22 May 2023
- 2023How do decoding algorithms distribute information in dialogue responses?29 Mar 2023
- 2023Cost-Effective Hyperparameter Optimization for Large Language Model Generation Inference8 Mar 2023
12 newest of 22 All 22 (JSON)