mlsanityData to 7 Oct 2026

BinaryViT: Towards Efficient and Accurate Binary Vision Transformers

arXiv 2305.14730 ↗First posted 24 May 2023cs.CVcited by 7

Not on the map. Why?

Abstract (arXiv)

Vision Transformers (ViTs) have emerged as the fundamental architecture for most computer vision fields, but the considerable memory and computation costs hinders their application on resource-limited devices. As one of the most powerful compression methods, binarization reduces the computation of the neural network by quantizing the weights and activation values as ±1. Although existing binarization methods have demonstrated excellent performance on Convolutional Neural Networks (CNNs), the full binarization of ViTs is still under-studied and suffering a significant performance drop. In this paper, we first argue empirically that the severe performance degradation is mainly caused by the weight oscillation in the binarization training and the information distortion in the activation of ViTs. Based on these analyses, we propose BinaryViT, an accurate full binarization scheme for ViTs, which pushes the quantization of ViTs to the limit. Specifically, we propose a novel gradient regularization scheme (GRS) for driving a bimodal distribution of the weights to reduce oscillation in binarization training. Moreover, we design an activation shift module (ASM) to adaptively tune the activation distribution to reduce the information distortion caused by binarization. Extensive experiments on ImageNet dataset show that our BinaryViT consistently surpasses the strong baseline by 2.05% and improve the accuracy of fully binarized ViTs to a usable level. Furthermore, our method achieves impressive savings of 16.2× and 17.7× in model size and OPs compared to the full-precision DeiT-S.

Key facts. Cited by 7 papers in the map (data through 7 Oct 2026). Builds on 44 of its 50 references that are in the map. First posted on arXiv 24 May 2023.

Builds on

44 of 50 references.

References · 44

  1. 2015Deep Residual Learning for Image Recognitioncited by 51,809
  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. 2014ImageNet Large Scale Visual Recognition Challengecited by 8,441
  6. 2020End-to-End Object Detection with Transformerscited by 7,384
  7. 2015Rethinking the Inception Architecture for Computer Visioncited by 5,451
  8. 2018MobileNetV2: Inverted Residuals and Linear Bottleneckscited by 4,773
  9. 2020Training data-efficient image transformers & distillation through attentioncited by 4,560
  10. 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,611
  11. 2013Estimating or Propagating Gradients Through Stochastic Neurons for Conditional Computationcited by 2,031
  12. 2021Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without Convolutionscited by 1,960
32 more
  1. 2014FitNets: Hints for Thin Deep Netscited by 1,619
  2. 2020Rethinking Semantic Segmentation from a Sequence-to-Sequence Perspective with Transformerscited by 1,368
  3. 2022Token Merging: Your ViT But Fastercited by 995
  4. 2021Segmenter: Transformer for Semantic Segmentationcited by 855
  5. 2021DynamicViT: Efficient Vision Transformers with Dynamic Token Sparsificationcited by 849
  6. 2016XNOR-Net: ImageNet Classification Using Binary Convolutional Neural Networkscited by 829
  7. 2021CrossViT: Cross-Attention Multi-Scale Vision Transformer for Image Classificationcited by 806
  8. 2019Large Batch Optimization for Deep Learning: Training BERT in 76 minutescited by 671
  9. 2021MobileViT: Light-weight, General-purpose, and Mobile-friendly Vision Transformercited by 636
  10. 2019Learned Step Size Quantizationcited by 604
  11. 2015BinaryConnect: Training Deep Neural Networks with binary weights during propagationscited by 571
  12. 2018Soft Filter Pruning for Accelerating Deep Convolutional Neural Networkscited by 313
  13. 2021Post-Training Quantization for Vision Transformercited by 274
  14. 2021AdaViT: Adaptive Vision Transformers for Efficient Image Recognitioncited by 228
  15. 2020ReActNet: Towards Precise Binary Neural Network with Generalized Activation Functionscited by 183
  16. 2020BinaryBERT: Pushing the Limit of BERT Quantizationcited by 175
  17. 2021Evo-ViT: Slow-Fast Token Evolution for Dynamic Vision Transformercited by 175
  18. 2021PTQ4ViT: Post-training quantization for vision transformers with twin uniform quantizationcited by 173
  19. 2019Forward and Backward Information Retention for Accurate Binary Neural Networkscited by 169
  20. 2022RepQ-ViT: Scale Reparameterization for Post-Training Quantization of Vision Transformerscited by 134
  21. 2020General Multi-label Image Classification with Transformerscited by 126
  22. 2020Training Binary Neural Networks with Real-to-Binary Convolutionscited by 111
  23. 2022Q-ViT: Accurate and Fully Quantized Low-bit Vision Transformercited by 106
  24. 2019XNOR-Net++: Improved Binary Neural Networkscited by 94
  25. 2022BiBERT: Accurate Fully Binarized BERTcited by 70
  26. 2022Knowledge Distillation via the Target-aware Transformercited by 70
  27. 2022Patch Similarity Aware Data-Free Quantization for Vision Transformerscited by 55
  28. 2022Hydra Attention: Efficient Attention with Many Headscited by 55
  29. 2022BiT: Robustly Binarized Multi-distilled Transformercited by 51
  30. 2023Patch-wise Mixed-Precision Quantization of Vision Transformercited by 15
  31. 2023Resilient Binary Neural Networkcited by 13
  32. 2022IDa-Det: An Information Discrepancy-aware Distillation for 1-bit Detectorscited by 12

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 2; 2025: 3; 2026: 2.

7 papers.