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