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