Evaluating Factual Consistency of Summaries with Large Language Models

Shiqi Chen, Siyang Gao, Junxian HearXiv 2023 · DOI

Abstract

Recent advancements in Large Language Models (LLMs) have opened new avenues for evaluating the factual consistency of AI-generated summaries. This paper demonstrates that models such as GPT-4 and ChatGPT can serve as highly effective evaluators when paired with specialized prompting techniques. Specifically, a "sentence-by-sentence" (SbS) approach allows LLMs to significantly outperform previous state-of-the-art specialized models, achieving improvements in binary classification accuracy of up to 12.2 absolute points.

Introduction

The "hallucination" problem remains a significant hurdle in text summarization, where models generate facts absent from the source text. Traditional metrics like ROUGE, which rely on word overlap, fail to detect these semantic inaccuracies. While previous research focused on specialized "factuality evaluators" using Natural Language Inference (NLI) or Question Answering (QA), these models often lack robustness. This study explores whether the emergent reasoning capabilities of general-purpose LLMs can effectively replace these specialized systems through strategic prompting.

Methodology

The researchers frame factual consistency as an entailment task: determining if a source document ($x$) entails a summary ($y$). They investigated three primary prompting strategies:

  1. Vanilla Prompting: A direct "Yes/No" inquiry regarding the inferability of the summary.
  2. Chain-of-Thought (CoT) Prompting: Instructing the model to extract supporting evidence before rendering a judgment.
  3. Sentence-by-Sentence (SbS) Prompting: Decomposing long summaries into individual sentences for independent verification, thereby reducing cognitive load and improving reliability.
Comparison of Vanilla, Chain-of-Thought, and Sentence-by-Sentence prompting strategies.

The evaluation included five models: GPT-4, ChatGPT, text-davinci-003, code-davinci-002, and Flan-T5 (11B).

Experimental Setup and Datasets

The models were benchmarked across five diverse datasets using the AggreFact framework to ensure high-quality, expert-annotated data:

  • SummEval: Multi-sentence summaries based on CNN/DailyMail.
  • XSumFaith & XSumSota: Highly abstractive, single-sentence summaries where hallucinations are frequent.
  • FactCC & Frank: Standard benchmarks for comparing against older specialized systems.

Key Insights

The Efficacy of Decomposition

The Sentence-by-Sentence (SbS) method emerged as the most effective strategy. By breaking summaries into smaller, manageable units, models achieved reliability gains of over 10 points in some instances compared to checking the entire summary at once.

Chain-of-Thought Limitations

Contrary to expectations, CoT prompting often degraded performance. Factual consistency appears to be more of a direct matching task than a complex reasoning exercise; the additional steps in CoT may introduce opportunities for the model to deviate from the source text or introduce irrelevant information.

Example of Vanilla vs. Chain-of-Thought prompting for factual consistency.

Model Performance and the "Abstractive Gap"

While GPT-4 led the field, the open-source Flan-T5 (11B) performed remarkably well, highlighting the importance of instruction-tuning over raw parameter count. However, an "abstractive gap" remains: all models performed better on summaries close to the source text than on highly abstractive ones like XSum, where identifying rephrased facts remains a challenge.

Results

LLM-based prompting established a new state-of-the-art, surpassing previous specialized systems like QAFactEval and SummaC across all benchmarks. On the SummEval benchmark, LLMs achieved a 12.2 absolute point improvement. GPT-4 and text-davinci-003 were the most robust evaluators, with GPT-4 reaching 88.8% balanced accuracy on SummEval.

Conclusion and Future Work

While LLMs represent a significant leap forward, they have not yet reached human-level performance, particularly on highly abstractive datasets. Future research may focus on using high-performing LLMs to generate synthetic data for training smaller, more efficient "student" models, and exploring more granular decomposition methods beyond sentence boundaries to further enhance evaluation accuracy.

Summary updated

BibTeX
@misc{chen2023evaluating,
  author = {Shiqi Chen and Siyang Gao and Junxian He},
  title = {{Evaluating Factual Consistency of Summaries with Large Language Models}},
  year = {2023},
  eprint = {2305.14069},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2305.14069},
}
Figure