ETC: Encoding Long and Structured Data in Transformers

By J. Ainslie, Santiago Ontañón, Chris Alberti, Philip Pham, Anirudh Ravula, Sumit K. Sanghai. 2020

58 citations recorded by the source corpus.

Transformer-based models have pushed the state of the art in many natural language processing tasks. However, one of their main limitations is the quadratic computational and memory cost of the standard attention mechanism. In this paper, we present a new family of Transformer models, which we call the Extended Transformer Construction (ETC), that allows for significant increases in input sequence length by introducing a new global-local attention mechanism between a global memory and the standard input tokens. We also show that combining global-local attention with relative position encodings allows ETC to handle structured data with ease. Empirical results on the Natural Questions data set show the promise of the approach.

Subfields: Artificial Intelligence, Computer Vision and Pattern Recognition, 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. Jianfeng Gao
  2. Jianwei Yang
  3. Quoc V. Le
  4. Alan L. Yuille
  5. Lu Yuan
  6. Mohit Bansal
  7. Zhe Gan
  8. Chunyuan Li

In Computer Vision and Pattern Recognition

  1. Luc Van Gool
  2. Dacheng Tao
  3. Xiaogang Wang
  4. Alan L. Yuille
  5. Ming-Hsuan Yang
  6. Trevor Darrell
  7. Jianfeng Gao
  8. Chunhua Shen

In Model Architectures

  1. Jianfeng Gao
  2. Jianwei Yang
  3. Yi Tay
  4. Lu Yuan
  5. Mostafa Dehghani
  6. Donald Metzler
  7. Dara Bahri
  8. J. Ainslie

Citations in the corpus