A Practical Survey on Faster and Lighter Transformers

By Quentin Fournier, Gaétan Marceau Caron, Daniel J. Aloise. 2021

167 citations recorded by the source corpus.

Recurrent neural networks are effective models to process sequences. However, they are unable to learn long-term dependencies because of their inherent sequential nature. As a solution, Vaswani et al. introduced the Transformer, a model solely based on the attention mechanism that is able to relate any two positions of the input sequence, hence modelling arbitrary long dependencies. The Transformer has improved the state-of-the-art across numerous sequence modelling tasks. However, its effectiveness comes at the expense of a quadratic computational and memory complexity with respect to the sequence length, hindering its adoption. Fortunately, the deep learning community has always been interested in improving the models’ efficiency, leading to a plethora of solutions such as parameter sharing, pruning, mixed-precision, and knowledge distillation. Recently, researchers have directly addressed the Transformer’s limitation by designing lower-complexity alternatives such as the Longformer, Reformer, Linformer, and Performer. However, due to the wide range of solutions, it has become challenging for researchers and practitioners to determine which methods to apply in practice to meet the desired tradeoff between capacity, computation, and memory. This survey addresses this issue by investigating popular approaches to make Transformers faster and lighter and by providing a comprehensive explanation of the methods’ strengths, limitations, and underlying assumptions.

Subfields: Computer Networks and Communications, Information Systems, Materials Chemistry, 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 Computer Networks and Communications

  1. Christopher R'e
  2. Ankit Gupta
  3. Jonathan Berant
  4. Yoshua Bengio
  5. Wenhan Xiong
  6. Stefano Ermon
  7. Omer Levy
  8. Simon Lacoste-Julien

In Information Systems

  1. Stefano Ermon
  2. Ankit Gupta
  3. Jonathan Berant
  4. Yoshua Bengio
  5. Ori Yoran
  6. Christopher R'e
  7. Wenhan Xiong
  8. Omer Levy

In Materials Chemistry

  1. Ankit Gupta
  2. Jonathan Berant
  3. Yoshua Bengio
  4. Mor Geva
  5. Stefano Ermon

In Model Architectures

  1. Jonathan Berant
  2. Christopher R'e
  3. Stefano Ermon
  4. Omer Levy
  5. Armin W. Thomas
  6. Ankit Gupta
  7. Mor Geva
  8. Michael Poli

In Efficiency & Compression

  1. Stefano Ermon
  2. Ankit Gupta
  3. Jonathan Berant
  4. Yoshua Bengio
  5. Christopher R'e
  6. Omer Levy
  7. Xundong Wu
  8. Debbie Marr

Citations in the corpus