Diversity driven attention model for query-based abstractive summarization

Preksha Nema, Mitesh M. Khapra, Anirban Laha, Balaraman Ravindran

TL;DR

This paper tackles the challenge of query-based abstractive summarization, where the goal is to generate a concise summary of a document that specifically addresses a given query. The authors introduce a novel "diversity-driven attention model" that significantly reduces repetitive phrases in summaries, a common issue with existing encode-attend-decode models. They also release a new dataset to facilitate research in this area, demonstrating substantial performance gains over baseline methods.

What Problem Does This Paper Address?

Generating accurate and coherent summaries of documents is a well-studied problem in Natural Language Processing (NLP). However, a more nuanced task is query-based abstractive summarization. Here, the summary shouldn't just condense the document but also focus on aspects relevant to a specific user query. For instance, summarizing a news article about a political debate might require different information depending on whether the query is about the candidates' economic policies or their personal lives.

Existing neural network models, particularly those based on the encode-attend-decode architecture (popular in machine translation and summarization), often struggle with this task. A key problem they face is generating repetitive phrases or sentences, leading to unnatural and less informative summaries. Furthermore, most prior work on query-based summarization has focused on extractive methods (simply picking sentences from the original text), rather than abstractive methods that generate novel phrasing. This paper aims to bridge this gap by proposing an abstractive approach that is query-aware and avoids repetition.

Methods

The core of the proposed solution builds upon the standard encoder-decoder framework. This involves:

  • Query Encoder: A Recurrent Neural Network (RNN) that processes the input query.
  • Document Encoder: Another RNN that processes the input document.
  • Attention Mechanisms: These allow the model to dynamically focus on relevant parts of both the query and the document when generating each word of the summary.
  • Decoder: An RNN that generates the summary word by word.

The paper introduces two key innovations to address the identified problems:

  1. Query Attention Model: Instead of using a static representation of the query, this model allows the decoder to attend to different parts of the query at each generation step. This dynamic focus helps tailor the summary more precisely to the query's nuances.
  2. Diversity-Driven Attention Model: This is the paper's main contribution to combatting repetitive phrases. The authors hypothesize that repetition occurs when the "context vectors" (information fed to the decoder at each step) are too similar. Their approach enforces diversity by ensuring that successive context vectors are orthogonal to each other. They propose several variations:
  3. Hard Orthogonality: Directly subtracting the component of the previous context vector from the current one.
  4. Soft Orthogonality: Using a gating mechanism to control how much of the previous context is subtracted, offering a more relaxed approach.
  5. LSTM-based Diversity: Employing a Long Short-Term Memory (LSTM) network to track the history of context vectors and ensure the current state is orthogonal to this history, allowing for more nuanced control over diversity.

Datasets

The authors introduce a new dataset for query-based abstractive summarization, built from Debatepedia. This dataset consists of triplets of (query, document, summary). They note that existing datasets were either not query-focused or not abstractive. The Debatepedia dataset contains 12,695 such triples across 53 categories, providing a valuable resource for this specific task. They use 10-fold cross-validation for evaluation.

Key Insights and Ideas

  • Query Matters: Explicitly incorporating a query encoder and attention mechanism significantly improves summarization performance, demonstrating that user intent is crucial for generating relevant summaries.
  • Repetition is a Context Problem: The paper provides strong evidence that repetitive phrases in generated text stem from similar context vectors being fed to the decoder over consecutive time steps.
  • Orthogonality as a Diversity Enforcer: The core idea of enforcing orthogonality between successive context vectors is an elegant way to encourage the model to explore different aspects of the source information, thus reducing repetition.
  • Flexibility in Diversity: The proposed diversity models offer a spectrum from aggressive (hard orthogonality) to more nuanced (LSTM-based) control, allowing for a balance between diversity and retaining useful historical context.

Key Results

The proposed diversity-driven attention model, particularly the SD2 (soft LSTM-based diversity) variant, achieved state-of-the-art results on their newly created dataset.

  • The best model (SD2) achieved a 41.26% ROUGE-L score, a significant improvement over the vanilla encoder-decoder model (12.84% ROUGE-L).
  • This represents an absolute gain of 28% in ROUGE-L scores compared to the baseline encode-attend-decode model.
  • They also outperformed existing diversity models adapted for this task, achieving a 7% absolute gain in ROUGE-L over a baseline method (M1).
  • Qualitative analysis and sentence-level repetition counts (Table 5) further supported that their models produced summaries with fewer repetitions.

Limitations and Future Work

  • Aggressiveness of Diversity: The authors acknowledge that some diversity models (like M2, which constrains both context vectors and attention weights) might be too aggressive, leading to poor performance. Further investigation is needed.
  • Generalizability: While the proposed diversification mechanism is presented as general, its application to other NLG tasks like dialog systems and general summarization is noted as future work.
  • Dataset Size: While the introduced dataset is valuable, the authors mention that they are working on extending it.

Summary updated

BibTeX
@inproceedings{nema2017diversity,
  author = {Preksha Nema and Mitesh M. Khapra and Anirban Laha and Balaraman Ravindran},
  title = {{Diversity driven attention model for query-based abstractive summarization}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2017},
  url = {https://openreview.net/forum?id=HJZmanl_Zr},
}
Figure