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

FIMA-Q: Post-Training Quantization for Vision Transformers by Fisher Information Matrix Approximation

About

Post-training quantization (PTQ) has stood out as a cost-effective and promising model compression paradigm in recent years, as it avoids computationally intensive model retraining. Nevertheless, current PTQ methods for Vision Transformers (ViTs) still suffer from significant accuracy degradation, especially under low-bit quantization. To address these shortcomings, we analyze the prevailing Hessian-guided quantization loss, and uncover certain limitations of conventional Hessian approximations. By following the block-wise reconstruction framework, we propose a novel PTQ method for ViTs, dubbed FIMA-Q. Specifically, we firstly establish the connection between KL divergence and FIM, which enables fast computation of the quantization loss during reconstruction. We further propose an efficient FIM approximation method, namely DPLR-FIM, by employing the diagonal plus low-rank principle, and formulate the ultimate quantization loss. Our extensive experiments, conducted across various vision tasks with representative ViT-based architectures on public datasets, demonstrate that our method substantially promotes the accuracy compared to the state-of-the-art approaches, especially in the case of low-bit quantization. The source code is available at https://github.com/ShiheWang/FIMA-Q.

Zhuguanyu Wu, Shihe Wang, Jiayi Zhang, Jiaxin Chen, Yunhong Wang• 2025

Related benchmarks

TaskDatasetResultRank
Image ClassificationImageNet-1K 1.0 (val)
Top-1 Accuracy85.01
1952
ClassificationImageNet1K
Accuracy78.48
202
Text-to-Image RetrievalMS-COCO
R@147.22
151
Deepfake DetectionDFDC--
150
Image-to-Text RetrievalMS-COCO
R@167.7
132
Image-to-Text RetrievalMS-COCO (test)
R@140.92
117
Deepfake DetectionDFD (test)
Accuracy63.4
81
Deepfake DetectionDFDCP (test)
Accuracy61.5
55
Deepfake DetectionCDF v1
Accuracy64.9
55
Deepfake DetectionCDF v2
Accuracy (%)56.3
55
Showing 10 of 10 rows

Other info

Follow for update