Inspecting the Factuality of Hallucinated Entities in Abstractive Summarization

Meng Cao, Yue Dong, Jackie Chi Kit Cheung

Introduction: The Nuance of Hallucination

In abstractive summarization, a "hallucination" occurs when a model generates information not present in the source text. Traditionally, all hallucinations have been treated as errors. However, this paper argues that not all hallucinations are created equal. Some are factual hallucinations—true facts pulled from the model's internal world knowledge that provide helpful context—while others are non-factual hallucinations or outright errors.

Conceptual framework of hallucinations in summarization, distinguishing between faithful generation, factual hallucinations, and non-factual hallucinations.

As illustrated in the figure above, faithful generation overlaps with the source document, while factual hallucinations reside at the intersection of the summary and world knowledge, outside the source document's scope. Distinguishing between these categories is crucial for building models that are both knowledgeable and reliable.

The ENTFA Method

The authors introduce ENTFA (Entity Factuality), a detection approach that leverages the relationship between an entity's prior and posterior probabilities:

  1. Prior Probability ($p_{prior}$): Estimated using a Masked Language Model (MLM), representing the likelihood of an entity based on general world knowledge and summary context alone.
  2. Posterior Probability ($p_{pos}$): Estimated using a Conditional Masked Language Model (CMLM), representing the likelihood given both the summary context and the source document.

The core intuition is that for factual entities, the source document should either support them (high posterior) or at least not contradict them. For non-factual hallucinations, the source document does not increase the model's confidence. These probabilities serve as features for a K-Nearest Neighbors (KNN) classifier that labels entities as non-hallucinated, factual hallucinations, or non-factual hallucinations.

Key Insights

Analysis of the XSUM dataset reveals that approximately 30% of entities generated by standard models like BART are hallucinations. Crucially, more than half of these are actually factual. The research also indicates that models often learn these facts not just from pre-training, but from patterns within the specific training dataset. Furthermore, the study confirms a known tension in summarization: higher ROUGE scores often correlate with lower factuality, particularly when training on noisy data.

Results and Impact

ENTFA demonstrates significant improvements over existing baselines in detecting both hallucinations and their factuality.

Performance comparison showing ENTFA significantly outperforming word-overlap and LM-based baselines in both hallucination detection and factuality classification.

As shown in the table, ENTFA achieves a factuality F1 score of 81.82, a substantial leap over the LM-based baseline of 57.80. Beyond detection, the authors integrated ENTFA into a Reinforcement Learning (RL) framework. By using the factuality prediction as a reward signal, they successfully fine-tuned summarization models to prefer factual content, resulting in summaries with higher factuality scores (via DAE and FEQA metrics) without sacrificing abstractiveness.

Conclusion

By distinguishing between helpful factual context and misleading errors, ENTFA provides a more sophisticated lens for evaluating and training summarization models. While currently focused on named entities, this work paves the way for broader semantic factuality checks and more robust AI-generated content.

Summary updated

BibTeX
@inproceedings{cao2022inspecting,
  author = {Meng Cao and Yue Dong and Jackie Chi Kit Cheung},
  title = {{Inspecting the Factuality of Hallucinated Entities in Abstractive Summarization}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2022},
  doi = {10.18653/v1/2022.acl-long.236},
}
Figure