paper-with-me

홈 › Papers

APHQ-ViT: Post-Training Quantization with Average Perturbation Hessian Based Reconstruction for Vision Transformers

2025-04-03 · CVPR 2025 1 · Zhuguanyu Wu, Jiayi Zhang, Jiaxin Chen, Jinyang Guo, Di Huang, Yunhong Wang

Vision Transformers (ViTs) have become one of the most commonly used backbones for vision tasks. Despite their remarkable performance, they often suffer significant accuracy drops when quantized for practical deployment, particularly by post-training quantization (PTQ) under ultra-low bits. Recently, reconstruction-based PTQ methods have shown promising performance in quantizing Convolutional Neural Networks (CNNs). However, they fail when applied to ViTs, primarily due to the inaccurate estimation of output importance and the substantial accuracy degradation in quantizing post-GELU activations. To address these issues, we propose \textbf{APHQ-ViT}, a novel PTQ approach based on importance estimation with Average Perturbation Hessian (APH). Specifically, we first thoroughly analyze the current approximation approaches with Hessian loss, and propose an improved average perturbation Hessian loss. To deal with the quantization of the post-GELU activations, we design an MLP Reconstruction (MR) method by replacing the GELU function in MLP with ReLU and reconstructing it by the APH loss on a small unlabeled calibration set. Extensive experiments demonstrate that APHQ-ViT using linear quantizers outperforms existing PTQ methods by substantial margins in 3-bit and 4-bit across different vision tasks. The source code is available at https://github.com/GoatWu/APHQ-ViT.

📄 PDF Abstract BibTeX arXiv:2504.02508

Code (1)

GoatWu/APHQ-ViT 공식 구현 pytorch

Tasks

Quantization

Methods 이 논문이 사용한 방법론

ReLU How Do I Communicate to Expedia? How Do I Communicate to Expedia? – Call ☎️ +1-(888) 829 (0881) or +1-805-330-4056 or +1-805-330-4056 for Live Support & Special Travel…
Refunds@Expedia|||How do I get a full refund from Expedia? “How do I get a full refund from Expedia? How do I get a full refund from Expedia? – Call ☎️ +1-(888) 829 (0881) or +1-805-330-4056 or +1-805-330-4056 for Quick Help &…

Similar Papers 제목 키워드 기반

Quantization Robustness of Monotone Operator Equilibrium Networks

2026-03-11 · James Li, Philip H. W. Leong, Thomas Chaffey arxiv

Monotone operator equilibrium networks are implicit-layer models whose output is the unique equilibrium of a monotone operator, guaranteeing existence, uniqueness, and convergence. When deployed on low-precision hardware…

Improving Post-Training Quantization on Object Detection with Task Loss-Guided Lp Metric

2023-04-19 · Lin Niu, Jiawei Liu, Zhihang Yuan, Dawei Yang 외

Efficient inference for object detection networks is a major challenge on edge devices. Post-Training Quantization (PTQ), which transforms a full-precision model into low bit-width directly, is an effective and convenien…

Objectobject-detectionObject DetectionQuantization

Gradient $\ell_1$ Regularization for Quantization Robustness

2020-02-18 · ICLR 2020 1 · Milad Alizadeh, Arash Behboodi, Mart van Baalen, Christos Louizos 외

We analyze the effect of quantizing weights and activations of neural networks on their loss and derive a simple regularization scheme that improves robustness against post-training quantization. By training quantization…

Quantization

HERO: Hessian-Enhanced Robust Optimization for Unifying and Improving Generalization and Quantization Performance

2021-11-23 · Huanrui Yang, Xiaoxuan Yang, Neil Zhenqiang Gong, Yiran Chen

With the recent demand of deploying neural network models on mobile and edge devices, it is desired to improve the model's generalizability on unseen testing data, as well as enhance the model's robustness under fixed-po…

Quantization

When Flat Minima Fail: Characterizing INT4 Quantization Collapse After FP32 Convergence

2026-04-16 · Marcus Armstrong arxiv

Post-training quantization (PTQ) assumes that a well-converged model is a quantization-ready model. We show this assumption fails in a structured, measurable, and previously uncharacterized way. Using a calibration-free …