Contextualized Rewriting for Text Summarization

Guangsheng Bao, Yue Zhang

Abstract

This paper introduces Contextualized Rewriting, a novel approach to text summarization that bridges the gap between extractive and abstractive methods. By utilizing the entire source document as context for a rewriting module, the proposed system improves the coherence, informativeness, and conciseness of generated summaries. A unique "group tag" mechanism aligns extracted sentences with the source, enabling the model to achieve state-of-the-art ROUGE scores on the CNN/Daily Mail dataset without the need for complex reinforcement learning or copy mechanisms.

Introduction

Text summarization has traditionally been divided into two paradigms: extractive and abstractive. Extractive methods select salient sentences directly from the source, ensuring factual accuracy but often resulting in disjointed or redundant summaries. Abstractive methods generate summaries from scratch, producing more natural text but risking factual hallucinations.

A middle ground, Rewriting, attempts to refine extracted sentences. However, traditional rewriters often operate in a "context vacuum," looking only at the extracted sentences in isolation. This prevents the model from resolving vague references or incorporating specific details found elsewhere in the document. This paper addresses this limitation by providing the rewriter with access to the full source document context.

Methods

The authors formalize the task as a sequence-to-sequence (seq2seq) problem enhanced by Group Alignments. The system operates in three distinct phases:

  1. Selection: An extractive summarizer (e.g., a BERT-based model) identifies the most important sentences.
  2. Grouping: Each extracted sentence is assigned a unique group tag (e.g., G1, G2). These tags are applied to corresponding tokens in both the source document and the summary-to-be-generated.
  3. Rewriting: A BERT-based encoder processes the entire document, while a Transformer-based decoder generates the final summary.
Architecture of the Contextualized Rewriting model, highlighting the integration of group tag embeddings within the BERT encoder and Transformer decoder.

The Group Tag Mechanism

Standard attention mechanisms can struggle with long documents. By incorporating group tag embeddings, the authors provide a "content-based addressing" system. When the decoder generates a specific sentence, the group tags guide its attention to the relevant segment of the source document while still allowing it to "peek" at the surrounding context for better phrasing or missing factual details.

Experimental Results

The model was evaluated on the CNN/Daily Mail dataset, a benchmark containing over 312,000 document-summary pairs.

Quantitative Performance

The BERT-Ext + ContextRewriter model achieved a ROUGE-L score of 40.56, significantly outperforming the extractive baseline and other hybrid models. Notably, the model achieves these results without the computational overhead of reinforcement learning (RL), suggesting that architectural alignment is a more effective path to performance than RL-based tuning.

Comparison of ROUGE scores across extractive, abstractive, and the proposed contextualized rewriting models on the CNN/Daily Mail dataset.

Qualitative and Human Evaluation

In a blind study, human evaluators rated the contextualized rewriter higher than extractive baselines in both Readability (4.15 vs 3.45) and Informativeness (4.01 vs 3.90). The rewriter also demonstrated significant compression capabilities, reducing the average word count of summaries by 30-40% while maintaining factual integrity. Furthermore, the model generated a higher percentage of novel n-grams compared to other hybrid models, indicating true rewriting rather than simple word shuffling.

Discussion and Limitations

While the model sets a new standard for rewriting-based summarization, it faces certain limitations. The use of BERT as an encoder restricts the input to a 512-token maximum, which may be insufficient for very long documents. Additionally, a significant performance gap remains between the current model and an "Oracle" extractor, suggesting that the initial sentence selection step remains a primary bottleneck for summary quality.

Future work may explore applying this group-alignment approach to other Natural Language Generation (NLG) tasks where specific source segments must be mapped to specific output segments.

Summary updated

BibTeX
@inproceedings{bao2021contextualized,
  author = {Guangsheng Bao and Yue Zhang},
  title = {{Contextualized Rewriting for Text Summarization}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2021},
  doi = {10.1609/aaai.v35i14.17487},
}
Figure