Entity-based SpanCopy for Abstractive Summarization to Improve the Factual Consistency

Wen Xiao, Giuseppe Carenini

TL;DR

This paper introduces "SpanCopy," a novel mechanism for abstractive summarization that directly copies named entities from source documents into generated summaries. This approach significantly improves factual consistency by reducing "hallucinated" entities, without sacrificing the saliency of the generated summaries.

What Problem Does This Paper Address?

Abstractive text summarization aims to generate concise and fluent summaries of longer documents. While modern neural models achieve impressive fluency and ROUGE scores, they often suffer from factual inconsistencies. These inconsistencies can manifest as entities mentioned in the summary that are not present in the source document (hallucinations) or as incorrect relationships between entities. This paper specifically targets the problem of entity-level factual inconsistency, aiming to ensure that entities in the summary are grounded in the source text.

Methods

The core contribution is the SpanCopy mechanism, which is integrated into the decoding step of a standard sequence-to-sequence summarization model (like PEGASUS). Instead of solely relying on generating tokens from a vocabulary, SpanCopy introduces two new components:

  • Span Copier: This module identifies named entities in the source document and learns to directly copy them into the summary. It uses an attention mechanism to determine the likelihood of copying each entity.
  • Copy Gate: This component acts as a classifier, predicting the probability of either generating a token from the vocabulary or copying an entity at each decoding step.

The model's final output probability distribution is a combination of vocabulary generation probabilities and entity copying probabilities.

To further enhance the identification of important entities, the authors also propose a Global Relevance (GR) component. This component acts as an auxiliary task, predicting the likelihood of each source entity appearing in the final summary. This prediction is used as a prior distribution for the Span Copier, helping the model focus on more "summary-worthy" entities.

The loss function is a standard cross-entropy loss, adapted to handle both vocabulary tokens and entity copies. The GR component is trained with an additional auxiliary loss.

Datasets

The authors evaluate their approach on four standard summarization datasets:

  • CNNDM: News articles.
  • XSum: News articles (known for high abstractiveness).
  • PubMed: Scientific papers.
  • arXiv: Scientific papers.

They also create "filtered" subsets of these datasets where all entities in the ground-truth summaries are guaranteed to be present in the source documents. This allows for a sanity check to ensure SpanCopy performs as expected when factual consistency is inherently high.

Key Insights and Ideas

  • Direct Entity Copying is Powerful: The fundamental idea that directly copying entities from the source can significantly improve factual consistency is a key insight. This bypasses the model's tendency to "hallucinate" entities during generation.
  • Discourse-Awareness Matters for Factuality: The paper reinforces the importance of discourse-level understanding (specifically entity relationships) for generating factually accurate summaries.
  • Balancing Saliency and Consistency: A crucial challenge is improving factual consistency without negatively impacting the summary's relevance (saliency). SpanCopy aims to achieve this balance by only copying relevant entities.
  • Global Relevance as a Prior: The GR component highlights the idea that not all entities are equally important for a summary. Learning to predict which entities are "summary-worthy" can guide the copying process more effectively.
  • Filtered Datasets as a Useful Benchmark: The creation of filtered datasets provides a controlled environment to isolate the impact of the SpanCopy mechanism on factual consistency, showing its strong performance when the task is simplified.

Key Results

  • Filtered Datasets: SpanCopy significantly outperforms PEGASUS on the filtered datasets, achieving higher entity-level factual consistency (srcp) with minimal impact on saliency metrics.
  • Original Datasets: On the more challenging original datasets, SpanCopy consistently improves factual consistency (srcp) across all datasets, with an average gain of +2.13, while maintaining very similar saliency performance (average ROUGE change of -0.06).
  • SpanCopy vs. SpanCopy+GR: On filtered datasets, SpanCopy+GR often shows slight improvements in saliency and factual consistency. However, on original datasets, SpanCopy generally performs better or comparably, suggesting that the GR component might sometimes over-emphasize less salient entities.
  • Qualitative Example: The paper provides a compelling example from CNNDM where PEGASUS hallucinates an entity ("Ivan Watson"), while SpanCopy and SpanCopy+GR correctly avoid this hallucination.

Limitations and Future Work

  • NER Tool Dependency: The performance of SpanCopy is dependent on the quality of the Named Entity Recognition (NER) tool used to identify entities. For domain-specific summarization (e.g., medical text), a specialized NER tool might be necessary.
  • Decoder-Only Models: While the SpanCopy mechanism is designed to be compatible with decoder-only models, the paper primarily focuses on encoder-decoder architectures. Extending it to decoder-only models is a future research direction.
  • Controllable Generation: The authors plan to explore controllable generation, allowing users to specify desired entities for the summary.
  • Long Documents and Sparse Attention: For very long documents, the current approach might benefit from sparse attention techniques.
  • Ethical Considerations: The authors acknowledge that even with improved factual consistency, generated summaries may still contain unfactual information, and caution is advised when deploying the model.

Summary updated

BibTeX
@inproceedings{xiao2023entity,
  author = {Wen Xiao and Giuseppe Carenini},
  title = {{Entity-based SpanCopy for Abstractive Summarization to Improve the Factual Consistency}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2023},
}
Figure