AS-MLP: An Axial Shifted MLP Architecture for Vision
Dongze Lian, Zehao Yu, Xing Sun, Shenghua Gao
Abstract
An Axial Shifted MLP architecture (AS-MLP) is proposed in this paper. Different from MLP-Mixer, where the global spatial feature is encoded for information flow through matrix transposition and one token-mixing MLP, we pay more attention to the local features interaction. By axially shifting channels of the feature map, AS-MLP is able to obtain the information flow from different axial directions, which captures the local dependencies. Such an operation enables us to utilize a pure MLP architecture to achieve the same local receptive field as CNN-like architecture. We can also design the receptive field size and dilation of blocks of AS-MLP, etc, in the same spirit of convolutional neural networks. With the proposed AS-MLP architecture, our model obtains 83.3% Top-1 accuracy with 88M parameters and 15.2 GFLOPs on the ImageNet-1K dataset. Such a simple yet effective architecture outperforms all MLP-based architectures and achieves competitive performance compared to the transformer-based architectures (e.g., Swin Transformer) even with slightly lower FLOPs. In addition, AS-MLP is also the first MLP-based architecture to be applied to the downstream tasks (e.g., object detection and semantic segmentation). The experimental results are also impressive. Our proposed AS-MLP obtains 51.5 mAP on the COCO validation set and 49.5 MS mIoU on the ADE20K dataset, which is competitive compared to the transformer-based architectures. Our AS-MLP establishes a strong baseline of MLP-based architecture. Code is available at https://github.com/svip-lab/AS-MLP .
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
41 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- CycleMLP: A MLP-like Architecture for Dense Prediction cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- CycleMLP: A MLP-like Architecture for Dense Prediction cites Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
- CycleMLP: A MLP-like Architecture for Dense Prediction cites Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without Convolutions
- CycleMLP: A MLP-like Architecture for Dense Prediction cites Training data-efficient image transformers & distillation through attention
- Vision GNN: An Image is Worth Graph of Nodes cites CycleMLP: A MLP-like Architecture for Dense Prediction
- Vision GNN: An Image is Worth Graph of Nodes cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- Vision GNN: An Image is Worth Graph of Nodes cites Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
- Vision GNN: An Image is Worth Graph of Nodes cites Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without Convolutions
- Vision GNN: An Image is Worth Graph of Nodes cites Training data-efficient image transformers & distillation through attention
- EfficientNetV2: Smaller Models and Faster Training cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- EfficientNetV2: Smaller Models and Faster Training cites Training data-efficient image transformers & distillation through attention
- Focal Modulation Networks cites CycleMLP: A MLP-like Architecture for Dense Prediction
- Focal Modulation Networks cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- Focal Modulation Networks cites Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
- Focal Modulation Networks cites Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without Convolutions
- Focal Modulation Networks cites Training data-efficient image transformers & distillation through attention
- Swin Transformer: Hierarchical Vision Transformer using Shifted Windows cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- Swin Transformer: Hierarchical Vision Transformer using Shifted Windows cites Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without Convolutions
- Swin Transformer: Hierarchical Vision Transformer using Shifted Windows cites Training data-efficient image transformers & distillation through attention
- Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without Convolutions cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without Convolutions cites Training data-efficient image transformers & distillation through attention
- Scaling & Shifting Your Features: A New Baseline for Efficient Model Tuning cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- Scaling & Shifting Your Features: A New Baseline for Efficient Model Tuning cites Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
- Scaling & Shifting Your Features: A New Baseline for Efficient Model Tuning cites Training data-efficient image transformers & distillation through attention
- Training data-efficient image transformers & distillation through attention cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
Cited by top-tier papers41
- Vision GNN: An Image is Worth Graph of NodesKai Han, Yunhe Wang, Jianyuan Guo, Yehui Tang et al.NeurIPS 2022 · 668 citations
- Focal Modulation NetworksJianwei Yang, Chunyuan Li, Xiyang Dai, Jianfeng GaoNeurIPS 2022 · 494 citations
- Scaling & Shifting Your Features: A New Baseline for Efficient Model TuningDongze Lian, Daquan Zhou, Jiashi Feng, Xinchao WangNeurIPS 2022 · 415 citations
- Filter-enhanced MLP is All You Need for Sequential RecommendationKun Zhou, Hui Yu, Wayne Xin Zhao, Ji-Rong WenWWW 2022 · 411 citations
- CycleMLP: A MLP-like Architecture for Dense PredictionShoufa Chen, Enze Xie, Chongjian Ge, Runjian Chen et al.ICLR 2022 · 254 citations
Builds on19
- Swin Transformer: Hierarchical Vision Transformer using Shifted WindowsZe Liu, Yutong Lin, Yue Cao, Han Hu et al.ICCV 2021 · 31,683 citations
- An Image is Worth 16x16 Words: Transformers for Image Recognition at ScaleAlexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn et al.ICLR 2021 · 21,477 citations
- Training data-efficient image transformers & distillation through attentionHugo Touvron, Matthieu Cord, Matthijs Douze, Francisco Massa et al.ICML 2021 · 8,974 citations
- Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without ConvolutionsWenhai Wang, Enze Xie, Xiang Li, Deng-Ping Fan et al.ICCV 2021 · 4,909 citations
- EfficientNetV2: Smaller Models and Faster TrainingMingxing Tan, Quoc V. LeICML 2021 · 4,239 citations
Related papers
- Hire-MLP: Vision MLP via Hierarchical RearrangementJianyuan Guo, Yehui Tang, Kai Han, Xinghao Chen et al.CVPR 2022 · 81 citations
- Sparse MLP for Image Recognition: Is Self-Attention Really Necessary?Chuanxin Tang, Yucheng Zhao, Guangting Wang, Chong Luo et al.AAAI 2022 · 125 citations
- DynaMixer: A Vision MLP Architecture with Dynamic MixingZiyu Wang, Wenhao Jiang, Yiming Zhu, Li Yuan et al.ICML 2022 · 55 citations
- AdaMixer: A Fast-Converging Query-Based Object DetectorZiteng Gao, Limin Wang, Bing Han, Sheng GuoCVPR 2022 · 119 citations
- MLP-Mixer: An all-MLP Architecture for VisionIlya O. Tolstikhin, Neil Houlsby, Alexander Kolesnikov, Lucas Beyer et al.NeurIPS 2021 · 3,862 citations
