Do We Really Need That Many Parameters In Transformer For Extractive Summarization? Discourse Can Help !

Wen Xiao, Patrick Huber, Giuseppe CareniniOpenReview 2020

TL;DR

This paper introduces a novel, parameter-lean self-attention mechanism for extractive summarization that leverages discourse structure. By incorporating discourse information, their "tree self-attention" achieves competitive performance to larger transformer models while significantly reducing the number of parameters, making models more efficient and interpretable.

What Problem Does This Paper Address?

Transformers, particularly their multi-head self-attention mechanism, have become the backbone of many Natural Language Processing (NLP) tasks, including extractive summarization. However, these models are notoriously parameter-heavy, leading to potential overfitting and making them difficult to deploy and interpret. Extractive summarization itself aims to select key sentences or text units from a document to form a summary, and traditionally, this selection relies on factors like position, semantic meaning, and importantly, discourse. While discourse information has been used to improve summarization performance, this paper explores a different angle: using discourse structure to reduce the model's parameter count without sacrificing performance. The core challenge is to build more efficient summarization models by intelligently leveraging linguistic structure.

Methods

The authors adapt the "Synthesizer" framework, which explores parameter-reduced self-attention alternatives. Their key innovation is a "Discourse Tree Attention" mechanism. This approach uses Rhetorical Structure Theory (RST) discourse trees, which represent the hierarchical and semantic relationships between text units (Elementary Discourse Units or EDUs). They propose three ways to encode this discourse structure into a fixed self-attention matrix:

  • Dependency-based Nuclearity Attributes (D-Tree): Converts RST constituency trees into dependency trees and then uses head-dependent relationships to form the attention matrix.
  • Constituency-based Structure Attributes (C-Tree): Leverages the compositional structure of the constituency tree, defining attention based on how closely EDUs are grouped within the same constituent.
  • Constituency-based Structure and Nuclearity Attributes (C-Tree w/Nuc): A hybrid approach that combines both structural information and the nuclearity attribute (indicating the importance of a subtree) from RST.

These discourse-based attention matrices are then used within a "Synthesizer" document encoder, which is built upon a pre-trained BERT model. They also explore sentence-level summarization by aggregating EDU-level attention matrices.

Datasets

The primary dataset used for training and evaluation is the CNN/DM dataset, a standard corpus for extractive summarization. The paper notes that the original CNN/DM corpus does not contain EDU-level segmentation, so they employed a process to segment the text into EDUs. They also mention using the RST-DT dataset for training their discourse parser and segmenter.

Key Insights and Ideas

  • Discourse as a Constraint, Not Just Information: The paper shifts the paradigm from using discourse to add information for better performance to using it to constrain the model and reduce parameters.
  • Fixed Attention Can Be Competitive: Their discourse-based attention matrices are fixed (not learned), which drastically reduces parameters. They show these fixed matrices can achieve performance comparable to learned attention mechanisms.
  • Structure Matters for Efficiency: The C-Tree and C-Tree w/Nuc approaches, which leverage the hierarchical structure of discourse, show particular promise, outperforming other fixed attention methods and even competing with learned single-head attention.
  • Multi-Head Attention Isn't Always Better: Contrary to common assumptions, the paper finds that increasing the number of attention heads doesn't always lead to significant gains and can even be detrimental in some settings, especially when considering parameter efficiency.

Key Results

  • Competitive Performance: The proposed tree self-attention models (especially C-Tree and C-Tree w/Nuc) achieve competitive ROUGE scores on both EDU and sentence levels, often matching or exceeding single-head learned attention models.
  • Significant Parameter Reduction: The tree attention models require an order of magnitude fewer parameters in the attention component compared to the 8-head Dot Product model, especially in the "balanced" hyper-parameter setting. For instance, C-Tree and C-Tree w/Nuc use only 0.2M parameters in the attention module, compared to 3.2M for single-head Dot Product and 25.2M for 8-head Dot Product in the balanced setting.
  • Outperforming 8-Head Models: In the balanced hyper-parameter setting, the tree attention models significantly outperform the 8-head Dot Product model on sentence-level summarization.
  • D-Tree Less Effective: The D-Tree approach, while incorporating discourse, did not perform as well, possibly due to its stricter, binary attention computation.

Limitations and Future Work

  • Low-Resource Performance: Contrary to expectations, the tree-inspired models did not show significant improvements in low-resource scenarios under the default setting, though they did show benefits in the balanced setting.
  • EDU vs. Sentence Level: Sentence-level models consistently performed better than EDU-level models, which the authors attribute to BERT's original training on sentences potentially impairing subsentential representation generation.
  • Future Work:
    • Incorporate rhetorical relations directly into self-attention.
  • Replace hard-coded weights for Nucleus/Satellite with discourse parser confidence scores.
  • Explore combining tree self-attention with stronger encoders like BERTSUM.
  • Further investigate the trade-off between model performance and parameter count.

Summary updated

BibTeX
@misc{xiao2020do,
  author = {Wen Xiao and Patrick Huber and Giuseppe Carenini},
  title = {{Do We Really Need That Many Parameters In Transformer For Extractive Summarization? Discourse Can Help !}},
  year = {2020},
  eprint = {2012.02144},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2012.02144},
  howpublished = {OpenReview},
}
Figure