RaftMLP: How Much Can Be Done Without Attention and with Less Spatial Locality?
Not on the map. Why?
Abstract (arXiv)
For the past ten years, CNN has reigned supreme in the world of computer vision, but recently, Transformer has been on the rise. However, the quadratic computational cost of self-attention has become a serious problem in practice applications. There has been much research on architectures without CNN and self-attention in this context. In particular, MLP-Mixer is a simple architecture designed using MLPs and hit an accuracy comparable to the Vision Transformer. However, the only inductive bias in this architecture is the embedding of tokens. This leaves open the possibility of incorporating a non-convolutional (or non-local) inductive bias into the architecture, so we used two simple ideas to incorporate inductive bias into the MLP-Mixer while taking advantage of its ability to capture global correlations. A way is to divide the token-mixing block vertically and horizontally. Another way is to make spatial correlations denser among some channels of token-mixing. With this approach, we were able to improve the accuracy of the MLP-Mixer while reducing its parameters and computational complexity. The small model that is RaftMLP-S is comparable to the state-of-the-art global MLP-based model in terms of parameters and efficiency per calculation. In addition, we tackled the problem of fixed input image resolution for global MLP-based models by utilizing bicubic interpolation. We demonstrated that these models could be applied as the backbone of architectures for downstream tasks such as object detection. However, it did not have significant performance and mentioned the need for MLP-specific architectures for downstream tasks for global MLP-based models. The source code in PyTorch version is available at urlhttps://github.com/okojoalg/raft-mlp.
Key facts. Cited by 5 papers in the map (data through 7 Oct 2026). Builds on 47 of its 60 references that are in the map. First posted on arXiv 9 Aug 2021.
Builds on
47 of 60 references.
References · 47
- 2017Attention Is All You Needcited by 59,932
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2014Microsoft COCO: Common Objects in Contextcited by 17,498
- 2014Very Deep Convolutional Networks for Large-Scale Image Recognitioncited by 15,267
- 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,082
- 2017Mask R-CNNcited by 7,259
- 2019EfficientNet: Rethinking Model Scaling for Convolutional Neural Networkscited by 6,415
- 2016Layer Normalizationcited by 5,579
- 2015Rethinking the Inception Architecture for Computer Visioncited by 5,451
- 2017mixup: Beyond Empirical Risk Minimizationcited by 5,155
- 2016Feature Pyramid Networks for Object Detectioncited by 5,021
- 2020Training data-efficient image transformers & distillation through attentioncited by 4,560
35 more
- 2014Going Deeper with Convolutionscited by 4,231
- 2016Gaussian Error Linear Units (GELUs)cited by 3,431
- 2019CutMix: Regularization Strategy to Train Strong Classifiers with Localizable Featurescited by 2,875
- 2017Non-local Neural Networkscited by 2,290
- 2019RandAugment: Practical automated data augmentation with a reduced search spacecited by 2,261
- 2019Searching for MobileNetV3cited by 1,984
- 2021Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without Convolutionscited by 1,960
- 2017Improved Regularization of Convolutional Neural Networks with Cutoutcited by 1,623
- 2021ViViT: A Video Vision Transformercited by 1,610
- 2021MLP-Mixer: An all-MLP Architecture for Visioncited by 1,441
- 2019MMDetection: Open MMLab Detection Toolbox and Benchmarkcited by 1,379
- 2021EfficientNetV2: Smaller Models and Faster Trainingcited by 1,127
- 2021Tokens-to-Token ViT: Training Vision Transformers from Scratch on ImageNetcited by 1,096
- 2016Deep Networks with Stochastic Depthcited by 973
- 2021CrossViT: Cross-Attention Multi-Scale Vision Transformer for Image Classificationcited by 806
- 2021Going deeper with Image Transformerscited by 759
- 2017Focal Loss for Dense Object Detectioncited by 749
- 2021CogView: Mastering Text-to-Image Generation via Transformerscited by 691
- 2019Panoptic Feature Pyramid Networkscited by 644
- 2021Transformer in Transformercited by 632
- 2019Stand-Alone Self-Attention in Vision Modelscited by 542
- 2021Pay Attention to MLPscited by 367
- 2019Attention Augmented Convolutional Networkscited by 363
- 2021ResMLP: Feedforward networks for image classification with data-efficient trainingcited by 338
- 2021XCiT: Cross-Covariance Image Transformerscited by 335
- 2019On the Relationship between Self-Attention and Convolutional Layerscited by 299
- 2021DeepViT: Towards Deeper Vision Transformercited by 288
- 2018Gather-Excite: Exploiting Feature Context in Convolutional Neural Networkscited by 138
- 2021CycleMLP: A MLP-like Architecture for Dense Predictioncited by 126
- 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
- 2021Do You Even Need Attention? A Stack of Feed-Forward Layers Does Surprisingly Well on ImageNetcited by 61
- 2021S2-MLPv2: Improved Spatial-Shift MLP Architecture for Visioncited by 24
- 2021Rethinking Token-Mixing MLP for MLP-based Vision Backbonecited by 15
Built on by
Citing papers per year: 2022: 2; 2023: 2; 2024: 1.
5 papers.
- 2022Sequencer: Deep LSTM for Image Classificationcited by 23
- 2022HyperMixer: An MLP-based Low Cost Alternative to Transformerscited by 13
- 2023Efficient Deep Spiking Multi-Layer Perceptrons with Multiplication-Free Inferencecited by 7
- 2024Incorporating Exponential Smoothing into MLP: A Simple but Effective Sequence Modelcited by 2
- 2023CS-Mixer: A Cross-Scale Vision MLP Model with Spatial-Channel Mixingcited by 0
- 2024Incorporating Exponential Smoothing into MLP: A Simple but Effective Sequence Model26 Mar 2024
- 2023CS-Mixer: A Cross-Scale Vision MLP Model with Spatial-Channel Mixing25 Aug 2023
- 2023Efficient Deep Spiking Multi-Layer Perceptrons with Multiplication-Free Inference21 Jun 2023
- 2022Sequencer: Deep LSTM for Image Classification4 May 2022
- 2022HyperMixer: An MLP-based Low Cost Alternative to Transformers7 Mar 2022