BinaryViT: Towards Efficient and Accurate Binary Vision Transformers
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
- 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
- 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,082
- 2014ImageNet Large Scale Visual Recognition Challengecited by 8,441
- 2020End-to-End Object Detection with Transformerscited by 7,384
- 2015Rethinking the Inception Architecture for Computer Visioncited by 5,451
- 2018MobileNetV2: Inverted Residuals and Linear Bottleneckscited by 4,773
- 2020Training data-efficient image transformers & distillation through attentioncited by 4,560
- 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,611
- 2013Estimating or Propagating Gradients Through Stochastic Neurons for Conditional Computationcited by 2,031
- 2021Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without Convolutionscited by 1,960
32 more
- 2014FitNets: Hints for Thin Deep Netscited by 1,619
- 2020Rethinking Semantic Segmentation from a Sequence-to-Sequence Perspective with Transformerscited by 1,368
- 2022Token Merging: Your ViT But Fastercited by 995
- 2021Segmenter: Transformer for Semantic Segmentationcited by 855
- 2021DynamicViT: Efficient Vision Transformers with Dynamic Token Sparsificationcited by 849
- 2016XNOR-Net: ImageNet Classification Using Binary Convolutional Neural Networkscited by 829
- 2021CrossViT: Cross-Attention Multi-Scale Vision Transformer for Image Classificationcited by 806
- 2019Large Batch Optimization for Deep Learning: Training BERT in 76 minutescited by 671
- 2021MobileViT: Light-weight, General-purpose, and Mobile-friendly Vision Transformercited by 636
- 2019Learned Step Size Quantizationcited by 604
- 2015BinaryConnect: Training Deep Neural Networks with binary weights during propagationscited by 571
- 2018Soft Filter Pruning for Accelerating Deep Convolutional Neural Networkscited by 313
- 2021Post-Training Quantization for Vision Transformercited by 274
- 2021AdaViT: Adaptive Vision Transformers for Efficient Image Recognitioncited by 228
- 2020ReActNet: Towards Precise Binary Neural Network with Generalized Activation Functionscited by 183
- 2020BinaryBERT: Pushing the Limit of BERT Quantizationcited by 175
- 2021Evo-ViT: Slow-Fast Token Evolution for Dynamic Vision Transformercited by 175
- 2021PTQ4ViT: Post-training quantization for vision transformers with twin uniform quantizationcited by 173
- 2019Forward and Backward Information Retention for Accurate Binary Neural Networkscited by 169
- 2022RepQ-ViT: Scale Reparameterization for Post-Training Quantization of Vision Transformerscited by 134
- 2020General Multi-label Image Classification with Transformerscited by 126
- 2020Training Binary Neural Networks with Real-to-Binary Convolutionscited by 111
- 2022Q-ViT: Accurate and Fully Quantized Low-bit Vision Transformercited by 106
- 2019XNOR-Net++: Improved Binary Neural Networkscited by 94
- 2022BiBERT: Accurate Fully Binarized BERTcited by 70
- 2022Knowledge Distillation via the Target-aware Transformercited by 70
- 2022Patch Similarity Aware Data-Free Quantization for Vision Transformerscited by 55
- 2022Hydra Attention: Efficient Attention with Many Headscited by 55
- 2022BiT: Robustly Binarized Multi-distilled Transformercited by 51
- 2023Patch-wise Mixed-Precision Quantization of Vision Transformercited by 15
- 2023Resilient Binary Neural Networkcited by 13
- 2022IDa-Det: An Information Discrepancy-aware Distillation for 1-bit Detectorscited by 12
Built on by
Citing papers per year: 2024: 2; 2025: 3; 2026: 2.
7 papers.
- 2024Efficient Multimodal Large Language Models: A Surveycited by 95
- 2024Model Quantization and Hardware Acceleration for Vision Transformers: A Comprehensive Surveycited by 13
- 2025LRQ-DiT: Log-Rotation Post-Training Quantization of Diffusion Transformers for Image and Video Generationcited by 10
- 2025SAQ-SAM: Semantically-Aligned Quantization for Segment Anything Modelcited by 3
- 2025Pyramid Token Pruning for High-Resolution Large Vision-Language Models via Region, Token, and Instruction-Guided Importancecited by 1
- 2026BinaryAttention: One-Bit QK-Attention for Vision and Diffusion Transformerscited by 0
- 2026FTerViT: Fully Ternary Vision Transformercited by 0
- 2026FTerViT: Fully Ternary Vision Transformer20 May 2026
- 2026BinaryAttention: One-Bit QK-Attention for Vision and Diffusion Transformers10 Mar 2026
- 2025Pyramid Token Pruning for High-Resolution Large Vision-Language Models via Region, Token, and Instruction-Guided Importance19 Sep 2025
- 2025LRQ-DiT: Log-Rotation Post-Training Quantization of Diffusion Transformers for Image and Video Generation5 Aug 2025
- 2025SAQ-SAM: Semantically-Aligned Quantization for Segment Anything Model9 Mar 2025
- 2024Efficient Multimodal Large Language Models: A Survey17 May 2024
- 2024Model Quantization and Hardware Acceleration for Vision Transformers: A Comprehensive Survey1 May 2024