RepMLP: Re-parameterizing Convolutions into Fully-connected Layers for Image Recognition
Not on the map. Why?
Abstract (arXiv)
We propose RepMLP, a multi-layer-perceptron-style neural network building block for image recognition, which is composed of a series of fully-connected (FC) layers. Compared to convolutional layers, FC layers are more efficient, better at modeling the long-range dependencies and positional patterns, but worse at capturing the local structures, hence usually less favored for image recognition. We propose a structural re-parameterization technique that adds local prior into an FC to make it powerful for image recognition. Specifically, we construct convolutional layers inside a RepMLP during training and merge them into the FC for inference. On CIFAR, a simple pure-MLP model shows performance very close to CNN. By inserting RepMLP in traditional CNN, we improve ResNets by 1.8% accuracy on ImageNet, 2.9% for face recognition, and 2.3% mIoU on Cityscapes with lower FLOPs. Our intriguing findings highlight that combining the global representational capacity and positional perception of FC with the local prior of convolution can improve the performance of neural network with faster speed on both the tasks with translation invariance (e.g., semantic segmentation) and those with aligned images and positional patterns (e.g., face recognition). The code and models are available at https://github.com/DingXiaoH/RepMLP.
Key facts. Cited by 40 papers in the map (data through 7 Oct 2026). Builds on 24 of its 36 references that are in the map. First posted on arXiv 5 May 2021.
Builds on
24 of 36 references.
References · 24
- 2017Attention Is All You Needcited by 59,932
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
- 2015Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shiftcited by 6,979
- 2019EfficientNet: Rethinking Model Scaling for Convolutional Neural Networkscited by 6,415
- 2017mixup: Beyond Empirical Risk Minimizationcited by 5,155
- 2016The Cityscapes Dataset for Semantic Urban Scene Understandingcited by 4,427
- 2016Aggregated Residual Transformations for Deep Neural Networkscited by 2,540
- 2016Pyramid Scene Parsing Networkcited by 2,472
- 2016Xception: Deep Learning with Depthwise Separable Convolutionscited by 2,320
- 2017Non-local Neural Networkscited by 2,290
12 more
- 2015Learning both Weights and Connections for Efficient Neural Networkscited by 1,998
- 2021MLP-Mixer: An all-MLP Architecture for Visioncited by 1,441
- 2016MS-Celeb-1M: A Dataset and Benchmark for Large-Scale Face Recognitioncited by 621
- 2021RepVGG: Making VGG-style ConvNets Great Againcited by 520
- 2019GCNet: Non-local Networks Meet Squeeze-Excitation Networks and Beyondcited by 331
- 2018Additive Margin Softmax for Face Verificationcited by 275
- 2015The MegaFace Benchmark: 1 Million Faces for Recognition at Scalecited by 199
- 2018MobileFaceNets: Efficient CNNs for Accurate Real-Time Face Verification on Mobile Devicescited by 180
- 2019ACNet: Strengthening the Kernel Skeletons for Powerful CNN via Asymmetric Convolution Blockscited by 178
- 2015Fast Algorithms for Convolutional Neural Networkscited by 102
- 2013Fast Training of Convolutional Networks through FFTscited by 89
- 2017MEC: Memory-efficient Convolution for Deep Neural Networkcited by 14
Built on by
Citing papers per year: 2021: 12; 2022: 9; 2023: 6; 2024: 9; 2025: 4.
40 papers.
Sort:
By area:
- 2021Pay Attention to MLPscited by 367
- 2021ResMLP: Feedforward networks for image classification with data-efficient trainingcited by 338
- 2021XCiT: Cross-Covariance Image Transformerscited by 335
- 2022Scaling & Shifting Your Features: A New Baseline for Efficient Model Tuningcited by 292
- 2022Tensor Programs V: Tuning Large Neural Networks via Zero-Shot Hyperparameter Transfercited by 272
- 2021ViTAE: Vision Transformer Advanced by Exploring Intrinsic Inductive Biascited by 216
- 2021Graph-less Neural Networks: Teaching Old MLPs New Tricks via Distillationcited by 151
- 2022Three things everyone should know about Vision Transformerscited by 90
- 2021Graph-MLP: Node Classification without Message Passing in Graphcited by 73
- 2021PointMixer: MLP-Mixer for Point Cloud Understandingcited by 71
- 2021SmoothNet: A Plug-and-Play Network for Refining Human Poses in Videoscited by 64
- 2024A Closer Look at the Robustness of Contrastive Language-Image Pre-Training (CLIP)cited by 44
28 more
- 2021Augmenting Convolutional networks with attention-based aggregationcited by 29
- 2023ALOFT: A Lightweight MLP-like Architecture with Dynamic Low-frequency Transform for Domain Generalizationcited by 28
- 2022On the Strong Correlation Between Model Invariance and Generalizationcited by 23
- 2024PNVC: Towards Practical INR-based Video Compressioncited by 19
- 2022Learned Smartphone ISP on Mobile GPUs with Deep Learning, Mobile AI & AIM 2022 Challenge: Reportcited by 13
- 2024Toward a Holistic Evaluation of Robustness in CLIP Modelscited by 13
- 2023Experts Weights Averaging: A New General Training Scheme for Vision Transformerscited by 12
- 2021RepNAS: Searching for Efficient Re-parameterizing Blockscited by 11
- 20234K-Resolution Photo Exposure Correction at 125 FPS with ~8K Parameterscited by 9
- 2022QbyE-MLPMixer: Query-by-Example Open-Vocabulary Keyword Spotting using MLPMixercited by 4
- 2024ALoRE: Efficient Visual Adaptation via Aggregating Low Rank Expertscited by 4
- 2021Arbitrary Distribution Modeling with Censorship in Real-Time Bidding Advertisingcited by 3
- 2022MDMLP: Image Classification from Scratch on Small Datasets with MLPcited by 2
- 2023ASR: Attention-alike Structural Re-parameterizationcited by 2
- 2025Learning Pixel-adaptive Multi-layer Perceptrons for Real-time Image Enhancementcited by 2
- 2021A channel attention based MLP-Mixer network for motor imagery decoding with EEGcited by 1
- 2022Parameterization of Cross-Token Relations with Relative Positional Encoding for Vision MLPcited by 1
- 2024SpiralMLP: A Lightweight Vision MLP Architecturecited by 1
- 2025RVAFM: Re-parameterizing Vertical Attention Fusion Module for Handwritten Paragraph Text Recognitioncited by 1
- 2025Don't Pay Attentioncited by 1
- 2025FW-GAN: Frequency-Driven Handwriting Synthesis with Wave-Modulated MLP Generatorcited by 1
- 2022A One-Shot Reparameterization Method for Reducing the Loss of Tile Pruning on DNNscited by 0
- 2023SCSC: Spatial Cross-scale Convolution Module to Strengthen both CNNs and Transformerscited by 0
- 2023FMViT: A multiple-frequency mixing Vision Transformercited by 0
- 2024Towards Accurate Post-training Quantization for Reparameterized Modelscited by 0
- 2024Fully-fused Multi-Layer Perceptrons on Intel Data Center GPUscited by 0
- 2024Combining Relevance and Magnitude for Resource-Aware DNN Pruningcited by 0
- 2024A transition towards virtual representations of visual scenescited by 0
- 2025FW-GAN: Frequency-Driven Handwriting Synthesis with Wave-Modulated MLP Generator28 Aug 2025
- 2025Learning Pixel-adaptive Multi-layer Perceptrons for Real-time Image Enhancement16 Jul 2025
- 2025Don't Pay Attention12 Jun 2025
- 2025RVAFM: Re-parameterizing Vertical Attention Fusion Module for Handwritten Paragraph Text Recognition5 Mar 2025
- 2024ALoRE: Efficient Visual Adaptation via Aggregating Low Rank Experts11 Dec 2024
- 2024A transition towards virtual representations of visual scenes10 Oct 2024
- 2024Toward a Holistic Evaluation of Robustness in CLIP Models2 Oct 2024
- 2024PNVC: Towards Practical INR-based Video Compression2 Sep 2024
- 2024Combining Relevance and Magnitude for Resource-Aware DNN Pruning21 May 2024
- 2024SpiralMLP: A Lightweight Vision MLP Architecture31 Mar 2024
- 2024Fully-fused Multi-Layer Perceptrons on Intel Data Center GPUs26 Mar 2024
- 2024Towards Accurate Post-training Quantization for Reparameterized Models25 Feb 2024
28 more
- 2024A Closer Look at the Robustness of Contrastive Language-Image Pre-Training (CLIP)12 Feb 2024
- 20234K-Resolution Photo Exposure Correction at 125 FPS with ~8K Parameters15 Nov 2023
- 2023FMViT: A multiple-frequency mixing Vision Transformer9 Nov 2023
- 2023SCSC: Spatial Cross-scale Convolution Module to Strengthen both CNNs and Transformers14 Aug 2023
- 2023Experts Weights Averaging: A New General Training Scheme for Vision Transformers11 Aug 2023
- 2023ASR: Attention-alike Structural Re-parameterization13 Apr 2023
- 2023ALOFT: A Lightweight MLP-like Architecture with Dynamic Low-frequency Transform for Domain Generalization21 Mar 2023
- 2022Learned Smartphone ISP on Mobile GPUs with Deep Learning, Mobile AI & AIM 2022 Challenge: Report7 Nov 2022
- 2022Scaling & Shifting Your Features: A New Baseline for Efficient Model Tuning17 Oct 2022
- 2022A One-Shot Reparameterization Method for Reducing the Loss of Tile Pruning on DNNs29 Jul 2022
- 2022Parameterization of Cross-Token Relations with Relative Positional Encoding for Vision MLP15 Jul 2022
- 2022On the Strong Correlation Between Model Invariance and Generalization14 Jul 2022
- 2022QbyE-MLPMixer: Query-by-Example Open-Vocabulary Keyword Spotting using MLPMixer23 Jun 2022
- 2022MDMLP: Image Classification from Scratch on Small Datasets with MLP28 May 2022
- 2022Three things everyone should know about Vision Transformers18 Mar 2022
- 2022Tensor Programs V: Tuning Large Neural Networks via Zero-Shot Hyperparameter Transfer7 Mar 2022
- 2021SmoothNet: A Plug-and-Play Network for Refining Human Poses in Videos27 Dec 2021
- 2021Augmenting Convolutional networks with attention-based aggregation27 Dec 2021
- 2021PointMixer: MLP-Mixer for Point Cloud Understanding22 Nov 2021
- 2021Arbitrary Distribution Modeling with Censorship in Real-Time Bidding Advertising26 Oct 2021
- 2021A channel attention based MLP-Mixer network for motor imagery decoding with EEG21 Oct 2021
- 2021Graph-less Neural Networks: Teaching Old MLPs New Tricks via Distillation17 Oct 2021
- 2021RepNAS: Searching for Efficient Re-parameterizing Blocks8 Sep 2021
- 2021XCiT: Cross-Covariance Image Transformers17 Jun 2021
- 2021Graph-MLP: Node Classification without Message Passing in Graph8 Jun 2021
- 2021ViTAE: Vision Transformer Advanced by Exploring Intrinsic Inductive Bias7 Jun 2021
- 2021Pay Attention to MLPs17 May 2021
- 2021ResMLP: Feedforward networks for image classification with data-efficient training7 May 2021
- 2024Toward a Holistic Evaluation of Robustness in CLIP Modelscited by 13
- 2021Pay Attention to MLPscited by 367
- 2021ResMLP: Feedforward networks for image classification with data-efficient trainingcited by 338
- 2021XCiT: Cross-Covariance Image Transformerscited by 335
- 2022Scaling & Shifting Your Features: A New Baseline for Efficient Model Tuningcited by 292
- 2022Tensor Programs V: Tuning Large Neural Networks via Zero-Shot Hyperparameter Transfercited by 272
- 2021ViTAE: Vision Transformer Advanced by Exploring Intrinsic Inductive Biascited by 216
- 2021Graph-less Neural Networks: Teaching Old MLPs New Tricks via Distillationcited by 151
- 2022Three things everyone should know about Vision Transformerscited by 90
- 2021Graph-MLP: Node Classification without Message Passing in Graphcited by 73
- 2021PointMixer: MLP-Mixer for Point Cloud Understandingcited by 71
- 2021SmoothNet: A Plug-and-Play Network for Refining Human Poses in Videoscited by 64
- 2024A Closer Look at the Robustness of Contrastive Language-Image Pre-Training (CLIP)cited by 44
12 most cited of 38 All 38 (JSON)
- 2025FW-GAN: Frequency-Driven Handwriting Synthesis with Wave-Modulated MLP Generator28 Aug 2025
- 2025Learning Pixel-adaptive Multi-layer Perceptrons for Real-time Image Enhancement16 Jul 2025
- 2025Don't Pay Attention12 Jun 2025
- 2025RVAFM: Re-parameterizing Vertical Attention Fusion Module for Handwritten Paragraph Text Recognition5 Mar 2025
- 2024ALoRE: Efficient Visual Adaptation via Aggregating Low Rank Experts11 Dec 2024
- 2024A transition towards virtual representations of visual scenes10 Oct 2024
- 2024PNVC: Towards Practical INR-based Video Compression2 Sep 2024
- 2024Combining Relevance and Magnitude for Resource-Aware DNN Pruning21 May 2024
- 2024SpiralMLP: A Lightweight Vision MLP Architecture31 Mar 2024
- 2024Fully-fused Multi-Layer Perceptrons on Intel Data Center GPUs26 Mar 2024
- 2024Towards Accurate Post-training Quantization for Reparameterized Models25 Feb 2024
- 2024A Closer Look at the Robustness of Contrastive Language-Image Pre-Training (CLIP)12 Feb 2024
12 newest of 38 All 38 (JSON)