Lune

CVPR2022Top-tier venue

RepMLPNet: Hierarchical Vision MLP with Re-parameterized Locality

Xiaohan Ding, Honghao Chen, Xiangyu Zhang, Jungong Han, Guiguang Ding

Abstract

Compared to convolutional layers, fully-connected (FC) layers are better at modeling the long-range dependencies but worse at capturing the local patterns, hence usually less favored for image recognition. In this paper, we propose a methodology, Locality Injection, to incorporate local priors into an FC layer via merging the trained parameters of a parallel conv kernel into the FC kernel. Locality Injection can be viewed as a novel Structural Re-parameterization method since it equivalently converts the structures via transforming the parameters. Based on that, we propose a multi-layer-perceptron (MLP) block named RepMLP Block, which uses three FC layers to extract features, and a novel architecture named RepMLPNet. The hierarchical design distinguishes RepMLPNet from the other concurrently proposed vision MLPs. As it produces feature maps of different levels, it qualifies as a backbone model for downstream tasks like semantic segmentation. Our results reveal that 1) Locality Injection is a general methodology for MLP models; 2) RepMLPNet has favorable accuracy-efficiency trade-off compared to the other MLPs; 3) RepMLPNet is the first MLP that seamlessly transfer to Cityscapes semantic segmentation. The code and models are available at https://github.com/DingXiaoH/RepMLP .

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.

17 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • MogaNet: Multi-order Gated Aggregation Network cites CutMix: Regularization Strategy to Train Strong Classifiers With Localizable Features
  • MogaNet: Multi-order Gated Aggregation Network cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • MogaNet: Multi-order Gated Aggregation Network cites RandAugment: Practical Automated Data Augmentation with a Reduced Search Space
  • MogaNet: Multi-order Gated Aggregation Network cites More ConvNets in the 2020s: Scaling up Kernels Beyond 51x51 using Sparsity
  • MogaNet: Multi-order Gated Aggregation Network cites Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
  • MogaNet: Multi-order Gated Aggregation Network cites Training data-efficient image transformers & distillation through attention
  • Scaling Up Your Kernels to 31×31: Revisiting Large Kernel Design in CNNs cites CutMix: Regularization Strategy to Train Strong Classifiers With Localizable Features
  • Scaling Up Your Kernels to 31×31: Revisiting Large Kernel Design in CNNs cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Scaling Up Your Kernels to 31×31: Revisiting Large Kernel Design in CNNs cites RandAugment: Practical Automated Data Augmentation with a Reduced Search Space
  • Scaling Up Your Kernels to 31×31: Revisiting Large Kernel Design in CNNs cites Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
  • Scaling Up Your Kernels to 31×31: Revisiting Large Kernel Design in CNNs cites Training data-efficient image transformers & distillation through attention
  • More ConvNets in the 2020s: Scaling up Kernels Beyond 51x51 using Sparsity cites CutMix: Regularization Strategy to Train Strong Classifiers With Localizable Features
  • More ConvNets in the 2020s: Scaling up Kernels Beyond 51x51 using Sparsity cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • More ConvNets in the 2020s: Scaling up Kernels Beyond 51x51 using Sparsity cites RandAugment: Practical Automated Data Augmentation with a Reduced Search Space
  • More ConvNets in the 2020s: Scaling up Kernels Beyond 51x51 using Sparsity cites Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
  • More ConvNets in the 2020s: Scaling up Kernels Beyond 51x51 using Sparsity cites Training data-efficient image transformers & distillation through attention
  • Sequencer: Deep LSTM for Image Classification cites CutMix: Regularization Strategy to Train Strong Classifiers With Localizable Features
  • Sequencer: Deep LSTM for Image Classification cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Sequencer: Deep LSTM for Image Classification cites RandAugment: Practical Automated Data Augmentation with a Reduced Search Space
  • Sequencer: Deep LSTM for Image Classification cites Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
  • Sequencer: Deep LSTM for Image Classification cites Training data-efficient image transformers & distillation through attention
  • Swin Transformer: Hierarchical Vision Transformer using Shifted Windows cites CutMix: Regularization Strategy to Train Strong Classifiers With Localizable Features
  • 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 RandAugment: Practical Automated Data Augmentation with a Reduced Search Space
  • Swin Transformer: Hierarchical Vision Transformer using Shifted Windows 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
  • Re-parameterizing Your Optimizers rather than Architectures cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Re-parameterizing Your Optimizers rather than Architectures cites RandAugment: Practical Automated Data Augmentation with a Reduced Search Space
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers17

  1. Scaling Up Your Kernels to 31×31: Revisiting Large Kernel Design in CNNsXiaohan Ding, Xiangyu Zhang, Jungong Han, Guiguang DingCVPR 2022 · 1,298 citations
  2. MogaNet: Multi-order Gated Aggregation NetworkSiyuan Li, Zedong Wang, Zicheng Liu, Cheng Tan et al.ICLR 2024 · 151 citations
  3. Sequencer: Deep LSTM for Image ClassificationYuki Tatsunami, Masato TakiNeurIPS 2022 · 124 citations
  4. More ConvNets in the 2020s: Scaling up Kernels Beyond 51x51 using SparsityShiwei Liu, Tianlong Chen, Xiaohan Chen, Xuxi Chen et al.ICLR 2023 · 87 citations
  5. Re-parameterizing Your Optimizers rather than ArchitecturesXiaohan Ding, Honghao Chen, Xiangyu Zhang, Kaiqi Huang et al.ICLR 2023 · 27 citations

Builds on12

  1. Swin Transformer: Hierarchical Vision Transformer using Shifted WindowsZe Liu, Yutong Lin, Yue Cao, Han Hu et al.ICCV 2021 · 31,683 citations
  2. 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
  3. Training data-efficient image transformers & distillation through attentionHugo Touvron, Matthieu Cord, Matthijs Douze, Francisco Massa et al.ICML 2021 · 8,974 citations
  4. CutMix: Regularization Strategy to Train Strong Classifiers With Localizable FeaturesSangdoo Yun, Dongyoon Han, Sanghyuk Chun, Seong Joon Oh et al.ICCV 2019 · 5,843 citations
  5. RandAugment: Practical Automated Data Augmentation with a Reduced Search SpaceEkin Dogus Cubuk, Barret Zoph, Jonathon Shlens, Quoc LeNeurIPS 2020 · 4,453 citations

Related papers

  1. Hire-MLP: Vision MLP via Hierarchical RearrangementJianyuan Guo, Yehui Tang, Kai Han, Xinghao Chen et al.CVPR 2022 · 81 citations
  2. AS-MLP: An Axial Shifted MLP Architecture for VisionDongze Lian, Zehao Yu, Xing Sun, Shenghua GaoICLR 2022 · 217 citations
  3. Caterpillar: A Pure-MLP Architecture with Shifted-Pillars-ConcatenationJin Sun, Xiaoshuang Shi, Zhiyuan Wang, Kaidi Xu et al.ACM MM 2024 · 1 citation
  4. Revisiting the Transferability of Supervised Pretraining: an MLP PerspectiveYizhou Wang, Shixiang Tang, Feng Zhu, Lei Bai et al.CVPR 2022 · 50 citations
  5. SegFormer: Simple and Efficient Design for Semantic Segmentation with TransformersEnze Xie, Wenhai Wang, Zhiding Yu, Anima Anandkumar et al.NeurIPS 2021 · 9,661 citations
Dusk over the sea between two cliffs drawn in fine vertical lines