mlsanityData to 7 Oct 2026

Transformer Vs. MLP-Mixer: Exponential Expressive Gap For NLP Problems

arXiv 2208.08191 ↗First posted 17 Aug 2022cs.CL cs.CV cs.LGcited by 0

Not on the map. Why?

Abstract (arXiv)

Vision-Transformers are widely used in various vision tasks. Meanwhile, there is another line of works starting with the MLP-mixer trying to achieve similar performance using mlp-based architectures. Interestingly, until now those mlp-based architectures have not been adapted for NLP tasks. Additionally, until now, mlp-based architectures have failed to achieve state-of-the-art performance in vision tasks. In this paper, we analyze the expressive power of mlp-based architectures in modeling dependencies between multiple different inputs simultaneously, and show an exponential gap between the attention and the mlp-based mechanisms. Our results suggest a theoretical explanation for the mlp inability to compete with attention-based mechanisms in NLP problems, they also suggest that the performance gap in vision tasks may be due to the mlp relative weakness in modeling dependencies between multiple different locations, and that combining smart input permutations with mlp architectures may not be enough to close the performance gap alone.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 30 of its 39 references that are in the map. First posted on arXiv 17 Aug 2022.

Builds on

30 of 39 references.

References · 30

  1. 2017Attention Is All You Needcited by 59,932
  2. 2015Deep Residual Learning for Image Recognitioncited by 51,809
  3. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
  4. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  5. 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,082
  6. 2016Densely Connected Convolutional Networkscited by 6,691
  7. 2016Wide Residual Networkscited by 3,057
  8. 2016Aggregated Residual Transformations for Deep Neural Networkscited by 2,540
  9. 2017Deformable Convolutional Networkscited by 1,481
  10. 2021MLP-Mixer: An all-MLP Architecture for Visioncited by 1,441
  11. 2022Model soups: averaging weights of multiple fine-tuned models improves accuracy without increasing inference timecited by 1,366
  12. 2017Revisiting Unreasonable Effectiveness of Data in Deep Learning Eracited by 916
18 more
  1. 2021PVT v2: Improved Baselines with Pyramid Vision Transformercited by 749
  2. 2018Deformable ConvNets v2: More Deformable, Better Resultscited by 666
  3. 2021Twins: Revisiting the Design of Spatial Attention in Vision Transformerscited by 565
  4. 2022MaxViT: Multi-Axis Vision Transformercited by 476
  5. 2021Rethinking Spatial Dimensions of Vision Transformerscited by 361
  6. 2022DaViT: Dual Attention Vision Transformerscited by 174
  7. 2021Vision Permutator: A Permutable MLP-Like Architecture for Visual Recognitioncited by 103
  8. 2021AS-MLP: An Axial Shifted MLP Architecture for Visioncited by 101
  9. 2021S2-MLP: Spatial-Shift MLP Architecture for Visioncited by 83
  10. 2020Train Large, Then Compress: Rethinking Model Size for Efficient Training and Inference of Transformerscited by 67
  11. 2021Hire-MLP: Vision MLP via Hierarchical Rearrangementcited by 66
  12. 2016Inductive Bias of Deep Convolutional Networks through Pooling Geometrycited by 53
  13. 2020The Depth-to-Width Interplay in Self-Attentioncited by 39
  14. 2021The Inductive Bias of In-Context Learning: Rethinking Pretraining Example Designcited by 33
  15. 2021Which transformer architecture fits my data? A vocabulary bottleneck in self-attentioncited by 16
  16. 2019Depth-Width Trade-offs for ReLU Networks via Sharkovsky's Theoremcited by 15
  17. 2017On the Long-Term Memory of Deep Recurrent Networkscited by 14
  18. 2017Analysis and Design of Convolutional Networks via Hierarchical Tensor Decompositionscited by 13

Built on by

Not cited yet.