NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

AIQViT: Architecture-Informed Post-Training Quantization for Vision Transformers

Runqing Jiang, Ye Zhang, Longguang Wang, Pengpeng Yu, Yulan Guo

Abstract

Vision Transformers (ViTs) have set new benchmarks in computer vision, yet their substantial parameter counts hinder deployment on resource-constrained edge devices. Post-Training Quantization (PTQ) serves as a vital compression tool, but standard approaches encounter significant accuracy drops at ultra-low bit-widths. We present AIQViT, an architecture-informed PTQ framework that addresses these challenges through learnable low-rank weight compensation and dynamic activation quantization. By employing Differentiable Architecture Search (NAS) for rank allocation and a curriculum learning strategy for calibration, AIQViT maintains high performance across diverse tasks, including 2D image classification and 3D point cloud analysis.

Introduction

The deployment of Vision Transformers (ViTs) on edge hardware necessitates efficient compression techniques. While Post-Training Quantization (PTQ) is effective for higher bit-widths, pushing to 3-bit or 4-bit often leads to catastrophic performance loss. This degradation stems from two primary issues identified by the authors: the underestimation of quantization error in weights and the inefficient bit allocation for the unbalanced distributions of post-softmax activations. AIQViT addresses these by introducing a surgical, architecture-aware approach to quantization that minimizes information loss without requiring full retraining.

Methodology

AIQViT incorporates three primary innovations to preserve model fidelity during quantization:

  1. Architecture-Informed Low-Rank Compensation (AILoC): To mitigate rounding errors in quantized weights, AILoC introduces small, learnable low-rank matrices ($A$ and $B$) for each linear layer. Using Differentiable Architecture Search (NAS), the framework automatically determines the optimal rank for each layer, ensuring that compensation is applied where it is most needed.
  2. Dynamic Focusing Quantizer (DFQ): Standard $log_2$ quantizers for softmax activations often waste resolution on near-zero noise. DFQ learns a "valuable interval" $[b_1, b_2]$, applying high-resolution uniform quantization to critical data while clipping redundant outliers.
  3. Curriculum Learning (CL) Optimization: To stabilize the optimization process during calibration, AIQViT employs a curriculum learning strategy, processing calibration samples sorted from "easy" (low reconstruction loss) to "hard."
The AIQViT framework overview, illustrating the integration of AILoC, DFQ, and Curriculum Learning.

Experiments and Results

The framework was evaluated on ImageNet-1K (classification), COCO (detection and segmentation), and ModelNet40/ShapeNetPart (3D vision). AIQViT demonstrates a significant performance leap in ultra-low bit settings. For instance, on the DeiT-T model at W3/A3 quantization, AIQViT achieves 38.51% top-1 accuracy on ImageNet, whereas previous state-of-the-art methods like RepQ-ViT collapse to near-zero accuracy. In standard 4-bit (W4/A4) settings, AIQViT reached 72.75% accuracy on DeiT-S, significantly outperforming BRECQ (54.31%).

Performance comparison of AIQViT against state-of-the-art PTQ methods across five diverse vision tasks.

Conclusion

AIQViT provides a robust solution for quantizing Vision Transformers to ultra-low bit-widths without the need for full retraining. By leveraging architecture-informed compensation and dynamic activation focusing, it bridges the gap between full-precision performance and edge-ready efficiency. Future research will explore extending these techniques to Large Language Models (LLMs) and further optimizing for specific mobile hardware backends.

Summary updated

BibTeX
@inproceedings{jiang2025aiqvit,
  author = {Runqing Jiang and Ye Zhang and Longguang Wang and Pengpeng Yu and Yulan Guo},
  title = {{AIQViT: Architecture-Informed Post-Training Quantization for Vision Transformers}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2025},
  doi = {10.1609/aaai.v39i17.33939},
}
Figure