Pay Attention when Required

By Swetha Mandava, Szymon Migacz, Alex Fit-Florea. 2020

11 citations recorded by the source corpus.

Transformer-based models consist of interleaved feed-forward blocks - that capture content meaning, and relatively more expensive self-attention blocks - that capture context meaning. In this paper, we explored trade-offs and ordering of the blocks to improve upon the current Transformer architecture and proposed PAR Transformer. It needs 35% lower compute time than Transformer-XL achieved by replacing ~63% of the self-attention blocks with feed-forward blocks, and retains the perplexity on WikiText-103 language modelling benchmark. We further validated our results on text8 and enwiki8 datasets, as well as on the BERT model.

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. Charlie Nash
  2. Peter W. Battaglia
  3. Jacob Menick
  4. Sander Dieleman
  5. Josh Tenenbaum
  6. Yoshua Bengio
  7. Sergey Levine
  8. Jessica B. Hamrick

In Model Architectures

  1. Peter W. Battaglia
  2. Jacob Menick
  3. Charlie Nash
  4. Sander Dieleman

In Efficiency & Compression

  1. Peter W. Battaglia
  2. Jacob Menick
  3. Charlie Nash
  4. Sander Dieleman

Citations in the corpus