Skip to main content
QUICK REVIEW

[Paper Review] On Hallucination and Predictive Uncertainty in Conditional Language Generation

Yijun Xiao, William Yang Wang|arXiv (Cornell University)|Mar 28, 2021
Multimodal Machine Learning ApplicationsComputer Science34 references16 citations
TL;DR

This paper investigates the link between hallucination and predictive uncertainty in conditional language generation, proposing an uncertainty-aware beam search (UABS) that reduces hallucinations by penalizing epistemic uncertainty during decoding. Results show that higher epistemic uncertainty correlates strongly with hallucination, and UABS achieves better trade-offs between generation quality and factual consistency than standard beam search.

ABSTRACT

Despite improvements in performances on different natural language generation tasks, deep neural models are prone to hallucinating facts that are incorrect or nonexistent. Different hypotheses are proposed and examined separately for different tasks, but no systematic explanations are available across these tasks. In this study, we draw connections between hallucinations and predictive uncertainty in conditional language generation. We investigate their relationship in both image captioning and data-to-text generation and propose a simple extension to beam search to reduce hallucination. Our analysis shows that higher predictive uncertainty corresponds to a higher chance of hallucination. Epistemic uncertainty is more indicative of hallucination than aleatoric or total uncertainties. It helps to achieve better results of trading performance in standard metric for less hallucination with the proposed beam search variant.

Motivation & Objective

  • To investigate the relationship between hallucination and predictive uncertainty across conditional NLG tasks like image captioning and data-to-text generation.
  • To determine whether uncertainty quantification can serve as a unified explanation for hallucination across diverse NLG tasks.
  • To develop a decoding method that reduces hallucination by incorporating uncertainty estimates into beam search.
  • To evaluate whether uncertainty decomposition (epistemic vs. aleatoric) improves the performance-hallucination trade-off.

Proposed method

  • The authors model predictive uncertainty using entropy of token probability distributions, decomposing it into epistemic and aleatoric components via Bayesian neural networks.
  • They propose Uncertainty-Aware Beam Search (UABS), which modifies the beam search scoring function by adding a penalty term based on predictive uncertainty.
  • The penalty is applied to either total, epistemic, or aleatoric uncertainty, with the goal of favoring lower-uncertainty, more reliable generations.
  • UABS is evaluated on image captioning and data-to-text generation benchmarks using standard metrics and hallucination detection via task-specific heuristics.
  • Epistemic uncertainty is estimated using Monte Carlo dropout, while aleatoric uncertainty is derived from the variance of predictions across multiple forward passes.
  • The method is validated by comparing generation quality (e.g., BLEU, ROUGE) against hallucination rates under different uncertainty penalties.

Experimental results

Research questions

  • RQ1Is there a consistent relationship between predictive uncertainty and hallucination across different conditional NLG tasks?
  • RQ2Which type of uncertainty—epistemic, aleatoric, or total—is most predictive of hallucination?
  • RQ3Can incorporating uncertainty into beam search decoding effectively reduce hallucination without severely degrading generation quality?
  • RQ4Does uncertainty decomposition enable better trade-offs between performance and factual consistency in NLG?

Key findings

  • Higher predictive uncertainty, especially epistemic uncertainty, is strongly correlated with an increased likelihood of hallucination in generated text.
  • Penalizing epistemic uncertainty during decoding leads to significantly lower hallucination rates compared to penalizing aleatoric or total uncertainty.
  • The proposed Uncertainty-Aware Beam Search (UABS) achieves a better trade-off between standard generation metrics and hallucination reduction than standard beam search.
  • UABS generates shorter but more confident and factually consistent outputs, particularly when epistemic uncertainty is penalized.
  • The results suggest that epistemic uncertainty is a more reliable indicator of hallucination than aleatoric uncertainty, as it reflects model uncertainty about the input context.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.