TP-ViT: Truncated Uniform-Log2 Quantizer and Progressive Bit-Decline Reconstruction for Vision Transformer Quantization

View at publisher
Authors: Xichuan Zhou, Sihuan Zhao, Rui Ding, Jiayu Shi, Jing Nie, Libin Chen, Haijun Liu
Cited by: 0
References: 25

Abstract

Vision Transformers (ViTs) have achieved remarkable success across various artificial intelligence-based computer vision applications. However, their demanding computational and memory requirements pose significant challenges for deployment on resource-constrained edge devices. Although post-training quantization (PTQ) provides a promising solution by reducing model precision with minimal calibration data, aggressive low-bit quantization typically leads to substantial performance degradation. To address this challenge, we present the truncated uniform-log2 quantizer and progressive bit-decline reconstruction method for vision Transformer quantization (TP-ViT). It is an innovative PTQ framework specifically designed for ViTs, featuring two key technical contributions: (1) truncated uniform-log2 quantizer, a novel quantization approach which effectively handles outlier values in post-Softmax activations, significantly reducing quantization errors; (2) bit-decline optimization strategy, which employs transition weights to gradually reduce bit precision while maintaining model performance under extreme quantization conditions. Comprehensive experiments on image classification, object detection, and instance segmentation tasks demonstrate TP-ViT's superior performance compared to state-of-the-art PTQ methods, particularly in challenging 3-bit quantization scenarios. Our framework achieves a notable 6.18 percentage points improvement in top-1 accuracy for ViT-small under 3-bit quantization. These results validate TP-ViT's robustness and general applicability, paving the way for more efficient deployment of ViT models in computer vision applications on edge hardware.

Fields of Study & Subjects

Advanced Neural Network Applications Domain Adaptation and Few-Shot Learning Machine Learning and Data Classification

Publication details

Journal / source
ENGINEERING Information Technology & Electronic Engineering
Volume
27
Issue
1
Pages
1–12
Publication date
1 January 2026
Language
EN