Sliding Selector Network with Dynamic Memory for Extractive Summarization of Long Documents

Peng Cui, Le HuNAACL 2021

Introduction

Summarizing long documents remains a significant hurdle in natural language processing. Standard Transformer-based models, such as BERT, are constrained by a fixed input length (typically 512 tokens). When processing documents like scientific papers that span thousands of words, researchers often resort to simple truncation, discarding potentially critical information found in later sections.

The Sliding Selector Network with Dynamic Memory (SSN-DM) addresses this "short-sightedness." By processing documents in a sequence of sliding windows and maintaining a persistent, dynamic memory bank, the model ensures that information flows across the entire text, allowing for coherent and non-redundant extractive summarization.

The SSN-DM Architecture

The SSN-DM framework is designed to handle the sequential nature of long documents while preserving global context. It operates through four primary components:

The architecture of SSN-DM, featuring the Sliding Encoder, GNN-based Memory Interaction, and Prediction Layer.
  1. Sliding Encoder: The document is divided into overlapping windows (e.g., 512 tokens). A pre-trained BERT model encodes sentences within each window, supplemented by window-level position embeddings to maintain structural awareness.
  2. Graph-based Memory Interaction: This component acts as the system's "working memory." A set of memory slots stores salient information from previously processed windows. Using a Graph Attention Network (GAT), current sentences interact with these slots, enriching their representations with historical context.
  3. Prediction Layer: An MLP-based classifier evaluates the enriched sentence representations to determine their suitability for the final summary.
  4. Dynamic Memory Updating: After each window, the memory is updated via a gating mechanism. This process incorporates a "coverage vector" to track what has already been extracted, effectively preventing the selection of redundant information.

Experimental Evaluation

The model was rigorously tested on two large-scale datasets of scientific literature:

  • arXiv: Over 200,000 documents with an average length of nearly 5,000 tokens.
  • PubMed: Over 100,000 documents with an average length of about 3,000 tokens.

These datasets represent a significant challenge compared to standard news corpora, as the important "gold" sentences are often distributed throughout the entire document rather than clustered exclusively at the beginning.

Key Insights: Overcoming Lead Bias

A common failure mode for summarization models is "lead bias"—the tendency to over-rely on the introductory paragraphs. SSN-DM mitigates this by maintaining context through its memory slots.

Distribution of extracted sentences across window indices for arXiv and PubMed datasets, demonstrating the model's reach into later document segments.

As shown in the distribution of extracted sentences across windows, while there is a natural concentration in the early windows, the model continues to extract relevant content from much deeper in the document. The dynamic memory allows the model to recognize the "semantic flow," distinguishing between core arguments and peripheral "noise" regardless of their position. This mimics human summarization, where we explicitly remember what has already been noted to avoid repetition.

Performance and Results

SSN-DM established new state-of-the-art (SOTA) benchmarks for extractive summarization on both scientific datasets:

  • arXiv: Achieved a ROUGE-1 score of 45.03, outperforming previous leaders like Match-Sum.
  • PubMed: Achieved a ROUGE-1 score of 46.73.

Ablation studies highlighted the critical role of the memory module. Removing the dynamic memory caused the ROUGE-1 score on the arXiv dataset to drop from 45.03 to 39.95. This nearly 11% decrease in performance confirms that the ability to bridge information across windows is the primary driver of the model's success. Qualitative analysis further showed that the full model is significantly better at filtering out redundant or irrelevant sentences that lack context.

Conclusion and Future Directions

The SSN-DM model demonstrates that a combination of sliding-window encoding and dynamic, graph-based memory can effectively overcome the architectural limits of modern Transformers for long-document tasks. While currently focused on extractive summarization, the framework could potentially be adapted for abstractive tasks. Future work may address the sequential bottleneck of window-by-window processing to improve efficiency for even larger document scales.

Summary updated

BibTeX
@inproceedings{cui2021sliding,
  author = {Peng Cui and Le Hu},
  title = {{Sliding Selector Network with Dynamic Memory for Extractive Summarization of Long Documents}},
  booktitle = {Conference of the North American Chapter of the Association for Computational Linguistics},
  year = {2021},
  doi = {10.18653/v1/2021.naacl-main.470},
}
Figure