Pay Attention to MLPs

By Hanxiao Liu, Zihang Dai, David R. So, Quoc V. Le. Neural Information Processing Systems, 2021

883 citations recorded by the source corpus.

Transformers have become one of the most important architectural innovations in deep learning and have enabled many breakthroughs over the past few years. Here we propose a simple network architecture, gMLP, based on MLPs with gating, and show that it can perform as well as Transformers in key language and vision applications. Our comparisons show that self-attention is not critical for Vision Transformers, as gMLP can achieve the same accuracy. For BERT, our model achieves parity with Transformers on pretraining perplexity and is better on some downstream NLP tasks. On finetuning tasks where gMLP performs worse, making the gMLP model substantially larger can close the gap with Transformers. In general, our experiments show that gMLP can scale as well as Transformers over increased data and compute.

Subfields: Artificial Intelligence, Computer Vision and Pattern Recognition

View Paper: https://www.semanticscholar.org/paper/e3a3e85c5a32af29e13b3561f6cf070de70651de

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. Quoc V. Le
  3. Mohit Bansal
  4. Jiashi Feng
  5. Dacheng Tao
  6. Alan L. Yuille
  7. Luke S. Zettlemoyer
  8. Trevor Darrell

In Computer Vision and Pattern Recognition

  1. Luc Van Gool
  2. Dacheng Tao
  3. Ming-Hsuan Yang
  4. Jiashi Feng
  5. Xiaogang Wang
  6. Trevor Darrell
  7. Alan L. Yuille
  8. Yi Yang

Citations in the corpus