Abstract
Abstractive summarization models often hallucinate information not present in source documents, limiting their reliability. We present Counterfactual Consistency (CoCo), a metric that uses causal inference to isolate the influence of the source document from the model's internal language prior. By estimating the counterfactual probability of generated tokens when source context is masked, CoCo provides a robust, efficient measure of factual consistency that significantly outperforms existing overlap-based and QA-based metrics.
Introduction
Modern abstractive summarization models generate highly fluent text, but they suffer from a major flaw: hallucinations. They frequently generate "facts" that are not present in the source document. Evaluating this factual inconsistency automatically is a massive challenge. Traditional n-gram metrics like ROUGE or BLEU only measure lexical overlap and correlate poorly with human judgments of factuality. Newer semantic metrics (like BERTScore) capture similarity but miss subtle factual errors.
To address this, the field has recently pivoted to using auxiliary tasks—like generating questions from the summary and trying to answer them using the source document (QA-based metrics). However, these pipeline approaches are computationally expensive, prone to compounding errors, and require massive task-specific datasets. This paper argues that existing metrics ignore the intrinsic cause of hallucinations: models rely too heavily on the "language prior" (spurious correlations learned during pretraining) rather than the actual source document.
Methodology: A Causal Perspective
The authors frame text summarization through the lens of causal inference. When a model generates a summary ($Y$), it is influenced by two main causes: the source document ($X$) and the model's language prior ($K$). To measure true factual consistency, we need to isolate the causal effect of the source document ($X \rightarrow Y$) and remove the effect of the language prior ($K \rightarrow Y$).
This isolation is achieved via counterfactual estimation. The process involves four key steps:
- Identify Key Tokens: Extract important words (nouns, verbs) from the generated summary using a POS tagger.
- Calculate Factual Probability: Use an independent scoring model (e.g., BART) to calculate the probability of generating those key tokens given the full source document.
- Calculate Counterfactual Probability: Mask the relevant context in the source document and calculate the probability of generating those same tokens. If the model still predicts the token with high probability despite the source information being missing, it indicates the token is being hallucinated from the language prior.
- Compute CoCo Score: The final CoCo score is the difference between the factual probability and the counterfactual probability.
Experimental Setup
The authors evaluated CoCo on three public abstractive summarization datasets featuring human annotations for factual consistency:
- QAGS-CNN/DM: 235 instances from the CNN/Daily Mail test set.
- QAGS-XSUM: 239 instances from the XSUM dataset, featuring synthetic summaries generated by BART.
- SUMMEVAL: 1,200 abstractive summaries derived from 100 CNN/Daily Mail test documents, evaluated by expert human annotators.
Key Results and Discussion
CoCo significantly outperforms existing metrics across all benchmarks. As shown in the results table, CoCo (using sentence-level masking) achieved a Pearson correlation of 58.84% with human judgments on the QAGS-CNN/DM dataset, substantially higher than ROUGE-1 (29.01%), BERTScore (37.41%), and even state-of-the-art QA-based metrics like QuestEval (49.18%).
Several critical insights emerged from the study:
- Hallucinations as Causal Failures: By viewing generation as a combination of source reliance and language prior reliance, we can mathematically penalize text that sounds plausible but isn't grounded in the input.
- The Importance of Masking Granularity: Sentence-level masking was found to be the most effective strategy. Token-level masking is often too narrow, allowing the model to infer missing words from surrounding context, while document-level masking destroys too much context to be useful.
- Efficiency and Robustness: Unlike QA pipelines, CoCo requires only a single forward pass of a standard sequence-to-sequence model. Furthermore, the metric remains highly effective regardless of the underlying scoring model used (BART, BERT, T5, or PEGASUS).
Conclusion
CoCo offers a principled and efficient alternative to complex evaluation pipelines for factual consistency. By leveraging counterfactual estimation, it directly targets the root cause of hallucinations in abstractive models. Future work may involve integrating this counterfactual logic directly into model training to actively suppress hallucinations during the generation process.
Summary updated