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

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Wu, Zhuguanyu, Wang, Shihe, Zhang, Jiayi, Chen, Jiaxin, Wang, Yunhong
Natura: Preprint
Pubblicazione: 2025
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866916793287704576
author Wu, Zhuguanyu
Wang, Shihe
Zhang, Jiayi
Chen, Jiaxin
Wang, Yunhong
author_facet Wu, Zhuguanyu
Wang, Shihe
Zhang, Jiayi
Chen, Jiaxin
Wang, Yunhong
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2506_11543
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle FIMA-Q: Post-Training Quantization for Vision Transformers by Fisher Information Matrix Approximation
Wu, Zhuguanyu
Wang, Shihe
Zhang, Jiayi
Chen, Jiaxin
Wang, Yunhong
Computer Vision and Pattern Recognition
Artificial Intelligence
Machine Learning
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.
title FIMA-Q: Post-Training Quantization for Vision Transformers by Fisher Information Matrix Approximation
topic Computer Vision and Pattern Recognition
Artificial Intelligence
Machine Learning
url https://arxiv.org/abs/2506.11543