Video Large Language Models (VideoLLMs) are pushing the boundaries of multimodal understanding, yet they face a significant "memory wall." Unlike text-based models, VideoLLMs must process thousands of visual tokens across multiple frames, leading to massive Key-Value (KV) caches that can exceed the memory capacity of even high-end GPUs. This paper introduces VidKV, a novel, training-free quantization framework designed to compress these caches to ultra-low bit-widths (1.5 to 1.58 bits) with negligible performance loss.
The Memory Wall in VideoLLMs
During inference, models store "Key" and "Value" vectors for every token in a KV cache to avoid redundant computations. As video length and batch sizes grow, this cache becomes a bottleneck. For example, processing 1,000 frames with a batch size of 256 on a LLaVA-OV-7B model can require a staggering 720 GB of memory for the KV cache alone. While 2-bit quantization exists for text LLMs, pushing below this threshold for video models typically leads to "model collapse."
The VidKV Methodology
VidKV addresses this by treating Keys and Values differently based on their unique statistical distributions in video contexts. The framework employs a bifurcated strategy:
1. Key Cache: Mixed-Precision and Frequency Smoothing
The researchers identified "anomalous channels" containing massive outliers in the Key cache. To handle this, they use a mixed-precision approach: 2-bit quantization for sensitive channels and 1-bit for the rest. To stabilize the 1-bit quantization, they apply a Fast Fourier Transform (FFT). Moving data to the frequency domain smooths out sharp fluctuations and concentrates energy, significantly reducing quantization error.
2. Value Cache: Per-Channel Ternary Quantization
In a departure from standard practices that use per-token quantization, VidKV implements per-channel 1.58-bit (ternary) quantization. The authors discovered that in VideoLLMs, variation is much more pronounced across channels than across tokens. This "per-channel pivot" allows for high-fidelity compression down to ternary values ({-1, 0, 1}).
3. Semantic Token Protection (STP)
Not all visual tokens are equally important. VidKV uses cross-modal attention to identify "salient" tokens—those most correlated with the text query. These critical tokens are protected at 2-bit precision, while the rest are compressed to 1.58-bit.
Key Results and Insights
VidKV was evaluated using LLaVA-OneVision-7B and Qwen2.5-VL-7B across six diverse benchmarks, including VideoChat-GPT and MovieChat. The results demonstrate that VidKV can reduce the KV cache size by approximately 80% compared to the FP16 baseline while maintaining near-lossless performance.
On the LLaVA-OV-7B model, VidKV at 1.5-bit (Key) and 1.58-bit (Value) achieved scores nearly identical to the original 16-bit model. For instance, on VideoChat-GPT, it maintained a 3.10 average score versus the baseline's 3.27, significantly outperforming prior state-of-the-art methods like KIVI.
Conclusion and Future Work
VidKV proves that video redundancy is a major advantage for compression. By exploiting the inherent stability of channel distributions and using frequency-domain smoothing, VidKV pushes quantization limits to the 1.x-bit regime. Future work will focus on developing optimized hardware kernels to fully realize the speedup potential of ternary matrix multiplications on commodity GPUs and exploring the integration of quantization with token pruning for even greater efficiency.
Summary updated