Correcting Diverse Factual Errors in Abstractive Summarization via Post-Editing and Language Model Infilling

Vidhisha Balachandran, Hannaneh Hajishirzi, William W. Cohen, Yulia Tsvetkov

Abstract

Abstractive summarization models often generate fluent but factually inconsistent summaries, a phenomenon known as "hallucination." We present FACTEDIT, a post-editing framework designed to rectify these errors. By utilizing an Infilling Language Model to generate "hard" synthetic adversarial training data, FACTEDIT moves beyond simple heuristic-based error injection. Our approach achieves significant improvements in factuality scores—up to 31 points on the XSum dataset—while maintaining high linguistic quality and generalizing effectively across various summarization architectures.

Introduction

While large pre-trained models like BART or PEGASUS produce human-like prose, they frequently swap entities, mangle dates, or invent relationships between subjects. Post-editing—taking a generated summary and "translating" it into a factual version—offers a promising solution. However, training such models requires pairs of incorrect and correct summaries. Traditional methods rely on simple heuristic rules (e.g., swapping "Paris" for "London") to create synthetic data, but these fail to capture the complex, nuanced discourse-level errors found in real model outputs.

Methodology

FACTEDIT addresses the data scarcity problem through a novel adversarial generation strategy and a context-aware correction model.

Adversarial Data Generation

Instead of simple rules, FACTEDIT uses an Infilling Language Model ($M_I$) to create realistic training data. Key phrases in a reference summary are masked, and $M_I$ is tasked with filling them. By sampling from lower-ranked beam search candidates (ranks 5-15), the system produces "hard" negatives: phrases that are fluent and contextually plausible but factually wrong. This forces the correction model to rely on the source document rather than linguistic anomalies alone.

The FACTEDIT adversarial data generation process: An infilling language model fills masked reference summaries with plausible but incorrect candidates to create training data.

Fact Correction Model ($M_C$)

The correction model is trained to map corrupted summaries back to their original, correct reference. To resolve complex errors, $M_C$ is provided with the incorrect sentence, the full surrounding summary context, and the most relevant passages from the source document. Additionally, 20% of the training data consists of original, correct summaries to teach the model to avoid "over-correction" of already accurate text.

Evaluation and Results

The authors evaluated FACTEDIT on the CNN/DailyMail and XSum datasets, as well as the FRANK benchmark, which includes outputs from nine different summarization models.

  • Factuality Boost: On the Ent-DAE entailment-based metric, FACTEDIT improved scores by approximately 11 points on CNN/DM and 31 points on XSum.
  • Generalization: FACTEDIT improved factuality for 8 out of 9 models in the FRANK benchmark, demonstrating its ability to handle diverse error distributions from models it did not see during training.
  • Contextual Importance: Providing full summary context proved vital for fixing discourse errors, such as incorrect pronoun references that span multiple sentences.

Conclusion

FACTEDIT demonstrates that high-quality, plausible synthetic data is key to training effective fact-correction models. By leveraging infilling language models to mimic real-world hallucinations, the framework significantly reduces factual errors in abstractive summaries. Future work will focus on integrating error detection and correction into a single unified architecture and improving the computational efficiency of the post-editing step.

Summary updated

BibTeX
@inproceedings{balachandran2022correcting,
  author = {Vidhisha Balachandran and Hannaneh Hajishirzi and William W. Cohen and Yulia Tsvetkov},
  title = {{Correcting Diverse Factual Errors in Abstractive Summarization via Post-Editing and Language Model Infilling}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2022},
  doi = {10.18653/v1/2022.emnlp-main.667},
}
Figure