Sparse MLP for Image Recognition: Is Self-Attention Really Necessary?
Not on the map. Why?
Abstract (arXiv)
Transformers have sprung up in the field of computer vision. In this work, we explore whether the core self-attention module in Transformer is the key to achieving excellent performance in image recognition. To this end, we build an attention-free network called sMLPNet based on the existing MLP-based vision models. Specifically, we replace the MLP module in the token-mixing step with a novel sparse MLP (sMLP) module. For 2D image tokens, sMLP applies 1D MLP along the axial directions and the parameters are shared among rows or columns. By sparse connection and weight sharing, sMLP module significantly reduces the number of model parameters and computational complexity, avoiding the common over-fitting problem that plagues the performance of MLP-like models. When only trained on the ImageNet-1K dataset, the proposed sMLPNet achieves 81.9% top-1 accuracy with only 24M parameters, which is much better than most CNNs and vision Transformers under the same model size constraint. When scaling up to 66M parameters, sMLPNet achieves 83.4% top-1 accuracy, which is on par with the state-of-the-art Swin Transformer. The success of sMLPNet suggests that the self-attention mechanism is not necessarily a silver bullet in computer vision. The code and models are publicly available at https://github.com/microsoft/SPACH
Key facts. Cited by 38 papers in the map (data through 7 Oct 2026). Builds on 25 of its 28 references that are in the map. First posted on arXiv 12 Sep 2021.
Builds on
25 of 28 references.
References · 25
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2014Very Deep Convolutional Networks for Large-Scale Image Recognitioncited by 15,267
- 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,082
- 2015Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shiftcited by 6,979
- 2016Layer Normalizationcited by 5,579
- 2015Rethinking the Inception Architecture for Computer Visioncited by 5,451
- 2017mixup: Beyond Empirical Risk Minimizationcited by 5,155
- 2020Training data-efficient image transformers & distillation through attentioncited by 4,560
- 2017Non-local Neural Networkscited by 2,290
- 2019RandAugment: Practical automated data augmentation with a reduced search spacecited by 2,261
- 2021Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without Convolutionscited by 1,960
13 more
- 2021MLP-Mixer: An all-MLP Architecture for Visioncited by 1,441
- 2017Random Erasing Data Augmentationcited by 1,235
- 2020Designing Network Design Spacescited by 954
- 2021Twins: Revisiting the Design of Spatial Attention in Vision Transformerscited by 565
- 2021CSWin Transformer: A General Vision Transformer Backbone with Cross-Shaped Windowscited by 526
- 2021Pay Attention to MLPscited by 367
- 2021ResMLP: Feedforward networks for image classification with data-efficient trainingcited by 338
- 2021DeepViT: Towards Deeper Vision Transformercited by 288
- 2016FractalNet: Ultra-Deep Neural Networks without Residualscited by 216
- 2021Shuffle Transformer: Rethinking Spatial Shuffle for Vision Transformercited by 115
- 2021Beyond Self-attention: External Attention using Two Linear Layers for Visual Taskscited by 109
- 2021MSG-Transformer: Exchanging Local Spatial Information by Manipulating Messenger Tokenscited by 46
- 2021Glance-and-Gaze Vision Transformercited by 42
Built on by
Citing papers per year: 2021: 3; 2022: 9; 2023: 12; 2024: 9; 2025: 3; 2026: 2.
38 papers.
Sort:
By area:
- 2022Focal Modulation Networkscited by 186
- 2022Understanding The Robustness in Vision Transformerscited by 144
- 2023f-Divergence Minimization for Sequence-Level Knowledge Distillationcited by 112
- 2021Are we ready for a new paradigm shift? A Survey on Visual Deep MLPcited by 63
- 2023Adaptive Frequency Filters As Efficient Global Token Mixerscited by 45
- 2023MH-DETR: Video Moment and Highlight Detection with Cross-modal Transformercited by 40
- 2024MambaMixer: Efficient Selective State Space Models with Dual Token and Channel Selectioncited by 40
- 2024Correlation-aware Coarse-to-fine MLPs for Deformable Medical Image Registrationcited by 37
- 2022DynaMixer: A Vision MLP Architecture with Dynamic Mixingcited by 28
- 2022Sequencer: Deep LSTM for Image Classificationcited by 23
- 2023MLPST: MLP is All You Need for Spatio-Temporal Predictioncited by 22
- 2021MorphMLP: An Efficient MLP-Like Backbone for Spatial-Temporal Representation Learningcited by 21
26 more
- 2022HyperMixer: An MLP-based Low Cost Alternative to Transformerscited by 13
- 2023Strip-MLP: Efficient Token Interaction for Vision MLPcited by 12
- 2024Boosting Code-Switching ASR with Mixture of Experts Enhanced Speech-Conditioned LLMcited by 9
- 2024UCIP: A Universal Framework for Compressed Image Super-Resolution using Dynamic Promptcited by 8
- 2022Piecewise Linear Neural Networks and Deep Learningcited by 7
- 2023Efficient Deep Spiking Multi-Layer Perceptrons with Multiplication-Free Inferencecited by 7
- 2022Mixing and Shifting: Exploiting Global and Local Dependencies in Vision MLPscited by 6
- 2022Active Token Mixercited by 6
- 2023Full-resolution MLPs Empower Medical Dense Predictioncited by 6
- 2021SWAT: Spatial Structure Within and Among Tokenscited by 4
- 2023Caterpillar: A Pure-MLP Architecture with Shifted-Pillars-Concatenationcited by 4
- 2022A Close Look at Spatial Modeling: From Attention to Convolutioncited by 3
- 2024Image Captioning via Dynamic Path Customizationcited by 3
- 2024Team up GBDTs and DNNs: Advancing Efficient and Effective Tabular Prediction with Tree-hybrid MLPscited by 3
- 2024ODMixer: Fine-grained Spatial-temporal MLP for Metro Origin-Destination Predictioncited by 2
- 2025Statistical Management of the False Discovery Rate in Medical Instance Segmentation Based on Conformal Risk Controlcited by 2
- 2023Graph-Guided MLP-Mixer for Skeleton-Based Human Motion Predictioncited by 1
- 2023MLP-AIR: An Efficient MLP-Based Method for Actor Interaction Relation Learning in Group Activity Recognitioncited by 1
- 2023TriMLP: Revenge of a MLP-like Architecture in Sequential Recommendationcited by 1
- 2024SpiralMLP: A Lightweight Vision MLP Architecturecited by 1
- 2024Advancing Deformable Medical Image Registration with Multi-axis Cross-covariance Attentioncited by 1
- 2025Federated Attention: A Distributed Paradigm for Collaborative LLM Inference over Edge Networkscited by 1
- 2026EmambaIR: Efficient Visual State Space Model for Event-guided Image Reconstructioncited by 1
- 2023SiT-MLP: A Simple MLP with Point-wise Topology Feature Learning for Skeleton-based Action Recognitioncited by 0
- 2025Exploring Synergistic Ensemble Learning: Uniting CNNs, MLP-Mixers, and Vision Transformers to Enhance Image Classificationcited by 0
- 2026Search Multilayer Perceptron-Based Fusion for Efficient and Accurate Siamese Trackingcited by 0
- 2026EmambaIR: Efficient Visual State Space Model for Event-guided Image Reconstruction8 May 2026
- 2026Search Multilayer Perceptron-Based Fusion for Efficient and Accurate Siamese Tracking2 Mar 2026
- 2025Federated Attention: A Distributed Paradigm for Collaborative LLM Inference over Edge Networks4 Nov 2025
- 2025Exploring Synergistic Ensemble Learning: Uniting CNNs, MLP-Mixers, and Vision Transformers to Enhance Image Classification12 Apr 2025
- 2025Statistical Management of the False Discovery Rate in Medical Instance Segmentation Based on Conformal Risk Control6 Apr 2025
- 2024Advancing Deformable Medical Image Registration with Multi-axis Cross-covariance Attention24 Dec 2024
- 2024Boosting Code-Switching ASR with Mixture of Experts Enhanced Speech-Conditioned LLM24 Sep 2024
- 2024UCIP: A Universal Framework for Compressed Image Super-Resolution using Dynamic Prompt18 Jul 2024
- 2024Team up GBDTs and DNNs: Advancing Efficient and Effective Tabular Prediction with Tree-hybrid MLPs13 Jul 2024
- 2024Image Captioning via Dynamic Path Customization1 Jun 2024
- 2024Correlation-aware Coarse-to-fine MLPs for Deformable Medical Image Registration31 May 2024
- 2024ODMixer: Fine-grained Spatial-temporal MLP for Metro Origin-Destination Prediction24 Apr 2024
26 more
- 2024SpiralMLP: A Lightweight Vision MLP Architecture31 Mar 2024
- 2024MambaMixer: Efficient Selective State Space Models with Dual Token and Channel Selection29 Mar 2024
- 2023Full-resolution MLPs Empower Medical Dense Prediction28 Nov 2023
- 2023MLPST: MLP is All You Need for Spatio-Temporal Prediction23 Sep 2023
- 2023SiT-MLP: A Simple MLP with Point-wise Topology Feature Learning for Skeleton-based Action Recognition30 Aug 2023
- 2023f-Divergence Minimization for Sequence-Level Knowledge Distillation27 Jul 2023
- 2023Adaptive Frequency Filters As Efficient Global Token Mixers26 Jul 2023
- 2023Strip-MLP: Efficient Token Interaction for Vision MLP21 Jul 2023
- 2023Efficient Deep Spiking Multi-Layer Perceptrons with Multiplication-Free Inference21 Jun 2023
- 2023Caterpillar: A Pure-MLP Architecture with Shifted-Pillars-Concatenation28 May 2023
- 2023TriMLP: Revenge of a MLP-like Architecture in Sequential Recommendation24 May 2023
- 2023MH-DETR: Video Moment and Highlight Detection with Cross-modal Transformer29 Apr 2023
- 2023MLP-AIR: An Efficient MLP-Based Method for Actor Interaction Relation Learning in Group Activity Recognition18 Apr 2023
- 2023Graph-Guided MLP-Mixer for Skeleton-Based Human Motion Prediction7 Apr 2023
- 2022A Close Look at Spatial Modeling: From Attention to Convolution23 Dec 2022
- 2022Piecewise Linear Neural Networks and Deep Learning18 Jun 2022
- 2022Sequencer: Deep LSTM for Image Classification4 May 2022
- 2022Understanding The Robustness in Vision Transformers26 Apr 2022
- 2022Focal Modulation Networks22 Mar 2022
- 2022Active Token Mixer11 Mar 2022
- 2022HyperMixer: An MLP-based Low Cost Alternative to Transformers7 Mar 2022
- 2022Mixing and Shifting: Exploiting Global and Local Dependencies in Vision MLPs14 Feb 2022
- 2022DynaMixer: A Vision MLP Architecture with Dynamic Mixing28 Jan 2022
- 2021SWAT: Spatial Structure Within and Among Tokens26 Nov 2021
- 2021MorphMLP: An Efficient MLP-Like Backbone for Spatial-Temporal Representation Learning24 Nov 2021
- 2021Are we ready for a new paradigm shift? A Survey on Visual Deep MLP7 Nov 2021
- 2022Focal Modulation Networkscited by 186
- 2022Understanding The Robustness in Vision Transformerscited by 144
- 2023f-Divergence Minimization for Sequence-Level Knowledge Distillationcited by 112
- 2021Are we ready for a new paradigm shift? A Survey on Visual Deep MLPcited by 63
- 2023Adaptive Frequency Filters As Efficient Global Token Mixerscited by 45
- 2023MH-DETR: Video Moment and Highlight Detection with Cross-modal Transformercited by 40
- 2024Correlation-aware Coarse-to-fine MLPs for Deformable Medical Image Registrationcited by 37
- 2022DynaMixer: A Vision MLP Architecture with Dynamic Mixingcited by 28
- 2022Sequencer: Deep LSTM for Image Classificationcited by 23
- 2023MLPST: MLP is All You Need for Spatio-Temporal Predictioncited by 22
- 2021MorphMLP: An Efficient MLP-Like Backbone for Spatial-Temporal Representation Learningcited by 21
- 2022HyperMixer: An MLP-based Low Cost Alternative to Transformerscited by 13
12 most cited of 36 All 36 (JSON)
- 2026EmambaIR: Efficient Visual State Space Model for Event-guided Image Reconstruction8 May 2026
- 2026Search Multilayer Perceptron-Based Fusion for Efficient and Accurate Siamese Tracking2 Mar 2026
- 2025Federated Attention: A Distributed Paradigm for Collaborative LLM Inference over Edge Networks4 Nov 2025
- 2025Exploring Synergistic Ensemble Learning: Uniting CNNs, MLP-Mixers, and Vision Transformers to Enhance Image Classification12 Apr 2025
- 2025Statistical Management of the False Discovery Rate in Medical Instance Segmentation Based on Conformal Risk Control6 Apr 2025
- 2024Advancing Deformable Medical Image Registration with Multi-axis Cross-covariance Attention24 Dec 2024
- 2024UCIP: A Universal Framework for Compressed Image Super-Resolution using Dynamic Prompt18 Jul 2024
- 2024Team up GBDTs and DNNs: Advancing Efficient and Effective Tabular Prediction with Tree-hybrid MLPs13 Jul 2024
- 2024Image Captioning via Dynamic Path Customization1 Jun 2024
- 2024Correlation-aware Coarse-to-fine MLPs for Deformable Medical Image Registration31 May 2024
- 2024ODMixer: Fine-grained Spatial-temporal MLP for Metro Origin-Destination Prediction24 Apr 2024
- 2024SpiralMLP: A Lightweight Vision MLP Architecture31 Mar 2024
12 newest of 36 All 36 (JSON)