The NLP Task Effectiveness of Long-Range Transformers

By Guanghui Qin, Yukun Feng, Benjamin Van Durme. 2022

42 citations recorded by the source corpus.

Transformer models cannot easily scale to long sequences due to their O(Nˆ2) time and space complexity. This has led to Transformer variants seeking to lower computational complexity, such as Longformer and Performer. While such models have theoretically greater efficiency, their effectiveness on real NLP tasks has not been well studied. We benchmark 7 variants of Transformer models on 5 difficult NLP tasks and 7 datasets. We design experiments to isolate the effect of pretraining and hyperparameter settings, to focus on their capacity for long-range attention. Moreover, we present various methods to investigate attention behaviors to illuminate model details beyond metric scores. We find that the modified attention in long-range transformers has advantages on content selection and query-guided decoding, but they come with previously unrecognized drawbacks such as insufficient attention to distant tokens and accumulated approximation error.

Subfields: Artificial Intelligence, Computer Vision and Pattern Recognition, Natural Language Processing, Model Architectures, Efficiency & Compression

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. Percy Liang
  2. Nelson F. Liu
  3. Yonatan Belinkov
  4. Fabio Petroni
  5. John Hewitt
  6. Mohit Bansal
  7. Jonathan Berant
  8. Hannaneh Hajishirzi

In Computer Vision and Pattern Recognition

  1. Fabio Petroni
  2. Nelson F. Liu
  3. John Hewitt
  4. Kevin Lin
  5. Percy Liang
  6. Michele Bevilacqua
  7. Ashwin Paranjape
  8. Hannaneh Hajishirzi

In Natural Language Processing

  1. Nelson F. Liu
  2. Percy Liang
  3. John Hewitt
  4. Fabio Petroni
  5. Yonatan Belinkov
  6. Kevin Lin
  7. Jonathan Berant
  8. Matt Gardner

In Model Architectures

  1. Percy Liang
  2. John Hewitt
  3. Nelson F. Liu
  4. Fabio Petroni
  5. Kevin Lin

In Efficiency & Compression

  1. Percy Liang
  2. Kevin Lin

Citations in the corpus