mlsanityData to 7 Oct 2026

ShiftAddViT: Mixture of Multiplication Primitives Towards Efficient Vision Transformer

arXiv 2306.06446 ↗First posted 10 Jun 2023cs.LG cs.AIcited by 15

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

  1. 2021Scaling Vision with Sparse Mixture of Experts10 Jun

Other references · 62

  1. 2017Attention Is All You Needcited by 59,932
  2. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  3. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
  4. 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,082
  5. 2018The Unreasonable Effectiveness of Deep Features as a Perceptual Metriccited by 11,029
  6. 2018MobileNetV2: Inverted Residuals and Linear Bottleneckscited by 4,773
  7. 2020Training data-efficient image transformers & distillation through attentioncited by 4,560
  8. 2017Outrageously Large Neural Networks: The Sparsely-Gated Mixture-of-Experts Layercited by 3,413
  9. 2021Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficient Sparsitycited by 3,014
  10. 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 1,979
  11. 2021Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without Convolutionscited by 1,960
  12. 2020Rethinking Attention with Performerscited by 1,584
38 more
  1. 2017Quantization and Training of Neural Networks for Efficient Integer-Arithmetic-Only Inferencecited by 1,548
  2. 2020Linformer: Self-Attention with Linear Complexitycited by 1,462
  3. 2021Tokens-to-Token ViT: Training Vision Transformers from Scratch on ImageNetcited by 1,096
  4. 2022Token Merging: Your ViT But Fastercited by 995
  5. 2017Revisiting Unreasonable Effectiveness of Data in Deep Learning Eracited by 916
  6. 2021Multiscale Vision Transformerscited by 896
  7. 2021DynamicViT: Efficient Vision Transformers with Dynamic Token Sparsificationcited by 849
  8. 2021CrossViT: Cross-Attention Multi-Scale Vision Transformer for Image Classificationcited by 806
  9. 2021PVT v2: Improved Baselines with Pyramid Vision Transformercited by 749
  10. 2020Long Range Arena: A Benchmark for Efficient Transformerscited by 696
  11. 2019Local Light Field Fusion: Practical View Synthesis with Prescriptive Sampling Guidelinescited by 672
  12. 2021MobileViT: Light-weight, General-purpose, and Mobile-friendly Vision Transformercited by 636
  13. 2021MViTv2: Improved Multiscale Vision Transformers for Classification and Detectioncited by 516
  14. 2022MaxViT: Multi-Axis Vision Transformercited by 476
  15. 2021LeViT: a Vision Transformer in ConvNet's Clothing for Faster Inferencecited by 475
  16. 2021Nystr"omformer: A Nystr"om-Based Algorithm for Approximating Self-Attentioncited by 468
  17. 2016Quantized Neural Networks: Training Neural Networks with Low Precision Weights and Activationscited by 413
  18. 2022DeepSpeed-MoE: Advancing Mixture-of-Experts Inference and Training to Power Next-Generation AI Scalecited by 400
  19. 2018Efficient Attention: Attention with Linear Complexitiescited by 366
  20. 2021Rethinking Spatial Dimensions of Vision Transformerscited by 361
  21. 2021AdaViT: Adaptive Tokens for Efficient Vision Transformercited by 360
  22. 2021XCiT: Cross-Covariance Image Transformerscited by 335
  23. 2019Understanding Straight-Through Estimator in Training Activation Quantized Neural Netscited by 225
  24. 2021AutoFormer: Searching Transformers for Visual Recognitioncited by 186
  25. 2021SOFT: Softmax-free Transformer with Linear Complexitycited by 128
  26. 2021Scatterbrain: Unifying Sparse and Low-rank Attention Approximationcited by 128
  27. 2022Is Attention All That NeRF Needs?cited by 113
  28. 2021FastMoE: A Fast Mixture-of-Expert Training Systemcited by 110
  29. 2017Shift: A Zero FLOP, Zero Parameter Alternative to Spatial Convolutionscited by 93
  30. 2019AdderNet: Do We Really Need Multiplications in Deep Learning?cited by 82
  31. 2022Hydra Attention: Efficient Attention with Many Headscited by 55
  32. 2019DeepShift: Towards Multiplication-Less Neural Networkscited by 52
  33. 2020ShiftAddNet: A Hardware-Inspired Deep Networkcited by 52
  34. 2022BiT: Robustly Binarized Multi-distilled Transformercited by 51
  35. 2022ViTCoD: Vision Transformer Acceleration via Dedicated Algorithm and Accelerator Co-Designcited by 41
  36. 2016Local Binary Convolutional Neural Networkscited by 38
  37. 2022When Shift Operation Meets Vision Transformer: An Extremely Simple Alternative to Attention Mechanismcited by 30
  38. 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

Cited by year (2026 to 7 Oct)

Citing papers per year: 2023: 2; 2024: 7; 2025: 4; 2026: 2.

15 papers.

Sort:

By area:

Similar, not cited

Close in wording, no citation either way

  1. 2026MergeOver: Post-Training Token Merging for Recursive Vision Transformers
  2. 2023Training-Free Acceleration of ViTs with Delayed Spatial Merging
  3. 2022I-ViT: Integer-only Quantization for Efficient Vision Transformer Inference
  4. 2026Later Is Better: Token Reduction for ViTs Under Distribution Shift
  5. 2025Rethinking Vision Transformer Depth via Structural Reparameterization
  6. 2023PPT: Token Pruning and Pooling for Efficient Vision Transformers
  7. 2025EdgeFlex-Transformer: Transformer Inference for Edge Devices
  8. 2025ViT-Linearizer: Distilling Quadratic Knowledge into Linear-Time Vision Models