CalibQuant: 1-Bit KV Cache Quantization for Multimodal LLMs

Insu Han, Zeliang Zhang, Zhiyuan Wang, Yifan Zhu, Susan Liang, Jiani Liu, Haiting Lin, Mingjie Zhao, Chenliang Xu, Kun Wan, Wentian Zhao

TL;DR

This paper introduces CalibQuant, a novel 1-bit quantization technique for the Key-Value (KV) cache in Multimodal Large Language Models (MLLMs). By employing channel-wise quantization and a unique post-quantization calibration, CalibQuant significantly reduces memory usage and boosts inference speed by up to 10x on models like InternVL, all while preserving multimodal capabilities.

What Problem Does This Paper Address?

Multimodal Large Language Models (MLLMs) are powerful but computationally expensive, especially during deployment. A major bottleneck is the Key-Value (KV) cache, which stores intermediate attention states to speed up inference. While effective, the KV cache's memory footprint grows linearly with the number of generated tokens, leading to significant memory consumption and reduced throughput, particularly on memory-constrained devices. Existing KV cache optimization methods often struggle with the unique characteristics of visual tokens in MLLMs, which can cause significant quantization errors at extremely low bitwidths.

Methods

CalibQuant tackles this problem with a multi-pronged approach:

  • Extreme 1-bit Quantization: The core idea is to drastically reduce the bitwidth of KV cache elements to just 1 bit.
  • Channel-wise Quantization: Instead of quantizing the entire KV cache globally, CalibQuant applies quantization independently to each channel (or dimension) of the key and value caches. This is crucial because visual tokens exhibit distinct distributional properties across channels, which global quantization fails to capture.
  • Post-scaling: To further optimize efficiency, a post-scaling trick is introduced. This defers the dequantization process, integrating it into subsequent computations and reducing memory requirements by only storing the low-bit quantized values.
  • Post-quantization Calibration: A novel calibration technique is proposed to address the issue of extreme values introduced by quantization. This method adjusts pre-softmax attention scores to align their distributions with unquantized baselines, effectively mitigating the impact of outliers and preserving model performance.
  • Triton Kernel Optimization: The implementation leverages Triton for runtime optimization, enabling efficient fused unpacking and matrix multiplication operations, which are critical for achieving high throughput.

Datasets

The paper evaluates CalibQuant on several standard multimodal benchmarks:

  • COCO Caption: Used for image captioning.
  • DocVQA: Used for document visual question answering.
  • MMBench-Video: Used for video understanding.

Key Insights and Ideas

  • Visual Tokens are Different: The paper highlights that visual tokens in MLLMs have distinct statistical patterns compared to text tokens, making standard quantization techniques less effective. Channel-wise quantization is particularly beneficial for these visual features.
  • 1-bit is Viable (with help): Achieving good performance with 1-bit quantization is challenging. The combination of channel-wise quantization and post-quantization calibration is key to overcoming the significant performance degradation typically seen at such low bitwidths.
  • Calibration is Crucial: The post-quantization calibration step is shown to be essential for restoring performance by correcting the distribution of attention scores, which are distorted by extreme values introduced during quantization.
  • Efficiency Gains are Substantial: The proposed method achieves significant speedups and memory reductions, making MLLMs more practical for deployment on resource-constrained hardware.

Key Results

  • Up to 10x Throughput Increase: CalibQuant achieves a significant speedup, with up to a 10x increase in throughput on InternVL models compared to the 16-bit baseline.
  • Preserved Performance: Despite the extreme 1-bit quantization, CalibQuant maintains competitive performance across various multimodal tasks (image captioning, DocVQA, video understanding), often matching or closely approaching the 16-bit baseline.
  • Significant Memory Reduction: The 1-bit quantization drastically reduces the memory footprint of the KV cache, enabling longer context handling or deployment on devices with limited memory.
  • Robustness Across Models: The method demonstrates effectiveness across different MLLM architectures, including LLaVA and InternVL models of varying sizes.

Limitations and Future Work

  • Hardware Support: The paper notes the lack of native hardware intrinsics for 1-bit quantization, requiring custom kernel implementations. Future work could explore leveraging emerging hardware capabilities.
  • Generalizability: While tested on several benchmarks, further evaluation on a wider range of MLLMs and tasks could provide broader validation.
  • Automatic Calibration Parameter Tuning: The paper uses a grid search for calibration parameters. Developing more automated or adaptive methods for finding optimal calibration parameters could be a future direction.

Summary updated

BibTeX
@inproceedings{han2025calibquant,
  author = {Insu Han and Zeliang Zhang and Zhiyuan Wang and Yifan Zhu and Susan Liang and Jiani Liu and Haiting Lin and Mingjie Zhao and Chenliang Xu and Kun Wan and Wentian Zhao},
  title = {{CalibQuant: 1-Bit KV Cache Quantization for Multimodal LLMs}},
  booktitle = {LCFM @ ICML},
  year = {2025},
  url = {https://openreview.net/forum?id=etOMfHWlPP},
}
Figure