Abstract
Long-video understanding (LVU) remains a severe challenge for existing multimodal large language models (MLLMs), primarily due to the prohibitive computational cost. Recent approaches have explored KV compression to mitigate this issue, but they often suffer from significant information loss at high compression ratios. In this paper, we introduce Video-X^2L, which flexibly preserves critical video information for each LVU task. Video-X^2L involves two key operations. The first one is called bi-level KV compression. During the MLLM's pre-filling stage, Video-X^2L generates two types of compressed KVs: low-compression KVs (L-KVs) to capture fine-grained video details and high-compression KVs (H-KVs) to offer compact video representations. The second one is called selective KV re-loading. During the MLLM's decoding stage, Video-X^2L selectively re-loads L-KVs for the most critical video chunks while using H-KVs for other less important ones. This allows the MLLM to fully utilize task-specific information while maintaining the overall compactness. Video-X^2L is simple yet effective: it is free from additional training and directly compatible with existing KV-compressible MLLMs. We evaluate Video-X^2L with a variety of popular LVU benchmarks, including VideoMME, MLVU, LongVideoBench, and VNBench. Our experiment result shows that Video-X^2L outperforms existing KV-compression methods by a huge advantage while substantially saving the computation cost.
Introduction
Multimodal Large Language Models (MLLMs) face significant hurdles when processing long videos. A single hour of video can generate hundreds of thousands of visual tokens, leading to massive computational bottlenecks and exceeding context window limits. While Key-Value (KV) cache compression is a common solution, traditional methods apply uniform compression ratios, often sacrificing fine-grained details necessary for specific tasks.
Video-X²L addresses this by introducing a "best-of-both-worlds" approach. It achieves up to a 93.2% reduction in KV cache size and a 5.8x speedup without requiring additional training, by dynamically adjusting compression based on task relevance.
Methodology
The Video-X²L framework operates in two distinct stages to balance detail and efficiency:
- Bi-level KV Compression: During the pre-filling stage, the model generates two versions of the KV cache for every video chunk: L-KVs (Low-compression) for fine-grained details and H-KVs (High-compression) for abstract representations. These are stored in system memory (CPU) to manage large volumes of data cost-effectively.
- Selective KV Re-loading: During decoding, a relevance oracle (e.g., CLIP or attention scores) identifies task-critical video chunks. The system then selectively re-loads high-detail L-KVs for these "top-k" chunks while utilizing compact H-KVs for the remainder.
This "foveated" cache approach allows the model to focus resources on relevant segments, effectively acting as a noise filter for irrelevant global context.
Experimental Setup
Video-X²L was evaluated across several rigorous long-video understanding benchmarks:
- MLVU & VideoMME: Comprehensive multi-task video analysis.
- LongVideoBench: Long-context interleaved video-language understanding.
- VNBench: Detail perception tasks like retrieval, counting, and ordering.
- Needle-In-A-Haystack (NIAH): Synthetic tests for finding specific frames in massive video streams.
Results and Discussion
Performance and Efficiency
Video-X²L consistently outperformed existing open-source MLLM baselines. In its most aggressive configuration (4x low / 72x high compression), it maintained high accuracy while achieving significant efficiency gains.
Needle-In-A-Haystack Mastery
A standout result is the model's performance on NIAH tasks. Video-X²L maintained near-perfect accuracy in retrieving specific frames across varying video lengths and depths, significantly outperforming models like LongVA and LongLLaVA.
Limitations
Despite its success, the framework's performance is tied to the quality of the relevance oracle. If the oracle fails to identify a critical chunk, the model must rely on the "blurry" H-KV version. Additionally, while decoding is significantly faster, the initial pre-filling phase still requires processing the full video to create the bi-level caches.
Conclusion
Video-X²L presents a scalable, training-free solution for long-video understanding. By leveraging task-aware selective re-loading, it bridges the gap between computational efficiency and the preservation of fine-grained visual information.
Summary updated