Blockwise Self-Attention for Long Document Understanding

By Jiezhong Qiu, Hao Ma, Omer Levy, Scott Yih, Sinong Wang, Jie Tang. 2019

280 citations recorded by the source corpus.

We present BlockBERT, a lightweight and efficient BERT model for better modeling long-distance dependencies. Our model extends BERT by introducing sparse block structures into the attention matrix to reduce both memory consumption and training/inference time, which also enables attention heads to capture either short- or long-range contextual information. We conduct experiments on language model pre-training and several benchmark question answering datasets with various paragraph lengths. BlockBERT uses 18.7-36.1% less memory and 12.0-25.1% less time to learn the model. During testing, BlockBERT saves 27.8% inference time, while having comparable and sometimes better prediction accuracy, compared to an advanced BERT-based model, RoBERTa.

Subfields: Artificial Intelligence, Natural Language Processing

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. Jianfeng Gao
  2. Mohit Bansal
  3. Luke S. Zettlemoyer
  4. Noah A. Smith
  5. Graham Neubig
  6. Quoc V. Le
  7. Percy Liang
  8. Yejin Choi

In Natural Language Processing

  1. Graham Neubig
  2. Luke S. Zettlemoyer
  3. Noah A. Smith
  4. Yejin Choi
  5. Jianfeng Gao
  6. Mohit Bansal
  7. Percy Liang
  8. Jonathan Berant

Citations in the corpus