REAL Sampling: Boosting Factuality and Diversity of Open-Ended Generation via Asymptotic Entropy
Haw-Shiuan Chang, Nanyun Peng, Mohit Bansal, Anil Ramakrishna,, Tagyoung Chung

TL;DR
This paper introduces REAL sampling, a novel decoding method for large language models that adaptively balances factuality and diversity by predicting hallucination likelihood through asymptotic entropy extrapolation.
Contribution
REAL sampling is the first method to predict step-wise hallucination likelihood using asymptotic entropy, improving factuality and diversity simultaneously in LLM generation.
Findings
REAL sampling outperforms existing methods in factuality and diversity metrics.
A 70M THF model effectively predicts hallucination likelihood without supervision.
Unsupervised asymptotic entropy signals can detect hallucinations accurately.
Abstract
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 . 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.,…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsBayesian Methods and Mixture Models
