mlsanityData to 14 Oct 2026

REAL Sampling: Boosting Factuality and Diversity of Open-Ended Generation via Asymptotic Entropy

arXiv 2406.07735 ↗First posted 11 Jun 2024cs.CL cs.LGcited by 11

Not on the map. Why?

Abstract (arXiv)

Decoding methods for large language models (LLMs) usually struggle with the tradeoff between ensuring factuality and maintaining diversity. For example, a higher p threshold in the nucleus (top-p) sampling increases the diversity but decreases the factuality, and vice versa. In this paper, we propose REAL (Residual Entropy from Asymptotic Line) sampling, a decoding method that achieves improved factuality and diversity over nucleus sampling by predicting an adaptive threshold of p. Specifically, REAL sampling predicts the step-wise likelihood of an LLM to hallucinate, and lowers the p threshold when an LLM is likely to hallucinate. Otherwise, REAL sampling increases the p threshold to boost the diversity. To predict the step-wise hallucination likelihood without supervision, we construct a Token-level Hallucination Forecasting (THF) model to predict the asymptotic entropy (i.e., inherent uncertainty) of the next token by extrapolating the next-token entropies from a series of LLMs with different sizes. If a LLM's entropy is higher than the asymptotic entropy (i.e., the LLM is more uncertain than it should be), the THF model predicts a high hallucination hazard, which leads to a lower p threshold in REAL sampling. In the FactualityPrompts benchmark, we demonstrate that REAL sampling based on a 70M THF model can substantially improve the factuality and diversity of 7B LLMs simultaneously, judged by both retrieval-based metrics and human evaluation. After combined with contrastive decoding, REAL sampling outperforms 9 sampling methods, and generates texts that are more factual than the greedy sampling and more diverse than the nucleus sampling with p=0.5. Furthermore, the predicted asymptotic entropy is also a useful unsupervised signal for hallucination detection tasks.

Key facts. Cited by 11 papers in the map (data through 14 Oct 2026). Builds on 47 of its 63 references that are in the map. First posted on arXiv 11 Jun 2024.

Builds on

47 of 63 references.

References · 47

  1. 2023GPT-4 Technical Reportcited by 18,396
  2. 2022Training language models to follow instructions with human feedbackcited by 15,971
  3. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
  4. 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,708
  5. 2023Tree of Thoughts: Deliberate Problem Solving with Large Language Modelscited by 3,211
  6. 2019The Curious Case of Neural Text Degenerationcited by 2,916
  7. 2023Pythia: A Suite for Analyzing Large Language Models Across Training and Scalingcited by 1,786
  8. 2023A Survey on Hallucination in Large Language Models: Principles, Taxonomy, Challenges, and Open Questionscited by 1,601
  9. 2022Competition-Level Code Generation with AlphaCodecited by 1,462
  10. 2018FEVER: a large-scale dataset for Fact Extraction and VERificationcited by 1,375
  11. 2023Inference-Time Intervention: Eliciting Truthful Answers from a Language Modelcited by 1,302
  12. 2018Hierarchical Neural Story Generationcited by 1,193
35 more
  1. 2015A Diversity-Promoting Objective Function for Neural Conversation Modelscited by 1,077
  2. 2023SelfCheckGPT: Zero-Resource Black-Box Hallucination Detection for Generative Large Language Modelscited by 810
  3. 2022Discovering Latent Knowledge in Language Models Without Supervisioncited by 767
  4. 2023The Internal State of an LLM Knows When It's Lyingcited by 659
  5. 2022Contrastive Decoding: Open-ended Text Generation as Optimizationcited by 609
  6. 2023DoLa: Decoding by Contrasting Layers Improves Factuality in Large Language Modelscited by 376
  7. 2023Trusting Your Evidence: Hallucinate Less with Context-aware Decodingcited by 327
  8. 2023How Language Model Hallucinations Can Snowballcited by 311
  9. 2024A Comprehensive Survey of Hallucination Mitigation Techniques in Large Language Modelscited by 269
  10. 2023A Stitch in Time Saves Nine: Detecting and Mitigating Hallucinations of LLMs by Validating Low-Confidence Generationcited by 206
  11. 2022Factuality Enhanced Language Models for Open-Ended Text Generationcited by 202
  12. 2020Detecting Hallucinated Content in Conditional Neural Sequence Generationcited by 152
  13. 2017Controlling Linguistic Style Aspects in Neural Language Generationcited by 149
  14. 2023Emergent and Predictable Memorization in Large Language Modelscited by 148
  15. 2021A Token-level Reference-free Hallucination Detection Benchmark for Free-form Text Generationcited by 138
  16. 2023The Troubling Emergence of Hallucination in Large Language Models -- An Extensive Definition, Quantification, and Prescriptive Remediationscited by 131
  17. 2022Truncation Sampling as Language Model Desmoothingcited by 123
  18. 2023Do Language Models Know When They're Hallucinating References?cited by 116
  19. 2021Neural Path Hunter: Reducing Hallucination in Dialogue Systems via Path Groundingcited by 106
  20. 2023Generating Benchmarks for Factuality Evaluation of Language Modelscited by 105
  21. 2022Mutual Information Alleviates Hallucinations in Abstractive Summarizationcited by 68
  22. 2023Do Androids Know They're Only Dreaming of Electric Sheep?cited by 67
  23. 2018UKP-Athene: Multi-Sentence Textual Entailment for Claim Verificationcited by 60
  24. 2022Contrastive Search Is What You Need For Neural Text Generationcited by 59
  25. 2023The Curious Case of Hallucinatory (Un)answerability: Finding Truths in the Hidden States of Over-Confident Large Language Modelscited by 55
  26. 2023Why Does ChatGPT Fall Short in Providing Truthful Answers?cited by 54
  27. 2023It's MBR All the Way Down: Modern Generation Techniques Through the Lens of Minimum Bayes Riskcited by 51
  28. 2023Language Models Hallucinate, but May Excel at Fact Verificationcited by 37
  29. 2023Faithfulness-Aware Decoding Strategies for Abstractive Summarizationcited by 31
  30. 2023A Closer Look into Automatic Evaluation Using Large Language Modelscited by 17
  31. 2023MixCE: Training Autoregressive Language Models by Mixing Forward and Reverse Cross-Entropiescited by 16
  32. 2023Characterizing Attribution and Fluency Tradeoffs for Retrieval-Augmented Large Language Modelscited by 13
  33. 2023KL-Divergence Guided Temperature Samplingcited by 9
  34. 2023Fidelity-Enriched Contrastive Search: Reconciling the Faithfulness-Diversity Trade-Off in Text Generationcited by 8
  35. 2024Entropy Guided Extrapolative Decoding to Improve Factuality in Large Language Modelscited by 4

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2024: 3; 2025: 5; 2026: 3.

11 papers.