Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

BHViT: Binarized Hybrid Vision Transformer

About

Model binarization has made significant progress in enabling real-time and energy-efficient computation for convolutional neural networks (CNN), offering a potential solution to the deployment challenges faced by Vision Transformers (ViTs) on edge devices. However, due to the structural differences between CNN and Transformer architectures, simply applying binary CNN strategies to the ViT models will lead to a significant performance drop. To tackle this challenge, we propose BHViT, a binarization-friendly hybrid ViT architecture and its full binarization model with the guidance of three important observations. Initially, BHViT utilizes the local information interaction and hierarchical feature aggregation technique from coarse to fine levels to address redundant computations stemming from excessive tokens. Then, a novel module based on shift operations is proposed to enhance the performance of the binary Multilayer Perceptron (MLP) module without significantly increasing computational overhead. In addition, an innovative attention matrix binarization method based on quantization decomposition is proposed to evaluate the token's importance in the binarized attention matrix. Finally, we propose a regularization loss to address the inadequate optimization caused by the incompatibility between the weight oscillation in the binary layers and the Adam Optimizer. Extensive experimental results demonstrate that our proposed algorithm achieves SOTA performance among binary ViT methods.

Tian Gao, Zhiyuan Zhang, Yu Zhang, Huajun Liu, Kaijie Yin, Chengzhong Xu, Hui Kong• 2025

Related benchmarks

TaskDatasetResultRank
LiDAR LocalizationNCLT Average
Mean Position Error (m)3.56
48
LiDAR LocalizationOxford (15-13-06-37)
Mean Position Error (m)7.35
35
LiDAR LocalizationOxford (17-13-26-39)
Mean Position Error (m)11.44
35
LiDAR LocalizationOxford (17-14-03-00)
Mean Position Error (m)8.97
34
LiDAR LocalizationNCLT 2012-02-12
Position Error (m)2.69
33
LiDAR LocalizationNCLT 2012-02-19
Position Error (m)2.28
33
LiDAR LocalizationNCLT 2012-03-31
Position Error (m)2.39
33
LiDAR LocalizationNCLT 2012-05-26
Mean Position Error (m)6.86
33
LiDAR LocalizationOxford (18-14-14-42)
Mean Position Error (m)5.86
24
LiDAR LocalizationOxford (Average)
Mean Position Error (m)8.41
24
Showing 10 of 11 rows

Other info

Code

Follow for update