Source-linked AI summary
CLIFF: Contrastive Learning for Improving Faithfulness and Factuality in Abstractive Summarization
Shuyang Cao, Lu Wang
TL;DR
Abstractive summarizers are fluent but often factually inconsistent, and maximum-likelihood training does not ensure discrimination between references and incorrect generations. CLIFF trains with contrastive learning over references and automatically generated erroneous summaries, achieving consistent factuality improvements across datasets and models, with human judges finding more corrected errors.
Problem
Abstractive summaries often contain factual inconsistencies, while maximum-likelihood training does not guarantee distinguishing references from incorrect generations.
Source: §1 · p. 1Method
Results
Takeaways & Limitations
Contrastive training helps summarizers discriminate factual summaries from erroneous peers and improves faithfulness across datasets and different large-model backbones.
Source: §8 · p. 9Constructed mask-and-fill negatives can contain drifted topics that summarization models detect easily, producing less efficient training signals.
Source: §5.2 · p. 5
Abstract
from arXiv · showhide
We study generating abstractive summaries that are faithful and factually consistent with the given articles. A novel contrastive learning formulation is presented, which leverages both reference summaries, as positive training data, and automatically generated erroneous summaries, as negative training data, to train summarization systems that are better at distinguishing between them. We further design four types of strategies for creating negative samples, to resemble errors made commonly by two state-of-the-art models, BART and PEGASUS, found in our new human annotations of summary errors. Experiments on XSum and CNN/Daily Mail show that our contrastive learning framework is robust across datasets and models. It consistently produces more factual summaries than strong comparisons with post error correction, entailment-based reranking, and unlikelihood training, according to QA-based factuality evaluation. Human judges echo the observation and find that our model summaries correct more errors.
1 Introduction
CLIFF addresses factual inconsistency in abstractive summaries by training models to distinguish reference summaries from factually incorrect generations. It uses contrastive learning with error-like negative samples and consistently improves factuality across XSum and CNN/DM.
Motivation
- Large pre-trained Transformers produce fluent abstractive summaries but often include factually inconsistent content.Existing remedies include separate error correction, noisy-sample removal, and architecture modification.Source: §1 · p. 1
Results
- CLIFF’s contrastive-learning model correctly generates the full name in the illustrated XSum example, unlike the cross-entropy and entailment-reranking comparisons.The example shows those comparison summaries producing unfaithful content.Source: §1 · p. 1, Figure 1 · p. 1
Motivation
- Maximum-likelihood training optimizes references without guaranteeing that models distinguish references from incorrect generations.CLIFF targets this gap by explicitly informing preferences for factual summaries over incorrect ones.Source: §1 · p. 1
CLIFF framework
- CLIFF uses contrastive learning to expand the margin between factually consistent summaries and incorrect peers.References serve as positive samples, while erroneous summaries serve as negative samples.Source: §1 · pp. 1–2
Negative samples
- Four negative-sample strategies edit references or use system outputs, reflecting errors annotated in BART and PEGASUS summaries on XSum and CNN/DM.The strategies include entity- and relation-anchored rewriting and system-generated summaries with unfaithful errors.Source: §1 · p. 2
Results
- Across XSum and CNN/DM, CLIFF models uniformly outperform post-error correction, entailment reranking, and unlikelihood training on QuestEval.Human evaluation also finds consistent reductions in extrinsic and intrinsic errors.Source: §1 · p. 2
2 Related Work
Prior work improves summary factuality through correction models, architectural changes, and other training strategies, while evaluation increasingly uses entailment and QA-based methods. CLIFF applies contrastive learning to distinguish factual from incorrect summaries.
Factuality improvement
- Prior factuality remedies learn separate correction models, modify sequence-to-sequence architectures, or remove noisy training samples.These approaches target errors through post-generation correction, architectural information, or data filtering.Source: §2 · p. 2
Factuality evaluation
- ROUGE and other word-matching metrics correlate poorly with human-rated factual consistency, motivating automated entailment- and QA-based evaluation.Entailment scorers operate at summary or dependency-relation levels, while QA models assess consistency by reading articles.Source: §2 · p. 2
Negative sampling
- Negative sampling has been studied in grammatical error detection, dialogue systems, word representations, and masked language-model training.Unlikelihood training penalizes negative tokens or sentences in text generation.Source: §2 · pp. 2–3
Contrastive learning
- CLIFF uses contrastive learning to improve representations that distinguish factual summaries from incorrect ones and encourage more faithful generation.This extends contrastive-learning applications from vision and language representation learning to summarization factuality.Source: §2 · p. 3
3 CLIFF: Contrastive Learning Framework for Summarization
CLIFF fine-tunes BART and PEGASUS with contrastive learning that separates faithful reference summaries from erroneous ones. It combines this objective with cross-entropy and explores methods for constructing positive samples and representing summaries.
Contrastive Learning Objective
- CLIFF trains summarizers to prefer faithful summaries over summaries containing factual errors.The contrastive objective compares positive reference summaries with negative erroneous summaries in the same training batch.Source: §3 · p. 3
- Reference summaries form positive samples, while erroneous summaries form negative samples for contrastive training.The objective uses summary representations and cosine similarity, with temperature τ set to 1.0.Source: §3 · p. 3
- Positive and negative summaries are placed in the same batch to maximize positive-sample probabilities and minimize corresponding negative-sample likelihoods.This batch construction helps the model differentiate correct summaries from summaries with errors.Source: §3 · p. 3
Sample Construction
- Back-translation is selected to create multiple positive samples because it preserves meaning while providing language variation.Synonym substitution and masked-language-model replacement were also evaluated in a pilot study.Source: §3 · p. 3
Summary Representation
- Summary representations use decoder last-layer outputs averaged over all tokens, named entities, or the final token, optionally followed by a one-hidden-layer MLP.Entity and parsing information is obtained with spaCy.Source: §3 · p. 3
Training Objective
- The final objective is L = LCE + λLCL, with λ set to 1.0 in all experiments.This combines the typical cross-entropy loss with the contrastive learning loss.Source: §3 · p. 3
4 Summary Error Annotation and Model Behavior Analysis
The authors annotate unfaithfulness in BART- and PEGASUS-based summaries on XSum and CNN/DM, then analyze generation behavior to guide negative-sample design. Extrinsic errors dominate, and low confidence is associated with extrinsic error spans.
Annotation Study
- 600 summaries are annotated for hallucinated content, intrinsic errors, extrinsic errors, and world knowledge across XSum and CNN/DM.Intrinsic errors misconstruct source phrases or clauses, while extrinsic errors introduce unverifiable or unsupported words.Source: §4 · p. 4
- Two experienced English speakers label error and world-knowledge spans while reviewing each article and two system summaries.They discuss disagreements every 50 samples; Fleiss’s Kappa is 0.35 on XSum and 0.45 on CNN/DM.Source: §4 · p. 4
Error Statistics
- Extrinsic errors dominate both datasets: 58.7% of BART summaries and 44.0% of PEGASUS summaries contain at least one.The difference is especially pronounced on XSum.Source: §4 · p. 4
Model Behavior Analysis
- Figure 3 groups first-token generation probabilities for proper nouns and numbers by extrinsic errors, intrinsic errors, world knowledge, and correct tokens.The analysis probes model behavior that can guide negative-sample construction.Source: Figure 3 · p. 4, §4 · p. 4
- Extrinsic-error spans tend to begin with lower-confidence proper-noun or number tokens than world-knowledge spans.In one BART example, “Manchester City” receives probability 0.10, whereas “Wayne” receives 0.92.Source: §4 · p. 4
5 Negative Sample Construction
CLIFF constructs negative summaries through reference editing, mask-and-fill generation, source-conditioned regeneration, and low-confidence system outputs. These strategies target different error types but vary in source grounding and realism.
Overview
- Four negative-sample strategies modify references or use system-generated summaries to approximate unfaithful model outputs.The strategies are designed around errors observed in BART and PEGASUS annotations.Source: §5 · p. 4
Entity Swap
- SWAPENT replaces each reference named entity with a randomly selected source entity of the same type to imitate intrinsic errors.It creates one sample per reference entity and does not depend on a trained model.Source: §5.1 · pp. 4–5
- SWAPENT covers intrinsic errors but lacks extrinsic-error coverage, motivating the subsequent generation-based methods.Its model independence is an advantage, but its error scope is limited.Source: §5.1 · p. 5
Mask-and-fill with BART
- MASKENT masks reference entities and uses an unfine-tuned BART model to generate replacement entities, while MASKREL masks governor and dependent spans to introduce new relations.MASKREL retains samples containing dependency relations absent from both the source and reference.Source: §5.2 · p. 5
- MASKENT and MASKREL can create more extrinsic errors because their generations are not grounded in source articles.They may also drift in topic, producing errors that are easy for the summarizer to detect and therefore weaker training signals.Source: §5.2 · p. 5
Source-conditioned Regeneration
- REGENENT and REGENREL conditionally regenerate content after a reference prefix using a source-reading summarizer and retain samples with new entities or relations.These regenerated negatives are more article-relevant than mask-and-fill samples but may miss errors and differ from real outputs because they modify references.Source: §5.3 · pp. 5–6
System-generated Negatives
- SYSLOWCON selects BART- or PEGASUS-generated summaries when proper-noun or number spans begin below a threshold tuned for maximum F1 on annotated errors.All beams at the last decoding step are considered, using beam sizes 6 for XSum and 4 for CNN/DM.Source: §5.4 · p. 6
6 Experiment Setup
The experiments evaluate factual consistency with QA-based and entailment metrics, compare CLIFF-related alternatives, and analyze metric correlations with annotated summary errors.
Evaluation Metrics
- QuestEval evaluates factual consistency through bidirectional question answering between article and summary, using the harmonic mean of two QA scores.The learned-weight version is reported to correlate highly with human judgments of consistency and relevance.Source: §6 · p. 6
- FactCC measures whether summaries are entailed by the source, while ROUGE-L provides a word-overlap baseline that also correlates with human factuality judgments.Source: §6 · p. 6
- QuestEval correlates better than other metrics with both annotated error-token rates and raw error counts.Source: §6 · p. 6
Comparisons
- Comparisons include cross-entropy training, FactCC beam reranking, post-hoc correction, dependency-clean subset fine-tuning, knowledge-graph modeling, and unlikelihood training.Unlikelihood training penalizes probabilities of tokens in negative samples and is combined with cross-entropy using equal weights.Source: §6 · p. 6
- CLIFF also compares alternative negative samples, including FactCC scorer samples and other summaries in the same batch.Source: §6 · p. 6
7 Results
Across XSum and CNN/DM with BART and PEGASUS, CLIFF generally improves factuality while preserving informativeness, outperforming or exceeding several factuality-improvement comparisons.
Automatic Evaluation
- CLIFF models use averaged all-token summary representations with MLP projection, while experiments compare BART and PEGASUS objectives and negative samples across XSum and CNN/DM.Source: §7.1 · p. 6
- CLIFF models generally achieve higher QuestEval scores across datasets and both base models, with larger improvements on XSum.Source: §7.1 · pp. 6–7
- CLIFF maintains comparable or better ROUGE than cross-entropy baselines, whereas SUBSETFT significantly sacrifices ROUGE and correction or FASUM provide only incremental gains.Source: §7.1 · p. 7
- CLIFF beats unlikelihood training on QuestEval in 12 of 14 BART comparisons and 11 PEGASUS setups using the same negative samples.Similar trends occur for FactCC and ROUGE-L, while unlikelihood training sometimes substantially harms factuality or ROUGE.Source: §7.1 · p. 7
Negative Samples
- Low-confidence summaries produce the best QuestEval scores among CLIFF variants on the more abstractive dataset and improve FactCC on both datasets.They also enhance ROUGE-L on CNN/DM; system-generated summaries provide diverse errors suited to the contrastive framework.Source: §7.1 · p. 7, QEval FC R-L QEval FC R-L · p. 8
- Combining SYSLOWCON with other strategies generally improves QuestEval over individual strategies, indicating that diverse error coverage matters.Source: QEval FC R-L QEval FC R-L · p. 8
Human Evaluation
- Human judges more often rate low-confidence CLIFF summaries as more informative and factual than cross-entropy summaries on XSum, while negative-sample models improve both aspects on CNN/DM.Entailment-reranked summaries are less distinguishable from cross-entropy outputs because of more ties.Source: §7.2 · p. 8, Table 6 · p. 8
Error Analysis
- Contrastive learning reduces extrinsic errors more effectively than unlikelihood training, though summaries show slight decreases in world knowledge.Source: Figure 4 · p. 8, §7.2 · p. 9
8 Conclusion
CLIFF trains abstractive summarizers to distinguish factual, salient content from errors using contrastive learning. Its automatically constructed erroneous summaries support consistent improvements across datasets and pretrained models.
- CLIFF uses references and factually inconsistent summaries to train models to discriminate errors from factual and salient content.Source: §8 · p. 9
- Four strategies automatically create erroneous summaries by editing references or leveraging system outputs, based on summary-error analysis.Source: §8 · p. 9
- Automatic evaluation and human ratings show consistent improvements over competitive comparison methods across datasets and models fine-tuned from different large models.Source: §8 · p. 9
A Additional Analysis for Summary Error Annotation
The authors annotate summaries from BART and PEGASUS on XSum and CNN/DailyMail, then analyze token-generation probabilities for different error types. Error tokens can remain highly probable when they are generated after the first token.
- Two fluent English speakers annotate 100 summaries from BART and PEGASUS, using 50 articles per dataset batch across XSum and CNN/DailyMail.Source: A Additional Analysis for Summary… · p. 13
- The analysis reports first-token probability distributions for nouns and verbs and non-first-token distributions for proper nouns, numbers, nouns, and verbs.Source: A Additional Analysis for Summary… · p. 13
- Tokens within extrinsic and intrinsic errors have high generation probabilities when they are non-first tokens.Source: A Additional Analysis for Summary… · p. 13
B Statistics for Datasets and Training Samples
The appendix documents datasets, sample construction, training settings, decoding configurations, computational costs, and model sizes for XSum and CNN/DailyMail experiments.
- The experiments follow official XSum and CNN/DailyMail data splits, with split sizes reported in Table 8.Source: B Statistics for Datasets and Training… · p. 13, Table 8 · p. 13
- 182,114 and 91,468 positive samples are obtained by back-translation on XSum and CNN/DailyMail after filtering unfaithful paraphrases.Source: B Statistics for Datasets and Training… · p. 13
- A 0.21 selection threshold yields F1 scores of 73.99 on XSum and 40.49 on CNN/DailyMail for BART-generated annotated samples.Source: B Statistics for Datasets and Training… · p. 13
- SYSLOWCON constructs the fewest negative samples but achieves the best reported results, indicating greater training effectiveness per constructed sample.Source: B Statistics for Datasets and Training… · p. 13, Table 9 · p. 14
- BART and PEGASUS use beam search with dataset-specific settings, while their models contain 400M and 568M parameters, respectively.Source: C Implementation Details · p. 14
- BART-based training takes 6 and 13 hours on XSum and CNN/DailyMail, whereas PEGASUS-based training takes 8 and 25 hours.Source: C Implementation Details · p. 14
D Human Evaluation
Human evaluation examines world-knowledge content in summaries from XSum and CNN/DailyMail. CLIFF-related models reduce such content on XSum while matching or exceeding cross-entropy training on CNN/DailyMail.
- On XSum, all models produce less world knowledge than the model trained with cross-entropy loss.Source: D Human Evaluation · p. 14
- Figure 8 reports the percentages of samples containing world knowledge, as labeled by human evaluators, for both datasets.Source: Figure 8 · p. 14
- On CNN/DailyMail, models generate similar or greater amounts of world knowledge compared with cross-entropy training.Source: D Human Evaluation · p. 14
E Sample Outputs
This section illustrates the human-evaluation setup, summary-error categories, and operations used to compare generated summaries against a baseline. Examples show how informativeness and factuality judgments distinguish corrections, omissions, and unsupported content.
Error Categories
- Intrinsic errors misconstruct phrases or clauses from the article, while extrinsic errors introduce unsupported content.The evaluation instructions identify spans contradicted by or not implied by the article.Source: E Sample Outputs · p. 15, Figure 11 · p. 17
Figures
- The figures provide guidelines for summary-error annotation and human evaluation, while sample outputs visualize intrinsic and extrinsic errors in generated summaries.MASKENT and SYSLOWCON are used to construct negative samples for unlikelihood training and contrastive learning.Source: Figure 9 · p. 15, Figure 10 · p. 16, Figure 11 · p. 17
Human Evaluation
- Human evaluation presents an article, a baseline summary with highlighted errors, and four system summaries judged for informativeness and factual consistency.Summaries are shown in random order without system names to support fair comparison.Source: E Sample Outputs · p. 16
Sample Outputs
- In the Lexi example, the baseline incorrectly changes the original £2,000 appeal target to £10,000 and adds unsupported details about the death.The article states that Lexi died at home and that the appeal was originally hoped to raise £2,000.Source: E Sample Outputs · p. 16
Evaluation Criteria
- Informativeness rewards retaining salient correct content: mentioning the appeal target wins, omitting incorrect content ties, and omitting the girl's death loses.Incorrect content is treated as invalid when judging whether salient article content was captured.Source: E Sample Outputs · p. 16
Correction Operations
- Baseline errors can be handled through deletion or substitution, illustrated by removing the incorrect £10,000 figure or replacing it with £2,000.Both operations preserve the surrounding account of the appeal and the girl's death.Source: E Sample Outputs · p. 16
Related papers
This paper cites
- BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding2018
- A Simple Framework for Contrastive Learning of Visual Representations2020
- Distributed Representations of Words and Phrases and their Compositionality2013
- BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehension2019
- Teaching Machines to Read and Comprehend2015
- Supervised Contrastive Learning2020