Fine-Grained Post-Training Quantization for Large Vision Language Models with Quantization-Aware Integrated Gradients

Ziwei Xiang, Fanhu Zeng, Hongjian Fang, Rui-Qi Wang, Renxing Chen, Yanan Zhu, Yi Chen, Peipei Yang, Xu-Yao ZhangarXiv 2026

TL;DR

Existing post-training quantization (PTQ) methods for Large Vision Language Models (LVLMs) calibrate sensitivity at the coarse modality level, ignoring the fact that individual tokens within the same modality behave very differently. This paper introduces Quantization-aware Integrated Gradients (QIG), a fine-grained approach that leverages mechanistic interpretability principles to evaluate sensitivity at the token level, significantly boosting the accuracy of 3-bit and 4-bit quantized models with negligible computational overhead.

What Problem Does This Paper Address?

Large Vision Language Models (LVLMs) excel at multimodal tasks but suffer from massive computational and memory overhead. Post-training quantization (PTQ) is a popular training-free solution to compress these models, but compressing them to ultra-low bitwidths (like 3-bit weights or 4-bit activations) usually incurs severe accuracy degradation.

The core limitation of current LVLM quantization strategies is their granularity. They typically treat token sensitivity at the modality level—assuming all visual tokens share one sensitivity profile and all text tokens share another. However, as tokens pass through deep transformer layers, cross-token interactions blur these modality boundaries.

The authors demonstrate that activation distributions exhibit massive outliers, layer heterogeneity, sub-layer divergence, and intense token variability (where activations vary substantially across individual tokens within the same sub-layer). Coarse modality-level calibration fails to capture these intra-modality dynamics, leading to suboptimal quantization.

Figure 2. Visualization of activation distributions in InternVL2-8B during calibration. We visualize two representative layers and four linear sub-layers. In each panel, the horizontal axis denotes token positions in the multimodal sequence and the vertical axis indexes hidden channels; color encodes the average activation magnitude per token–channel pair over the calibration set. The plots reveal four recurring phenomena: massive activations, layer heterogeneity, sub-layer divergence, and token variability. These patterns indicate that coarse modality-level sensitivity modeling is insufficient, motivating our token-level sensitivity weighting.

Methods

To push quantization granularity from the modality level to the token level, the authors introduce Quantization-aware Integrated Gradients (QIG), drawing inspiration from axiomatic attribution in mechanistic interpretability.

  1. Quantization-aware Integrated Gradients (QIG): Standard Integrated Gradients (IG) calculate a token's contribution to a model's absolute prediction. QIG shifts this objective to attribute the output discrepancy between the full-precision model and the quantized model. It integrates gradients along a straight-line path from a quantized reference input to the actual full-precision input, isolating the exact impact of quantization errors on a per-token basis.
  2. IQR-based Clipping: Raw QIG values are often heavy-tailed, meaning a few extreme tokens can dominate the optimization. The authors apply a robust Interquartile Range (IQR) clipping mechanism to suppress these outliers and stabilize the sensitivity distribution.
  3. Fine-Grained Calibration: The clipped and normalized QIG scores act as token importance coefficients ($\lambda_i$). These coefficients are integrated directly into the objective function of Channel-Wise Equalization (CWE), biasing the quantization scale search toward tokens that are empirically more vulnerable to quantization noise.
Comparison between modality-balanced quantization and the proposed fine-grained token-level quantization.

Datasets

  • Calibration Datasets: The primary calibration set consists of 128 randomly sampled image-caption pairs from the improved COCO Caption dataset in ShareGPT4V. For domain-specific robustness testing, they also utilize an OCR-focused calibration set derived from InfoVQA.
  • Evaluation Benchmarks: The quantized models are evaluated across a diverse suite of vision-language benchmarks:
  • Visual Reasoning: MMMU, ScienceQA
  • Real-World Perception: VizWiz
  • Structured Visual Understanding: ChartQA, AI2D
  • OCR-Intensive Tasks: DocVQA, OCRBench
  • Unimodal Language Benchmarks (for LLM extension): PIQA, ARC-e/c, MMLU

Key Insights and Ideas

  • SFT Gradients are Misaligned: A natural alternative to QIG might be using standard Supervised Fine-Tuning (SFT) loss gradients to measure token sensitivity. However, the authors find that SFT gradients perform worse than modality-level baselines because they do not correlate with quantization noise; once quantization is introduced, the gradient distribution shifts, causing errors to accumulate over depth.
  • The Perturbation Proxy Dilemma: Directly perturbing tokens one by one (a leave-one-out approach) yields the most accurate sensitivity measurements but is computationally prohibitive. QIG serves as a mathematically rigorous and highly efficient approximation of this perturbation response.
  • Cross-Architecture Generality: Although designed for multimodal models, modeling token-level sensitivity via QIG also yields notable improvements when applied to pure Large Language Models (LLMs) like LLaMA-2, proving that token-level heterogeneity is a universal trait of transformer architectures.

Key Results

The authors evaluated QIG on several leading open-source LVLMs (LLaVA-onevision-7B, Qwen2-VL-7B, InternVL2-8B/26B) under both W4A8 (4-bit weight, 8-bit activation) and W3A16 (3-bit weight, 16-bit activation) settings.

  • Accuracy Recovery: Under the aggressive 3-bit weight-only setting (W3A16), QIG improved the average accuracy of LLaVA-onevision-7B by 1.60% over the baseline, narrowing the gap to its full-precision counterpart to just 1.33%.
  • Outperforming Modality Baselines: QIG consistently outperformed the state-of-the-art modality-balanced baseline (MBQ), particularly on challenging benchmarks like VizWiz and MMMU, where it achieved an average gain of around 1%.
  • Negligible Overhead: Compared to the baseline MBQ method, QIG adds only about 2 minutes of total quantization time for an InternVL2-8B model on a single NVIDIA A800 GPU, making it vastly more practical than brute-force perturbation methods which take hours.

Limitations and Future Work

While QIG provides excellent stability and accuracy gains, the authors note that post-processing steps like IQR clipping slightly break the strict algebraic completeness property inherent to standard Integrated Gradients.

For future directions, the authors suggest extending this token-aware, attribution-guided perspective to develop unified, token-level compression frameworks that combine quantization with other techniques like token pruning or structural model pruning in real-world systems.

Summary updated

BibTeX
@misc{xiang2026fine,
  author = {Ziwei Xiang and Fanhu Zeng and Hongjian Fang and Rui-Qi Wang and Renxing Chen and Yanan Zhu and Yi Chen and Peipei Yang and Xu-Yao Zhang},
  title = {{Fine-Grained Post-Training Quantization for Large Vision Language Models with Quantization-Aware Integrated Gradients}},
  year = {2026},
  eprint = {2603.17809},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2603.17809},
}
Figure