LampQ: Towards Accurate Layer-wise Mixed Precision Quantization for Vision Transformers

Minjun Kim, Jaeri Lee, Jongjin Kim, Jeongin Yun, Yongmo Kwon +1 more
11/13/2025
cs.CV

No official code found. Best implementation: snudatalab/LampQ (9 stars, last commit 2025-11-14).

Abstract

How can we accurately quantize a pre-trained Vision Transformer model? Quantization algorithms compress Vision Transformers (ViTs) into low-bit formats, reducing memory and computation demands with minimal accuracy degradation. However, existing methods rely on uniform precision, ignoring the diverse sensitivity of ViT components to quantization. Metric-based Mixed Precision Quantization (MPQ) is a promising alternative, but previous MPQ methods for ViTs suffer from three major limitations: 1) coarse granularity, 2) mismatch in metric scale across component types, and 3) quantization-unaware bit allocation. In this paper, we propose LampQ (Layer-wise Mixed Precision Quantization for Vision Transformers), an accurate metric-based MPQ method for ViTs to overcome these limitations. LampQ performs layer-wise quantization to achieve both fine-grained control and efficient acceleration, incorporating a type-aware Fisher-based metric to measure sensitivity. Then, LampQ assigns bit-widths optimally through integer linear programming and further updates them iteratively. Extensive experiments show that LampQ provides the state-of-the-art performance in quantizing ViTs pre-trained on various tasks such as image classification, object detection, and zero-shot quantization.

View on arXivView PDF

Code Implementations(1)

snudatalab/LampQCommunity67%

LampQ: Towards Accurate Layer-wise Mixed Precision Quantization for Vision Transformers (AAAI 2026)

91TeX, PythonNov 14, 202511 months ago

Similar Papers

Cite this paper

@article{kim2025lampq,
  title  = {LampQ: Towards Accurate Layer-wise Mixed Precision Quantization for Vision Transformers},
  author = {Minjun Kim and Jaeri Lee and Jongjin Kim and Jeongin Yun and Yongmo Kwon and U Kang},
  year   = {2025},
  eprint = {2511.10004},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2511.10004v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2511.10004.svg)](https://codeofpaper.com/paper/2511.10004)

Discussion