Introduction
Summarizing long-form content, such as meeting transcripts or scientific papers, remains a significant challenge for Transformer-based models due to the quadratic scaling of self-attention. The Extract-Generate framework has emerged as a popular solution, where an extractor identifies salient snippets and a generator condenses them. However, this two-stage process often suffers from a "context gap," where extracted snippets lose vital local and global dependencies. This paper introduces the Context-Aware Extract-Generate (CAEG) framework to bridge this gap by preserving context through interpretability-driven prompts.
The Context Gap in Two-Stage Summarization
In standard extract-generate models, the generator receives isolated fragments of text. This "snip-and-stitch" approach removes the surrounding context (local context) and the relationship between distant but related parts of the document (global context). For instance, in a meeting transcript, a snippet might contain the phrase "I agree with that," which is meaningless without the preceding utterance it refers to.
Methods: The CAEG Framework
The CAEG framework enhances the generator's input by appending "context prompts"—short, highly relevant text spans that provide the necessary background for each extracted snippet.
Attention Rollout for Context Selection
The core innovation lies in how these prompts are selected. Rather than using simple adjacency, CAEG employs attention rollout to interpret the extractor model (RoBERTa). This technique identifies which tokens in the surrounding text were most influential in the extractor's decision to select a specific snippet.
- Local Context Prompts: A sliding window identifies spans with the highest average attention rollout scores near the snippet.
- Global Context Prompts: To capture long-range dependencies, the model uses cosine similarity to find the most related snippets elsewhere in the document and retrieves their associated context prompts.
Implementation
CAEG is built upon the DYLE model, using RoBERTa-base as the extractor and BART-large as the generator. This setup allows the model to handle long inputs efficiently without requiring massive architectural changes.
Experimental Results
The framework was evaluated on two major benchmarks: QMSum (meeting transcripts) and arXiv (scientific papers).
Performance on QMSum
On the QMSum dataset, CAEG achieved a new state-of-the-art ROUGE-1 score of 36.50, significantly outperforming the base DYLE model (34.42). The improvement was particularly pronounced in dialogue summarization, where context is critical for resolving references and understanding speaker intent.
Performance on arXiv
On the arXiv dataset, CAEG outperformed other two-stage frameworks like SSN-DM and DYLE. While sparse-attention models like LSH remain competitive on structured documents, CAEG proved to be the superior choice among extract-generate architectures.
Discussion and Key Insights
- Interpretability as a Feature: Using attention rollout to guide context selection demonstrates that model interpretability tools can be repurposed to directly enhance performance.
- Context Sensitivity: The higher gains on QMSum compared to arXiv suggest that dialogue-heavy tasks benefit more from context preservation than structured scientific writing.
- Ablation Studies: The authors confirmed that the specific content of the context prompts, identified via attention rollout, is more effective than simply including adjacent sentences.
Conclusion and Future Work
The CAEG framework successfully addresses the context gap in extract-generate summarization. By intelligently selecting local and global context prompts, it provides the generator with the "hints" needed to produce coherent summaries of long documents. Future research will explore more sophisticated integration methods for these prompts, such as specialized attention mechanisms, to further optimize the balance between local and global information.
Summary updated