- Introduced by
- Community (Maynez, Atanasova et al.)
- Year
- 2019–2020
- Type
- Explainable NLP pipeline
- Family
- Deep learning / NLP / CV
What does it do?
Explainable Text Summarization adds explanation methods to automatic summarizers, whether extractive or abstractive, so that each output sentence can be traced to the source sentences, tokens, or attention patterns that support it.
Its purpose is to check faithfulness, detect unsupported claims, and let reviewers judge whether a summary is grounded in its document. It matters most where errors have consequences, such as clinical or legal document review.
The intuition behind the method
Abstractive summarizers such as BART, T5 and PEGASUS produce fluent text that can include statements absent from the source, a failure usually called hallucination. Explanation methods estimate which source spans influenced each output: gradient-based saliency, perturbation-based attribution over source sentences, Shapley-value estimates, or a faithfulness classifier that checks whether the source supports the summary. Attention weights are also available, but they show where the model attended rather than what caused an output, so they are not sufficient alone. The aim is to give analysts inspectable evidence rather than treating the output as a black box.
History
The method has no single named originator; the label is a community usage. Concern about faithfulness in abstractive summarization became prominent around 2019–2020. Maynez et al. (2020) examined faithfulness and factuality in abstractive summarization. Atanasova et al. (2020) studied explainability techniques diagnostically, but for text classification rather than summarization, so its findings transfer to summarization only by analogy.
When to use it
Use explainable text summarization when a summarization pipeline works on documents where unsupported statements carry real cost, such as clinical notes, legal briefs, scientific abstracts, or financial reports, and when reviewers must verify that a summary is grounded in its source. It also fits settings where institutional requirements call for documented model rationale. Do not use it to compensate for a weak base summarizer: if ROUGE or BERTScore results are poor, attribution will expose the weakness but will not repair it. Skip it for low-stakes, high-throughput work, because the attribution and faithfulness steps add computation and engineering effort.
Limitations and considerations
- Attention weights are generally treated as weak evidence of what drove an output; gradient-based or perturbation attributions are commonly preferred, but their faithfulness should itself be checked.
- Perturbation-based methods are computationally costly, and repeated runs may give different explanations.
- Automated faithfulness metrics are imperfect and can miss subtle factual errors.
- Attribution cannot make a weak base summarizer trustworthy, because explanation quality is bounded by the model being explained.
- Manual review of explanations is slow and does not scale to large corpora.
Source conditions do not replace independent scientific review or validation by an analysis engine.
Strengths
- Makes hallucinated or unsupported claims in abstractive summaries visible by linking each claim to the source spans that do or do not support it.
- Lets reviewers see the evidence behind each summary sentence, which supports checking in high-stakes documents.
- Post-hoc explanation methods leave the summarizer's weights unchanged, so an existing model can be audited without retraining it.
- Supports human-in-the-loop review, where flagged spans are passed to an analyst for confirmation.
- Can reveal systematic patterns, such as a summarizer consistently omitting content from particular source sections.
Applications
- Clinical document summarization with source attribution for each diagnostic claim.
- Legal brief summarization in which unsupported claims are flagged before review.
- Scientific literature summarization with faithfulness scoring to support systematic reviews.
- News summarization pipelines with automated detection of unsupported statements.
- Financial report summarization where an audit trail of source evidence is required.
- Human-in-the-loop annotation tools that highlight contentious summary spans for expert correction.
How it works
How it works
A base summarization model is trained or fine-tuned. Extractive approaches score and select source sentences, while abstractive models, typically seq2seq transformers such as BART or T5, generate new text conditioned on the full document. The architecture determines which explanation access is possible.
An explanation method is applied to attribute each generated token or sentence to source evidence. Options include attention inspection (easy to obtain but a weak explanation on its own), gradient-based saliency, perturbation-based attribution, Shapley-value estimation, or a dedicated faithfulness classifier that scores entailment between summary and source.
Attribution scores guide a faithfulness check. Each summary sentence is compared with its top-attributed source spans to find unsupported or contradictory claims. Automatic factual-consistency measures, such as entailment-based classifiers, question-answering consistency checks or generation-likelihood scores, can then quantify consistency across the output. These scores are indicators to be reviewed, not verdicts.
The results are presented as an explanation report. It shows the source sentences supporting each output claim, attribution scores per token or sentence, and a faithfulness flag indicating whether the summary appears grounded. Analysts or downstream steps use the report to accept, revise, or reject the summary.
Common pitfalls
- Treating attention heatmaps as explanations without checking them against gradient-based attributions.
- Reading a high faithfulness score as proof of factual correctness; metric scores are probabilistic indicators, not guarantees.
- Relying on qualitative inspection alone and skipping quantitative faithfulness measures such as entailment-based consistency scores or generation-likelihood scores.
- Applying explainers built for classifiers or tree models directly to seq2seq generators without adapting the attribution target to generated tokens.
- Equating ROUGE with faithfulness; a high ROUGE score reflects lexical overlap and does not establish that the claims are supported by the source.
Frequently asked questions
Are attention weights enough to explain why a model generated a summary sentence?
No. Attention weights indicate where the model attended, which is not necessarily what drove the output. Gradient-based methods or perturbation approaches, such as occlusion or Shapley-value estimation, are generally preferred for attribution.
Which XAI method works best for abstractive summarization?
No single method is best for every model. Gradient-based and perturbation methods can give different attributions for the same output, so comparing more than one, and pairing attribution with a dedicated faithfulness classifier, is a sensible check.
How do I measure faithfulness automatically?
Common approaches include entailment-based factual-consistency classifiers, question-answering consistency checks, and generation-likelihood scores. Scores from different measures are not on a common scale and should not be compared directly. No metric is perfect; running two complementary measures and validating a sample manually is recommended.
Can explainable summarization be used with extractive models?
Yes, and it is simpler: each output sentence is itself a source sentence, so attribution is directly interpretable. The faithfulness challenge is more acute for abstractive models that generate novel text.
Does adding XAI hurt summarization quality?
Post-hoc explanation methods do not modify the model, so they do not change summary quality, only the analysis overhead. Built-in faithfulness constraints in the decoder or training objective may trade some fluency for accuracy; the size of this effect should be checked on your own data.
Related methods
Sources
Atanasova, P., Simonsen, J. G., Lioma, C., & Augenstein, I. (2020). A diagnostic study of explainability techniques for text classification. In Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP), 3256–3274. Association for Computational Linguistics.
Open publication referenceMaynez, J., Narayan, S., Bohnet, B., & McDonald, R. (2020). On Faithfulness and Factuality in Abstractive Summarization. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics (ACL), 1906–1919.
Open publication reference