From 16-Bit to 1-Bit: Visual KV Cache Quantization for Memory-Efficient Multimodal Large Language Models

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

Abstract

Multimodal Large Language Models (MLLMs) have demonstrated remarkable performance across diverse applications. However, their computational overhead during deployment remains a critical bottleneck. While Key-Value (KV) caching effectively trades memory for computation to enhance inference efficiency, the growing memory footprint from extensive KV caches significantly reduces throughput and restricts prolonged deployment on memory-constrained GPU devices. To address this challenge, we propose CalibQuant, a simple yet highly effective visual quantization strategy that drastically reduces both memory and computational overhead. Specifically, CalibQuant introduces an extreme 1-bit quantization scheme, complemented by novel post-scaling and calibration techniques tailored to the intrinsic patterns of KV caches, thereby ensuring high efficiency without compromising model performance. Leveraging Triton for runtime optimization, we achieve a 10x throughput increase on InternVL models. Our method is designed to be plug-and-play, seamlessly integrating with various existing MLLMs without requiring architectural changes. Extensive experiments confirm that our approach significantly reduces memory usage while maintaining computational efficiency and preserving multimodal capabilities.

Introduction

Multimodal models that process high-resolution images or video generate thousands of visual tokens, leading to a Key-Value (KV) cache that grows linearly with sequence length. For long-context tasks, this cache often exceeds the VRAM of high-end GPUs like the NVIDIA H100. While 4-bit or 8-bit quantization is standard, pushing to an extreme 1-bit representation typically introduces massive quantization errors that degrade model reasoning. CalibQuant addresses this by leveraging the unique statistical patterns of visual activations to enable near-lossless 1-bit KV cache compression.

Methodology: The CalibQuant Framework

CalibQuant is built on three primary technical pillars designed to handle the specific challenges of visual token distributions, which the authors found to be statistically distinct from text tokens:

  1. Channel-wise Quantization: Unlike global quantization, CalibQuant applies scaling factors per-channel. This prevents outliers—common in visual activations—from dominating the binary representation and drowning out information in other channels.
  2. Post-quantization Calibration: The authors observed that 1-bit quantization severely distorts attention scores. CalibQuant introduces a linear transformation, optimized via grid search, to "squish" pre-softmax attention scores back toward their original distribution. This calibration is critical for preserving the model's attention mechanism.
  3. Post-scaling & Triton Optimization: To translate memory savings into actual speed, custom Triton kernels implement a "post-scaling trick." This integrates dequantization directly into the query-key multiplication, keeping data in a packed 1-bit format for as long as possible to minimize memory traffic.
Comparison of pre-softmax attention score distributions. CalibQuant (Quant-C) effectively shifts the distorted 1-bit distribution (Quant) back toward the full-precision baseline (Exact).

Experimental Evaluation

The researchers evaluated CalibQuant using InternVL2.5 (8B/26B) and LLaVA-1.5 (7B/13B) across diverse benchmarks, including COCO Caption for semantic coherence, DocVQA for fine-grained detail, and MMBench-Video for holistic video understanding.

Key Results

  • Massive Speedups: On an NVIDIA H100, CalibQuant achieved up to an 11.24x speedup in decoding throughput for InternVL-2.5-8B compared to the 16-bit baseline.
  • Near-Lossless Performance: In the COCO Caption task, the 1-bit CalibQuant version of LLaVA-1.5-7B achieved a CIDEr score of 1.109, slightly exceeding the 16-bit baseline (1.105).
  • Error Reduction: Quantitative analysis shows that CalibQuant significantly reduces the Mean Squared Error (MSE) of the attention mechanism across all model layers compared to standard 1-bit quantization.
Mean Squared Error (MSE) of the softmax attention mechanism across different model layers, demonstrating the error reduction achieved by CalibQuant's calibration.

Discussion and Future Work

CalibQuant demonstrates that preserving the distribution of the attention mechanism is more important than minimizing weight reconstruction error for 1-bit MLLMs. By fixing the attention scores post-quantization, the model recovers most of its lost performance.

Current limitations include a focus on visual tokens rather than a universal visual-text cache and the use of manual grid search for calibration parameters. Future work may explore learnable calibration and hardware-level optimizations for sub-4-bit arithmetic to further unlock the potential of extreme quantization.

Codes are available at https://github.com/insuhan/calibquant.

Summary updated

BibTeX
@inproceedings{zhang2025from,
  author = {Zeliang Zhang and Yifan Zhu and Susan Liang and Zhiyuan Wang and Jiani Liu and Haiting Lin and Mingjie Zhao and Chenliang Xu and Kun Wan and Wentian Zhao},
  title = {{From 16-Bit to 1-Bit: Visual KV Cache Quantization for Memory-Efficient Multimodal Large Language Models}},
  booktitle = {LCFM @ ICML},
  year = {2025},
  url = {https://openreview.net/forum?id=etOMfHWlPP},
}
Figure