TL;DR
VLM-PTQ is a novel post-training quantization framework designed specifically for Large Vision-Language Models (VLMs). By introducing a closed-form correction term to fix the suboptimality of standard rounding-to-nearest methods and implementing a modality-aware quantization strategy, it enables efficient low-bit compression (down to 2-bit and 3-bit) for models up to 72B parameters on a single GPU with minimal performance degradation.
What Problem Does This Paper Address?
Large Vision-Language Models (VLMs) excel at multimodal tasks but suffer from massive computational and memory footprints, making deployment on edge devices or cost-effective data centers incredibly challenging. Post-Training Quantization (PTQ) is the go-to solution to compress these models without expensive retraining.
While advanced weight-compensation PTQ methods like GPTQ and GPTAQ work wonders for Large Language Models (LLMs), directly transplanting them to VLMs reveals two major flaws:
- Suboptimal Rounding: Standard rounding-to-nearest (RTN) strategies fail to account for residual-induced shifts in asymmetric calibration objectives, missing the true local optimum.
- Modality Imbalance: Existing methods treat all input channels uniformly. However, vision and language tokens possess completely different statistical properties and information densities. Uniform processing causes the quantization parameters to be dominated by whichever modality has a statistically larger footprint, severely degrading multimodal reasoning.
Methods
The authors propose VLM-PTQ, which introduces two primary modifications to the asymmetric weight-compensation pipeline:
- Closed-Form Correction Term: Instead of blindly applying RTN to the raw weights, the authors mathematically derive a continuous optimum for the asymmetric objective. This yields a closed-form correction term ($\delta$) that shifts the quantization target based on the accumulated output residual and the inverse Hessian column. The quantizer then rounds to the nearest integer level relative to this corrected weight rather than the original weight.
- Modality-Aware Quantization: To handle modality imbalance, VLM-PTQ decouples the input activations into vision and language tokens to compute separate Hessian matrices ($H_v$ and $H_l$). These matrices are fused into a single importance vector using a layer-wise awareness coefficient ($\mu$). A lightweight grid search optimizes $\mu$ for each layer by minimizing a small-sample reconstruction error proxy, forcing the quantizer to prioritize channels critical to the underrepresented modality.
Datasets
- Calibration Dataset: 128 text-image pairs randomly sampled from the improved COCO Caption dataset (ShareGPT4V).
- Evaluation Benchmarks: A comprehensive suite of eight vision-language benchmarks via the LMMs-Eval framework: ChartQA, DocVQA, MME-RealWorld (English and Chinese), OCRBench, ScienceQA, SeedBench 2 Plus, and TextVQA.
Key Insights and Ideas
- The Fallacy of Raw Rounding: In asymmetric quantization, the optimal discrete point is frequently not the closest integer to the original weight. The output residual from prior layers shifts the local error surface; accounting for this shift analytically via a correction vector prevents significant error accumulation.
- Hessian Magnitude Disparity: As shown in the paper's analysis, there is a massive magnitude disparity between vision and language Hessians across different transformer layers.
- Layer-Specific Modality Sensitivity: Different layers in a VLM exhibit highly diverse sensitivities to vision versus language tokens. A fixed blending ratio fails; an adaptive, layer-wise coefficient ($\mu$) is necessary to properly balance channel importance.
Key Results
VLM-PTQ was validated across diverse open-source VLM families (Qwen2.5-VL and InternVL3) ranging from 1B to 72B parameters:
- 3-Bit Weight-Only Quantization: On the massive Qwen2.5-VL-72B-Instruct, VLM-PTQ achieved a 76.9% average accuracy, retaining 98.3% of the full-precision (FP16) performance while using only 3 bits per weight.
- Extreme 2-Bit Compression: Under aggressive 2-bit quantization, where standard baselines completely collapse, VLM-PTQ boosted the average accuracy of Qwen2.5-VL-3B-Instruct from 22.8% (GPTAQ) to 36.9%.
- Weight-Activation Quantization (W2A8KV8): In challenging scenarios where both weights and activations/KV-caches are quantized, VLM-PTQ outperformed GPTAQ by 5.3 percentage points on Qwen2.5-VL-7B-Instruct.
- Efficiency: The framework remains highly practical, adding only about 99 seconds of total calibration overhead compared to GPTAQ while maintaining a modest memory footprint increase (~0.2GB).
Limitations and Future Work
The authors note that for fair comparison and scoping, they focused their quantization efforts strictly on the language model backbones within the VLMs, as they account for the vast majority of the parameter count (e.g., in InternVL3-38B). Future work could extend this modality-aware asymmetric framework directly to the vision encoders and cross-modal projection layers to achieve completely quantized, end-to-end low-bit VLM execution.
Summary updated