ShiftAddViT: Mixture of Multiplication Primitives Towards Efficient Vision Transformer
On the map: Mixture-of-experts → Vision mixture-of-experts
Abstract (arXiv)
Vision Transformers (ViTs) have shown impressive performance and have become a unified backbone for multiple vision tasks. However, both the attention mechanism and multi-layer perceptrons (MLPs) in ViTs are not sufficiently efficient due to dense multiplications, leading to costly training and inference. To this end, we propose to reparameterize pre-trained ViTs with a mixture of multiplication primitives, e.g., bitwise shifts and additions, towards a new type of multiplication-reduced model, dubbed ShiftAddViT, which aims to achieve end-to-end inference speedups on GPUs without requiring training from scratch. Specifically, all textttMatMuls among queries, keys, and values are reparameterized using additive kernels, after mapping queries and keys to binary codes in Hamming space. The remaining MLPs or linear layers are then reparameterized with shift kernels. We utilize TVM to implement and optimize those customized kernels for practical hardware deployment on GPUs. We find that such a reparameterization on attention maintains model accuracy, while inevitably leading to accuracy drops when being applied to MLPs. To marry the best of both worlds, we further propose a new mixture of experts (MoE) framework to reparameterize MLPs by taking multiplication or its primitives as experts, e.g., multiplication and shift, and designing a new latency-aware load-balancing loss. Such a loss helps to train a generic router for assigning a dynamic amount of input tokens to different experts according to their latency. Extensive experiments on various 2D/3D Transformer-based vision tasks consistently validate the effectiveness of our proposed ShiftAddViT, achieving up to 5.18× latency reductions on GPUs and 42.9% energy savings, while maintaining a comparable accuracy as original or efficient ViTs.
Key facts. Cited by 15 papers in the map (data through 7 Oct 2026). Placed in Vision mixture-of-experts, one of 12 directions in Mixture-of-experts. Builds on 63 of its 77 references that are in the map. First posted on arXiv 10 Jun 2023.
Builds on
63 of 77 references.
Closest ancestors · 1
Same direction, newest first
Other references · 62
- 2017Attention Is All You Needcited by 59,932
- 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
- 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,082
- 2018The Unreasonable Effectiveness of Deep Features as a Perceptual Metriccited by 11,029
- 2018MobileNetV2: Inverted Residuals and Linear Bottleneckscited by 4,773
- 2020Training data-efficient image transformers & distillation through attentioncited by 4,560
- 2017Outrageously Large Neural Networks: The Sparsely-Gated Mixture-of-Experts Layercited by 3,413
- 2021Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficient Sparsitycited by 3,014
- 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 1,979
- 2021Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without Convolutionscited by 1,960
- 2020Rethinking Attention with Performerscited by 1,584
38 more
- 2017Quantization and Training of Neural Networks for Efficient Integer-Arithmetic-Only Inferencecited by 1,548
- 2020Linformer: Self-Attention with Linear Complexitycited by 1,462
- 2021Tokens-to-Token ViT: Training Vision Transformers from Scratch on ImageNetcited by 1,096
- 2022Token Merging: Your ViT But Fastercited by 995
- 2017Revisiting Unreasonable Effectiveness of Data in Deep Learning Eracited by 916
- 2021Multiscale Vision Transformerscited by 896
- 2021DynamicViT: Efficient Vision Transformers with Dynamic Token Sparsificationcited by 849
- 2021CrossViT: Cross-Attention Multi-Scale Vision Transformer for Image Classificationcited by 806
- 2021PVT v2: Improved Baselines with Pyramid Vision Transformercited by 749
- 2020Long Range Arena: A Benchmark for Efficient Transformerscited by 696
- 2019Local Light Field Fusion: Practical View Synthesis with Prescriptive Sampling Guidelinescited by 672
- 2021MobileViT: Light-weight, General-purpose, and Mobile-friendly Vision Transformercited by 636
- 2021MViTv2: Improved Multiscale Vision Transformers for Classification and Detectioncited by 516
- 2022MaxViT: Multi-Axis Vision Transformercited by 476
- 2021LeViT: a Vision Transformer in ConvNet's Clothing for Faster Inferencecited by 475
- 2021Nystr"omformer: A Nystr"om-Based Algorithm for Approximating Self-Attentioncited by 468
- 2016Quantized Neural Networks: Training Neural Networks with Low Precision Weights and Activationscited by 413
- 2022DeepSpeed-MoE: Advancing Mixture-of-Experts Inference and Training to Power Next-Generation AI Scalecited by 400
- 2018Efficient Attention: Attention with Linear Complexitiescited by 366
- 2021Rethinking Spatial Dimensions of Vision Transformerscited by 361
- 2021AdaViT: Adaptive Tokens for Efficient Vision Transformercited by 360
- 2021XCiT: Cross-Covariance Image Transformerscited by 335
- 2019Understanding Straight-Through Estimator in Training Activation Quantized Neural Netscited by 225
- 2021AutoFormer: Searching Transformers for Visual Recognitioncited by 186
- 2021SOFT: Softmax-free Transformer with Linear Complexitycited by 128
- 2021Scatterbrain: Unifying Sparse and Low-rank Attention Approximationcited by 128
- 2022Is Attention All That NeRF Needs?cited by 113
- 2021FastMoE: A Fast Mixture-of-Expert Training Systemcited by 110
- 2017Shift: A Zero FLOP, Zero Parameter Alternative to Spatial Convolutionscited by 93
- 2019AdderNet: Do We Really Need Multiplications in Deep Learning?cited by 82
- 2022Hydra Attention: Efficient Attention with Many Headscited by 55
- 2019DeepShift: Towards Multiplication-Less Neural Networkscited by 52
- 2020ShiftAddNet: A Hardware-Inspired Deep Networkcited by 52
- 2022BiT: Robustly Binarized Multi-distilled Transformercited by 51
- 2022ViTCoD: Vision Transformer Acceleration via Dedicated Algorithm and Accelerator Co-Designcited by 41
- 2016Local Binary Convolutional Neural Networkscited by 38
- 2022When Shift Operation Meets Vision Transformer: An Extremely Simple Alternative to Attention Mechanismcited by 30
- 2022Adaptable Butterfly Accelerator for Attention-based NNs via Hardware and Algorithm Co-designcited by 29
50 most cited of 62 All 62 (JSON)
Built on by
Citing papers per year: 2023: 2; 2024: 7; 2025: 4; 2026: 2.
15 papers.
Sort:
By area:
- 2024ShiftAddLLM: Accelerating Pretrained LLMs via Post-Training Multiplication-Less Reparameterizationcited by 27
- 2025HAMoBE: Hierarchical and Adaptive Mixture of Biometric Experts for Video-based Person ReIDcited by 10
- 2024When Linear Attention Meets Autoregressive Decoding: Towards More Effective and Efficient Linearized Large Language Modelscited by 9
- 2025Not Every Patch is Needed: Towards a More Efficient and Effective Backbone for Video-based Person Re-identificationcited by 7
- 2024BETA: Binarized Energy-Efficient Transformer Accelerator at the Edgecited by 6
- 2024PADRe: A Unifying Polynomial Attention Drop-in Replacement for Efficient Vision Transformercited by 5
- 2024PikeLPN: Mitigating Overlooked Inefficiencies of Low-Precision Neural Networkscited by 3
- 2023Mixture-of-Experts for Open Set Domain Adaptation: A Dual-Space Detection Approachcited by 2
- 2023EViT: An Eagle Vision Transformer with Bi-Fovea Self-Attentioncited by 1
- 2024ShiftAddAug: Augment Multiplication-Free Tiny Neural Network with Hybrid Computationcited by 1
- 2024NASH: Neural Architecture and Accelerator Search for Multiplication-Reduced Hybrid Modelscited by 1
- 2025Compound and Parallel Modes of Tropical Convolutional Neural Networkscited by 0
- 2026QTEA: Ternary LLMs with Sparse Residual Salient Weight and By-Column Optimization31 Aug 2026
- 2026DeVIT: Low-Power Vision Transformer Acceleration Using Delta Computation2 Aug 2026
- 2025HAMoBE: Hierarchical and Adaptive Mixture of Biometric Experts for Video-based Person ReID7 Aug 2025
- 2025Focus Your Attention: Towards Data-Intuitive Lightweight Vision Transformers23 Jun 2025
- 2025Compound and Parallel Modes of Tropical Convolutional Neural Networks9 Apr 2025
- 2025Not Every Patch is Needed: Towards a More Efficient and Effective Backbone for Video-based Person Re-identification28 Jan 2025
- 2024NASH: Neural Architecture and Accelerator Search for Multiplication-Reduced Hybrid Models7 Sep 2024
- 2024PADRe: A Unifying Polynomial Attention Drop-in Replacement for Efficient Vision Transformer16 Jul 2024
- 2024ShiftAddAug: Augment Multiplication-Free Tiny Neural Network with Hybrid Computation3 Jul 2024
- 2024When Linear Attention Meets Autoregressive Decoding: Towards More Effective and Efficient Linearized Large Language Models11 Jun 2024
- 2024ShiftAddLLM: Accelerating Pretrained LLMs via Post-Training Multiplication-Less Reparameterization10 Jun 2024
- 2024PikeLPN: Mitigating Overlooked Inefficiencies of Low-Precision Neural Networks29 Mar 2024
- 2024ShiftAddLLM: Accelerating Pretrained LLMs via Post-Training Multiplication-Less Reparameterizationcited by 27
- 2025HAMoBE: Hierarchical and Adaptive Mixture of Biometric Experts for Video-based Person ReIDcited by 10
- 2025Not Every Patch is Needed: Towards a More Efficient and Effective Backbone for Video-based Person Re-identificationcited by 7
- 2024BETA: Binarized Energy-Efficient Transformer Accelerator at the Edgecited by 6
- 2024PADRe: A Unifying Polynomial Attention Drop-in Replacement for Efficient Vision Transformercited by 5
- 2024PikeLPN: Mitigating Overlooked Inefficiencies of Low-Precision Neural Networkscited by 3
- 2023EViT: An Eagle Vision Transformer with Bi-Fovea Self-Attentioncited by 1
- 2024ShiftAddAug: Augment Multiplication-Free Tiny Neural Network with Hybrid Computationcited by 1
- 2024NASH: Neural Architecture and Accelerator Search for Multiplication-Reduced Hybrid Modelscited by 1
- 2025Compound and Parallel Modes of Tropical Convolutional Neural Networkscited by 0
- 2025Focus Your Attention: Towards Data-Intuitive Lightweight Vision Transformerscited by 0
- 2026DeVIT: Low-Power Vision Transformer Acceleration Using Delta Computationcited by 0
12 most cited of 13 All 13 (JSON)
- 2026QTEA: Ternary LLMs with Sparse Residual Salient Weight and By-Column Optimization31 Aug 2026
- 2026DeVIT: Low-Power Vision Transformer Acceleration Using Delta Computation2 Aug 2026
- 2025HAMoBE: Hierarchical and Adaptive Mixture of Biometric Experts for Video-based Person ReID7 Aug 2025
- 2025Focus Your Attention: Towards Data-Intuitive Lightweight Vision Transformers23 Jun 2025
- 2025Compound and Parallel Modes of Tropical Convolutional Neural Networks9 Apr 2025
- 2025Not Every Patch is Needed: Towards a More Efficient and Effective Backbone for Video-based Person Re-identification28 Jan 2025
- 2024NASH: Neural Architecture and Accelerator Search for Multiplication-Reduced Hybrid Models7 Sep 2024
- 2024PADRe: A Unifying Polynomial Attention Drop-in Replacement for Efficient Vision Transformer16 Jul 2024
- 2024ShiftAddAug: Augment Multiplication-Free Tiny Neural Network with Hybrid Computation3 Jul 2024
- 2024ShiftAddLLM: Accelerating Pretrained LLMs via Post-Training Multiplication-Less Reparameterization10 Jun 2024
- 2024PikeLPN: Mitigating Overlooked Inefficiencies of Low-Precision Neural Networks29 Mar 2024
- 2024BETA: Binarized Energy-Efficient Transformer Accelerator at the Edge22 Jan 2024
12 newest of 13 All 13 (JSON)
Similar, not cited
Close in wording, no citation either way
- 2026MergeOver: Post-Training Token Merging for Recursive Vision Transformers
- 2023Training-Free Acceleration of ViTs with Delayed Spatial Merging
- 2022I-ViT: Integer-only Quantization for Efficient Vision Transformer Inference
- 2026Later Is Better: Token Reduction for ViTs Under Distribution Shift
- 2025Rethinking Vision Transformer Depth via Structural Reparameterization
- 2023PPT: Token Pruning and Pooling for Efficient Vision Transformers
- 2025EdgeFlex-Transformer: Transformer Inference for Edge Devices
- 2025ViT-Linearizer: Distilling Quadratic Knowledge into Linear-Time Vision Models