Big Bird: Transformers for Longer Sequences

By Manzil Zaheer, Guru Guruganesh, Kumar Avinava Dubey, J. Ainslie, Chris Alberti, Santiago Ontañón, Philip Pham, Anirudh Ravula, Qifan Wang, Li Yang and 1 more. 2020

2,963 citations recorded by the source corpus.

Transformers-based models, such as BERT, have been one of the most successful deep learning models for NLP. Unfortunately, one of their core limitations is the quadratic dependency (mainly in terms of memory) on the sequence length due to their full attention mechanism. To remedy this, we propose, BigBird, a sparse attention mechanism that reduces this quadratic dependency to linear. We show that BigBird is a universal approximator of sequence functions and is Turing complete, thereby preserving these properties of the quadratic, full attention model. Along the way, our theoretical analysis reveals some of the benefits of having $O(1)$ global tokens (such as CLS), that attend to the entire sequence as part of the sparse attention mechanism. The proposed sparse attention can handle sequences of length up to 8x of what was previously possible using similar hardware. As a consequence of the capability to handle longer context, BigBird drastically improves performance on various NLP tasks such as question answering and summarization. We also propose novel applications to genomics data.

Subfields: Artificial Intelligence, Molecular Biology, Model Architectures

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. Mohit Bansal
  2. Jianfeng Gao
  3. Luke S. Zettlemoyer
  4. Quoc V. Le
  5. Percy Liang
  6. Graham Neubig
  7. Caiming Xiong
  8. Noah A. Smith

In Molecular Biology

  1. Michael Heinzinger
  2. Quoc V. Le
  3. Jure Leskovec
  4. Frank Hutter
  5. Stefano Ermon
  6. Zhiyuan Liu
  7. Christian Dallago
  8. Xiaodan Liang

In Model Architectures

  1. Quoc V. Le
  2. Jianfeng Gao
  3. Yoshua Bengio
  4. Alan L. Yuille
  5. Song Han
  6. Yi Tay
  7. Barret Zoph
  8. Noah A. Smith

Citations in the corpus