[Paper Review] Hallucinated but Factual! Inspecting the Factuality of Hallucinations in Abstractive Summarization
This paper proposes a novel method to distinguish factual from non-factual hallucinations in abstractive summarization by leveraging prior and posterior probabilities from masked language models. It demonstrates that factual hallucinations—common in state-of-the-art models like BART—are often beneficial and can be detected with high accuracy, outperforming baselines and enabling improved factuality in reinforcement learning fine-tuning without sacrificing abstractiveness.
State-of-the-art abstractive summarization systems often generate \emph{hallucinations}; i.e., content that is not directly inferable from the source text. Despite being assumed incorrect, we find that much hallucinated content is factual, namely consistent with world knowledge. These factual hallucinations can be beneficial in a summary by providing useful background information. In this work, we propose a novel detection approach that separates factual from non-factual hallucinations of entities. Our method utilizes an entity's prior and posterior probabilities according to pre-trained and finetuned masked language models, respectively. Empirical results suggest that our approach vastly outperforms two baselines %in both accuracy and F1 scores and strongly correlates with human judgments. % on factuality classification tasks. Furthermore, we show that our detector, when used as a reward signal in an off-line reinforcement learning (RL) algorithm, significantly improves the factuality of summaries while maintaining the level of abstractiveness.
Motivation & Objective
- To investigate whether hallucinated content in abstractive summarization is always incorrect, challenging the assumption that all hallucinations are detrimental.
- To develop a method that distinguishes factual hallucinations (consistent with world knowledge) from non-factual ones (factually incorrect).
- To create a human-annotated dataset for entity-level hallucination and factuality on the XSum dataset.
- To evaluate whether the proposed detector can serve as an effective reward signal in off-line reinforcement learning for improving summary factuality.
- To analyze the origin of factual hallucinations by tracing whether they stem from pre-training or fine-tuning data distributions.
Proposed method
- The method uses a KNN classifier that combines an entity’s prior probability (from a pre-trained masked language model) and posterior probability (from a fine-tuned masked language model given the source document) as features.
- Prior probability is computed as the likelihood of an entity in the pre-trained language model’s vocabulary, independent of the source text.
- Posterior probability is computed as the likelihood of the entity given the source document context, using a fine-tuned masked language model.
- The classifier is trained on a newly created entity-level hallucination and factuality annotation on the XSum dataset, with labels indicating whether an entity is hallucinated and whether it is factual.
- The detector is integrated as a reward signal in an off-line reinforcement learning framework to optimize summarization models for higher factuality.
- The model’s knowledge origin is traced by comparing posterior probabilities from two CMLMs: one fine-tuned on XSum and one on CNN/DM, using a log-odds ratio to identify data sources.
Experimental results
Research questions
- RQ1Are hallucinated entities in abstractive summarization always factually incorrect, or can they be factual and beneficial?
- RQ2Can prior and posterior probabilities from masked language models reliably distinguish factual from non-factual hallucinations at the entity level?
- RQ3Does using the proposed detector as a reward signal in off-line reinforcement learning improve the factuality of generated summaries without reducing abstractiveness?
- RQ4Where do factual hallucinations originate—pre-training data or fine-tuning data (e.g., XSum)?
- RQ5How does the proposed method compare to existing baselines in detecting non-factual hallucinations and correlating with human judgments?
Key findings
- The proposed method outperforms two baselines in detecting non-factual hallucinations on both the human-annotated XSum dataset and the Maynez et al. (2020) dataset.
- The method achieves a factuality F1 score of 91.91 on the XEnt test set, significantly outperforming the baseline methods.
- The detector shows strong correlation with human-annotated factuality scores, indicating reliable alignment with human judgment.
- When used as a reward signal in off-line RL, the method improves summary factuality while maintaining ROUGE scores, demonstrating a better factuality-abstractiveness trade-off than the loss truncation baseline.
- Abllation studies confirm that both prior and posterior probabilities are essential, with posterior probability being especially critical for factuality classification.
- Factual hallucinations with high σ(eₖ) values (indicating higher confidence in XSum than CNN/DM) are found to originate primarily from the XSum training set, as shown by TF-IDF retrieval and frequency analysis.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.