TL;DR
Researchers have developed BART-GBP, an unsupervised method that detects hallucinations in abstractive summaries using only the "by-products" of the generation process—specifically attention weights and token entropy. By looking at these internal signals, the system can identify unfaithful text at the token level without requiring expensive extra model passes or being restricted to just named entities.
What Problem Does This Paper Address?
Abstractive summarization models (like BART or T5) are notorious for "hallucinating"—generating text that sounds fluent but isn't supported by the source document. This is a major hurdle for deploying these models in high-stakes environments like news or medicine.
Current detection methods have three major flaws:
- Scope: They often only check noun phrases or named entities, ignoring hallucinations in verbs or logical connectors.
- Dataset Bias: Most research focuses on the XSum dataset, which is an outlier because 75% of its training data contains hallucinations. Models behave differently on cleaner datasets like CNN/DailyMail.
- Efficiency: Many state-of-the-art detectors require a second "critic" model (like a Question-Answering system or an Entailment classifier) to run, which significantly increases the computational cost and latency of generating a summary.
Methods
The authors introduce BART-GBP (BART Generation By-Products). The core philosophy is that the model "knows" when it is hallucinating, and we can see it in the data produced during the forward pass.
The method uses three primary signals:
- Cross-Attention (Alignment): The researchers found that diagonal patterns in the decoder-to-encoder cross-attention signify that the model is "copying" or closely following a segment of the source. They use this to align summary tokens to source tokens.
- Encoder Self-Attention (Intrinsic Detection): To catch "intrinsic" hallucinations (where the model uses words from the source but mixes up the facts), they look at the encoder's self-attention. If two aligned segments in the summary show weak interaction in the encoder, it suggests the model is forcing a relationship between two unrelated parts of the source text.
- Next-Token Entropy (Extrinsic Detection): For "extrinsic" hallucinations (making up entirely new info), they measure the surprisal of the model. Usually, the first token of a hallucination has very high entropy (the model is "unsure"), while subsequent tokens in that hallucinated phrase have low entropy as the language model follows its own internal logic.
Datasets
The study evaluates its approach on two benchmarks:
- FRANK: An existing factuality dataset that the authors repurposed for token-level evaluation. It is quite "clean," with only 0.4% of tokens being hallucinations.
- TLHD-CNNDM: A new dataset created by the authors specifically for this task. They heuristically selected 150 sentences from CNN/DailyMail likely to contain errors and had humans annotate them at the token level. This dataset is more challenging, with a 14.2% hallucination rate.
Key Insights and Ideas
- Hallucinations are "Free" to Find: Because the method uses attention and entropy—data the model generates anyway—detection adds almost zero computational overhead. You can generate a summary and a "heat map" of its trustworthiness simultaneously.
- The "Surprisal" Spike: A key observation is that the model's uncertainty (entropy) spikes exactly when it starts to deviate from the source. Once it starts hallucinating, it regains "confidence" because it's just following standard language patterns, not the source facts.
- Beyond Entities: By working at the token level, the model catches errors that entity-based systems (like FEQA) miss. For example, if a model changes a verb from "denied" to "admitted," BART-GBP can flag it, whereas an entity-checker would see the names are correct and move on.
Key Results
- Precision-Recall Tradeoff: BART-GBP achieved a significantly better precision-recall tradeoff than competitors like FEQA (Question-Answering based) and DAE (Entailment based).
- Maximum Possible Recall: Because FEQA and DAE only look at specific parts of a sentence (entities or dependency arcs), their maximum possible recall is capped (around 38% for FEQA). BART-GBP, being token-level, has a theoretical recall of 100%.
- Performance on FRANK: On the FRANK dataset, BART-GBP achieved a Best F1 of 0.2778, nearly doubling the performance of the next best unsupervised baseline (Lexical-1 at 0.1913).
Limitations and Future Work
- The Intrinsic Challenge: While the model is excellent at catching extrinsic hallucinations (new info), "intrinsic" hallucinations (misrepresenting source info) remain a very difficult task for all models tested.
- Attention Interpretability: The authors acknowledge the ongoing debate in the NLP community regarding whether attention weights truly "explain" model decisions. While they work well as a signal here, they aren't a perfect proxy for reasoning.
- Model Specificity: The current implementation is tuned for BART. While the authors showed promising preliminary results on other models like BERTSUMABS, the specific layers and entropy thresholds might need recalibration for different architectures.
Summary updated