Learning to Summarize Long Texts with Memory Compression and Transfer

Jaehong Park, Jonathan Pilault, Christopher Joseph Pal

Introduction

Summarizing long-form content, such as scientific papers or detailed news reports, remains a significant challenge for natural language processing. While extractive methods—which select key sentences directly—are computationally efficient, they often lack the coherence and flow of human-written summaries. Conversely, abstractive models that paraphrase text struggle with long-range dependencies and are prone to "hallucinations" when processing thousands of words.

This paper introduces Mem2Mem, a memory-augmented neural network designed to bridge this gap. By compressing long documents into a compact internal memory and dynamically updating that memory during generation, Mem2Mem achieves state-of-the-art performance with a fraction of the parameters required by massive Transformer models.

The Problem: The "Goldilocks" of Summarization

Current state-of-the-art summarization often relies on hybrid models: an extractor identifies salient sentences, and an abstractor rewrites them. However, these systems face three critical hurdles:

  1. Label Scarcity: Ground-truth labels for which sentences are "best" to extract are rarely available, forcing reliance on noisy heuristics.
  2. Exposure Bias: Models trained with "teacher forcing" often become brittle when they encounter their own errors during real-world inference.
  3. Computational Complexity: Many high-performing models are parameter-heavy Transformers that are expensive to train and deploy.

The Mem2Mem Architecture

The researchers proposed a Memory-to-Memory (Mem2Mem) mechanism built upon a hierarchical Recurrent Neural Network (RNN). The architecture operates in three distinct stages:

  1. Memory Compression (Encoder): Instead of requiring the decoder to attend to every word in a long document, the encoder uses multi-head self-attention to "squish" the document into a fixed-size memory bank ($M_E$). A specialized regularization loss ($L_{comp}$) ensures these memory slots capture diverse information rather than redundant snippets.
  2. Memory Transfer: This compressed knowledge bank is passed directly from the encoder to the decoder.
  3. Dynamic Read/Write (Decoder): As the summary is generated, the decoder doesn't just read from the memory; it updates it. Using a gated mechanism, it tracks which information has already been used, effectively preventing the repetitive cycles common in long-text generation.
The Mem2Mem architecture showing the hierarchical encoding and the dynamic memory read/write process during decoding.

Experimental Results

The model was evaluated on three large-scale datasets: PubMed (avg. ~3,000 words), arXiv (avg. ~5,000 words), and Newsroom. These datasets represent a significant increase in complexity over standard benchmarks like CNN/DailyMail.

Performance and Efficiency

Mem2Mem demonstrated remarkable efficiency. Despite having only 14.7 million parameters, it performed competitively with—and in some cases outperformed—the Transformer Language Model (TLM), which boasts 234 million parameters. This represents a 16-fold reduction in model size without a loss in summary quality.

Comparison of Mem2Mem against various extractive (E) and abstractive (A) baselines across PubMed, arXiv, and Newsroom datasets.

Key Insights

  • Implicit Extraction: One of the most significant findings was that the model learned to perform "extraction" implicitly. By minimizing summarization loss, the memory slots naturally learned to prioritize salient sentences, removing the need for manual extractive labels.
  • Abstractive Quality: Human evaluations and n-gram analysis confirmed that Mem2Mem produces more "novel" word combinations than baselines, indicating true paraphrasing rather than simple copying.
  • Reduced Redundancy: The dynamic memory update mechanism was successful in reducing repetition, a frequent failure mode for RNNs and Transformers alike when generating long sequences.

Conclusion and Future Work

Mem2Mem proves that clever architectural choices, specifically external memory modules and compression, can allow smaller models to compete with massive Transformers. While the current model relies on sentence-level structures and the sequential nature of RNNs (which can limit parallelization), it opens new doors for applying memory-augmented architectures to other long-form tasks like dialogue systems and document-level translation.

Summary updated

BibTeX
@misc{park2020learning,
  author = {Jaehong Park and Jonathan Pilault and Christopher Joseph Pal},
  title = {{Learning to Summarize Long Texts with Memory Compression and Transfer}},
  year = {2020},
  eprint = {2010.11322},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2010.11322},
}
Figure