paper-with-me

Papers

GSB: Group Superposition Binarization for Vision Transformer with Limited Training Samples

2023-05-13 · Tian Gao, Cheng-Zhong Xu, Le Zhang, Hui Kong

Vision Transformer (ViT) has performed remarkably in various computer vision tasks. Nonetheless, affected by the massive amount of parameters, ViT usually suffers from serious overfitting problems with a relatively limited number of training samples. In addition, ViT generally demands heavy computing resources, which limit its deployment on resource-constrained devices. As a type of model-compression method, model binarization is potentially a good choice to solve the above problems. Compared with the full-precision one, the model with the binarization method replaces complex tensor multiplication with simple bit-wise binary operations and represents full-precision model parameters and activations with only 1-bit ones, which potentially solves the problem of model size and computational complexity, respectively. In this paper, we investigate a binarized ViT model. Empirically, we observe that the existing binarization technology designed for Convolutional Neural Networks (CNN) cannot migrate well to a ViT's binarization task. We also find that the decline of the accuracy of the binary ViT model is mainly due to the information loss of the Attention module and the Value vector. Therefore, we propose a novel model binarization technique, called Group Superposition Binarization (GSB), to deal with these issues. Furthermore, in order to further improve the performance of the binarization model, we have investigated the gradient calculation procedure in the binarization process and derived more proper gradient calculation equations for GSB to reduce the influence of gradient mismatch. Then, the knowledge distillation technique is introduced to alleviate the performance degradation caused by model binarization. Analytically, model binarization can limit the parameters search space during parameter updates while training a model....

📄 PDF Abstract BibTeX arXiv:2305.07931

Code (1)

imrl/gsb-vision-transformer 공식 구현 pytorch

Tasks

BinarizationKnowledge DistillationModel CompressionQuantization

Methods 이 논문이 사용한 방법론

Multi-Head Attention 설명 없음
Attention 설명 없음
Label Smoothing Label Smoothing is a regularization technique that introduces noise for the labels. This accounts for the fact that datasets may have mistakes in them, so maximizing the…
Absolute Position Encodings Absolute Position Encodings are a type of position embeddings for [Transformer-based models] where positional encodings are…
Layer Normalization Unlike batch normalization, Layer Normalization directly estimates the normalization statistics from the summed inputs…
Dropout Dropout is a regularization technique for neural networks that drops a unit (along with connections) at training time with a specified probability $p$ (a common value is…
Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
BPE Byte Pair Encoding, or BPE, is a subword segmentation algorithm that encodes rare and unknown words as sequences of subword units. The intuition is that various word…

Similar Papers 제목 키워드 기반

BinaryViT: Towards Efficient and Accurate Binary Vision Transformers

2023-05-24 · Junrui Xiao, Zhikai Li, Lianwei Yang, Qingyi Gu

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 …

BinarizationQuantization

BiViT: Extremely Compressed Binary Vision Transformer

2022-11-14 · Yefei He, Zhenyu Lou, Luoming Zhang, Jing Liu 외

Model binarization can significantly compress model size, reduce energy consumption, and accelerate inference through efficient bit-wise operations. Although binarizing convolutional neural networks have been extensively…

Binarizationobject-detectionObject Detection

BiViT: Extremely Compressed Binary Vision Transformers

2023-01-01 · ICCV 2023 1 · Yefei He, Zhenyu Lou, Luoming Zhang, Jing Liu 외

Model binarization can significantly compress model size, reduce energy consumption, and accelerate inference through efficient bit-wise operations. Although binarizing convolutional neural networks have been extensi…

Binarizationobject-detectionObject Detection

DocBinFormer: A Two-Level Transformer Network for Effective Document Image Binarization

2023-12-06 · Risab Biswas, Swalpa Kumar Roy, Ning Wang, Umapada Pal 외

In real life, various degradation scenarios exist that might damage document images, making it harder to recognize and analyze them, thus binarization is a fundamental and crucial step for achieving the most optimal perf…

BinarizationDecoder

BiPFT: Binary Pre-trained Foundation Transformer with Low-rank Estimation of Binarization Residual Polynomials

2023-12-14 · Xingrun Xing, Li Du, Xinyuan Wang, Xianlin Zeng 외

Pretrained foundation models offer substantial benefits for a wide range of downstream tasks, which can be one of the most potential techniques to access artificial general intelligence. However, scaling up foundation tr…

BinarizationNatural Language Understanding