RePaViT: Scalable Vision Transformer Acceleration via Structural Reparameterization on Feedforward Network Layers
Not on the map. Why?
Abstract (arXiv)
We reveal that feedforward network (FFN) layers, rather than attention layers, are the primary contributors to Vision Transformer (ViT) inference latency, with their impact signifying as model size increases. This finding highlights a critical opportunity for optimizing the efficiency of large-scale ViTs by focusing on FFN layers. In this work, we propose a novel channel idle mechanism that facilitates post-training structural reparameterization for efficient FFN layers during testing. Specifically, a set of feature channels remains idle and bypasses the nonlinear activation function in each FFN layer, thereby forming a linear pathway that enables structural reparameterization during inference. This mechanism results in a family of ReParameterizable Vision Transformers (RePaViTs), which achieve remarkable latency reductions with acceptable sacrifices (sometimes gains) in accuracy across various ViTs. The benefits of our method scale consistently with model sizes, demonstrating greater speed improvements and progressively narrowing accuracy gaps or even higher accuracies on larger models. In particular, RePa-ViT-Large and RePa-ViT-Huge enjoy 66.8% and 68.7% speed-ups with +1.7% and +1.1% higher top-1 accuracies under the same training strategy, respectively. RePaViT is the first to employ structural reparameterization on FFN layers to expedite ViTs to our best knowledge, and we believe that it represents an auspicious direction for efficient ViTs. Source code is available at https://github.com/Ackesnal/RePaViT.
Key facts. Cited by 5 papers in the map (data through 14 Oct 2026). Builds on 59 of its 72 references that are in the map. First posted on arXiv 28 May 2025.
Builds on
59 of 72 references.
References · 59
- 2017Attention Is All You Needcited by 60,361
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
- 2014Microsoft COCO: Common Objects in Contextcited by 17,608
- 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,139
- 2023Segment Anythingcited by 8,234
- 2017Mask R-CNNcited by 7,277
- 2015Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shiftcited by 7,005
- 2016Layer Normalizationcited by 5,669
- 2016SGDR: Stochastic Gradient Descent with Warm Restartscited by 5,045
- 2020Training data-efficient image transformers & distillation through attentioncited by 4,586
38 more
- 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,673
- 2016Gaussian Error Linear Units (GELUs)cited by 3,502
- 2021LAION-400M: Open Dataset of CLIP-Filtered 400 Million Image-Text Pairscited by 1,555
- 2021MLP-Mixer: An all-MLP Architecture for Visioncited by 1,446
- 2019MMDetection: Open MMLab Detection Toolbox and Benchmarkcited by 1,385
- 2018Unified Perceptual Parsing for Scene Understandingcited by 1,271
- 2021Swin Transformer V2: Scaling Up Capacity and Resolutioncited by 1,228
- 2022Reproducible scaling laws for contrastive language-image learningcited by 1,173
- 2018ShuffleNet V2: Practical Guidelines for Efficient CNN Architecture Designcited by 1,136
- 2022Token Merging: Your ViT But Fastercited by 1,021
- 2021DynamicViT: Efficient Vision Transformers with Dynamic Token Sparsificationcited by 864
- 2023Scaling Vision Transformers to 22 Billion Parameterscited by 694
- 2019Large Batch Optimization for Deep Learning: Training BERT in 76 minutescited by 674
- 2021MobileViT: Light-weight, General-purpose, and Mobile-friendly Vision Transformercited by 642
- 2021MetaFormer Is Actually What You Need for Visioncited by 524
- 2021RepVGG: Making VGG-style ConvNets Great Againcited by 522
- 2021LeViT: a Vision Transformer in ConvNet's Clothing for Faster Inferencecited by 475
- 2021Mobile-Former: Bridging MobileNet and Transformercited by 235
- 2022TinyViT: Fast Pretraining Distillation for Small Vision Transformerscited by 234
- 2021AdaViT: Adaptive Vision Transformers for Efficient Image Recognitioncited by 228
- 2019ACNet: Strengthening the Kernel Skeletons for Powerful CNN via Asymmetric Convolution Blockscited by 178
- 2021Evo-ViT: Slow-Fast Token Evolution for Dynamic Vision Transformercited by 177
- 2021SPViT: Enabling Faster Vision Transformers via Soft Token Pruningcited by 167
- 2022Separable Self-attention for Mobile Vision Transformerscited by 163
- 2023FastViT: A Fast Hybrid Vision Transformer using Structural Reparameterizationcited by 162
- 2021All Tokens Matter: Token Labeling for Training Better Vision Transformerscited by 144
- 2021Patch Slimming for Efficient Vision Transformerscited by 133
- 2023Token Fusion: Bridging the Gap between Token Pruning and Token Mergingcited by 125
- 2023RepViT: Revisiting Mobile CNN From ViT Perspectivecited by 123
- 2022EdgeNeXt: Efficiently Amalgamated CNN-Transformer Architecture for Mobile Vision Applicationscited by 121
- 2022MobileOne: An Improved One millisecond Mobile Backbonecited by 109
- 2021Diverse Branch Block: Building a Convolution as an Inception-like Unitcited by 87
- 2022Unified Visual Transformer Compressioncited by 79
- 2023X-Pruner: eXplainable Pruning for Vision Transformerscited by 68
- 2023SwiftFormer: Efficient Additive Attention for Transformer-based Real-time Mobile Vision Applicationscited by 66
- 2021Learning Efficient Vision Transformers via Fine-Grained Manifold Distillationcited by 60
- 2018ExpandNets: Linear Over-parameterization to Train Compact Convolutional Networkscited by 53
- 2022EfficientViT: Multi-Scale Linear Attention for High-Resolution Dense Predictioncited by 42
50 most cited of 59 All 59 (JSON)
Built on by
Citing papers per year: 2025: 2; 2026: 3.
5 papers.
- 2025Stratified Knowledge-Density Super-Network for Scalable Vision Transformerscited by 3
- 2025Rethinking Vision Transformer Depth via Structural Reparameterizationcited by 0
- 2026TRACE: Thermal Recognition Attentive-Framework for CO2 Emissions from Livestockcited by 0
- 2026DeVIT: Low-Power Vision Transformer Acceleration Using Delta Computationcited by 0
- 2026LiAuto-MindViT: A Hybrid Vision Backbone with Adaptive Bidirectional Mambacited by 0
- 2026LiAuto-MindViT: A Hybrid Vision Backbone with Adaptive Bidirectional Mamba21 Sep 2026
- 2026DeVIT: Low-Power Vision Transformer Acceleration Using Delta Computation2 Aug 2026
- 2026TRACE: Thermal Recognition Attentive-Framework for CO2 Emissions from Livestock27 Mar 2026
- 2025Rethinking Vision Transformer Depth via Structural Reparameterization24 Nov 2025
- 2025Stratified Knowledge-Density Super-Network for Scalable Vision Transformers12 Nov 2025