mlsanityData to 7 Oct 2026

A Systematic Characterization of Sampling Algorithms for Open-ended Language Generation

arXiv 2009.07243 ↗First posted 15 Sep 2020cs.CL cs.AI cs.LGcited by 28

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

Cited by year (2026 to 7 Oct)

Citing papers per year: 2021: 3; 2022: 8; 2023: 7; 2024: 2; 2025: 5; 2026: 3.

28 papers.

Sort:

By area:

  1. 2022SSD-LM: Semi-autoregressive Simplex-based Diffusion Language Model for Text Generation and Modular Controlcited by 191
  2. 2022Truncation Sampling as Language Model Desmoothingcited by 121
  3. 2022Locally Typical Samplingcited by 108
  4. 2022On Decoding Strategies for Neural Text Generatorscited by 89
  5. 2023Cost-Effective Hyperparameter Optimization for Large Language Model Generation Inferencecited by 40
  6. 2022Unified Detoxifying and Debiasing in Language Generation via Inference-time Adaptive Optimizationcited by 32
  7. 2024Stumbling Blocks: Stress Testing the Robustness of Machine-Generated Text Detectors Under Attackscited by 25
  8. 2023On the Efficacy of Sampling Adapterscited by 17
  9. 2021Measuring Uncertainty in Translation Quality Evaluation (TQE)cited by 16
  10. 2023Diffusion Models in NLP: A Surveycited by 16
  11. 2023A Survey of Diffusion Models in Natural Language Processingcited by 16
  12. 2023Look-back Decoding for Open-Ended Text Generationcited by 10
16 more
  1. 2024Growing a Tail: Increasing Output Diversity in Large Language Modelscited by 9
  2. 2022An Analysis of the Effects of Decoding Algorithms on Fairness in Open-Ended Language Generationcited by 7
  3. 2022Do DALL-E and Flamingo Understand Each Other?cited by 7
  4. 2025LLM Fingerprinting via Semantically Conditioned Watermarkscited by 7
  5. 2025DoubleGen: Debiased Generative Modeling of Counterfactualscited by 6
  6. 2021Lingxi: A Diversity-aware Chinese Modern Poetry Generation Systemcited by 4
  7. 2025Advancing Decoding Strategies: Enhancements in Locally Typical Sampling for LLMscited by 4
  8. 2022A Continuum of Generation Tasks for Investigating Length Bias and Degenerate Repetitioncited by 3
  9. 2023How do decoding algorithms distribute information in dialogue responses?cited by 3
  10. 2025Local Normalization Distortion and the Thermodynamic Formalism of Decoding Strategies for Large Language Modelscited by 3
  11. 2025Your Pretrained Model Tells the Difficulty Itself: A Self-Adaptive Curriculum Learning Paradigm for Natural Language Understandingcited by 3
  12. 2021Language Model Evaluation in Open-ended Text Generationcited by 2
  13. 2023LatticeGen: A Cooperative Framework which Hides Generated Text in a Lattice for Privacy-Aware Generation on Cloudcited by 2
  14. 2026Are You Sure You're Sure? On the Impact of Instruction Tuning on Confidence and Lexical Diversitycited by 0
  15. 2026Expert-Space Exploration in MoE Reinforcement Learningcited by 0
  16. 2026Composable Decoding on the Probability Simplex: Theory and Implementationcited by 0