Sparse is Enough in Scaling Transformers

By Sebastian Jaszczur, Aakanksha Chowdhery, Afroz Mohiuddin, Lukasz Kaiser, Wojciech Gajewski, Henryk Michalewski, Jonni Kanerva. 2021

125 citations recorded by the source corpus.

Large Transformer models yield impressive results on many tasks, but are expensive to train, or even fine-tune, and so slow at decoding that their use and study becomes out of reach. We address this problem by leveraging sparsity. We study sparse variants for all layers in the Transformer and propose Scaling Transformers, a family of next generation Transformer models that use sparse layers to scale efficiently and perform unbatched decoding much faster than the standard Transformer as we scale up the model size. Surprisingly, the sparse layers are enough to obtain the same perplexity as the standard Transformer with the same number of parameters. We also integrate with prior sparsity approaches to attention and enable fast inference on long sequences even with limited memory. This results in performance competitive to the state-of-the-art on long text summarization.

Subfields: Artificial Intelligence, 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. Yi Tay
  2. Mostafa Dehghani
  3. Donald Metzler
  4. Quoc V. Le
  5. Mohit Bansal
  6. Luke S. Zettlemoyer
  7. Jianfeng Gao
  8. Dara Bahri

In Model Architectures

  1. Yi Tay
  2. Mostafa Dehghani
  3. Donald Metzler
  4. Dara Bahri
  5. William Fedus
  6. Joseph Dean
  7. Barret Zoph
  8. Quoc V. Le

In Efficiency & Compression

  1. Yi Tay
  2. Donald Metzler
  3. Mostafa Dehghani
  4. Dara Bahri
  5. Barret Zoph
  6. Joseph Dean
  7. William Fedus
  8. Georgios Evangelidis

Citations in the corpus