mlsanityData to 7 Oct 2026

DiffSampling: Enhancing Diversity and Accuracy in Neural Text Generation

arXiv 2502.14037 ↗First posted 19 Feb 2025cs.CL cs.AI cs.LGcited by 2

Not on the map. Why?

Abstract (arXiv)

Despite their growing capabilities, language models still frequently reproduce content from their training data, generate repetitive text, and favor common grammatical patterns and vocabulary. A possible cause is the decoding strategy: the most common strategies either consider only the most probable tokens, which reduces output diversity, or increase the likelihood of unlikely tokens, compromising output accuracy and correctness. In this paper, we propose DiffSampling, a new decoding method that leverages a mathematical analysis of the token probability distribution to ensure the generation of contextually appropriate text. In particular, the difference between consecutive, sorted probabilities can be used to truncate incorrect tokens. In addition, we also propose two variations of the proposed method that aim to correct the subtle inconsistencies of common sampling strategies. Experiments involving four different text-generation tasks demonstrate that our approach consistently performs at least on par with the existing methods it builds upon in terms of quality, despite sampling from a larger set of tokens.

Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Builds on 33 of its 51 references that are in the map. First posted on arXiv 19 Feb 2025.

Builds on

33 of 51 references.

References · 33

  1. 2024The Llama 3 Herd of Modelscited by 14,192
  2. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
  3. 2021Training Verifiers to Solve Math Word Problemscited by 9,743
  4. 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,049
  5. 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 7,916
  6. 2021Measuring Mathematical Problem Solving With the MATH Datasetcited by 5,203
  7. 2021On the Opportunities and Risks of Foundation Modelscited by 3,961
  8. 2019The Curious Case of Neural Text Degenerationcited by 2,881
  9. 2023Sparks of Artificial General Intelligence: Early experiments with GPT-4cited by 2,579
  10. 2020Learning to summarize from human feedbackcited by 2,562
  11. 2021SimCSE: Simple Contrastive Learning of Sentence Embeddingscited by 2,168
  12. 2020Extracting Training Data from Large Language Modelscited by 2,144
21 more
  1. 2018Don't Give Me the Details, Just the Summary! Topic-Aware Convolutional Neural Networks for Extreme Summarizationcited by 1,308
  2. 2018Hierarchical Neural Story Generationcited by 1,182
  3. 2023Llama Guard: LLM-based Input-Output Safeguard for Human-AI Conversationscited by 1,124
  4. 2023MetaMath: Bootstrap Your Own Mathematical Questions for Large Language Modelscited by 724
  5. 2022Contrastive Decoding: Open-ended Text Generation as Optimizationcited by 598
  6. 2023Understanding the Effects of RLHF on LLM Generalisation and Diversitycited by 386
  7. 2022A Contrastive Framework for Neural Text Generationcited by 224
  8. 2024Turning Up the Heat: Min-p Sampling for Creative and Coherent LLM Outputscited by 148
  9. 2020Evaluating the Evaluation of Diversity in Natural Language Generationcited by 127
  10. 2022Truncation Sampling as Language Model Desmoothingcited by 121
  11. 2022Locally Typical Samplingcited by 108
  12. 2024Is Temperature the Creativity Parameter of Large Language Models?cited by 92
  13. 2020A Theoretical Analysis of the Repetition Problem in Text Generationcited by 83
  14. 2024Curiosity-driven Red-teaming for Large Language Modelscited by 83
  15. 2019Comparison of Diverse Decoding Methods from Conditional Language Modelscited by 78
  16. 2023On the Creativity of Large Language Modelscited by 57
  17. 2024Linguistic Bias in ChatGPT: Language Models Reinforce Dialect Discriminationcited by 55
  18. 2023Probing the Creativity of Large Language Models: Can models produce divergent semantic association?cited by 31
  19. 2024Revisiting Zero-Shot Abstractive Summarization in the Era of Large Language Models from the Perspective of Position Biascited by 28
  20. 2022Rethinking and Refining the Distinct Metriccited by 27
  21. 2023Playing with words: Comparing the vocabulary and lexical diversity of ChatGPT and humanscited by 8

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 1; 2026: 1.

2 papers.