TL;DR
MuKV introduces a novel multi-grained Key-Value (KV) cache compression and semi-hierarchical retrieval framework designed to handle long streaming video question-answering. By combining self-attention and frequency-domain signals to prune redundant visual tokens across patch, frame, and segment levels, it significantly boosts QA accuracy and inference efficiency without increasing memory overhead.
What Problem Does This Paper Address?
Streaming video question-answering (VideoQA) requires an AI system to process a continuous influx of visual data over long durations and answer questions in real time. Multimodal Large Language Models (MLLMs) struggle with this because visual tokens scale linearly with time, quickly overwhelming the LLM's context window and causing massive computational bottlenecks.
To avoid recomputing history, existing methods use KV-caching to store historical visual tokens offline. However, current approaches typically cache data uniformly at a per-frame level. This creates a double-edged sword: it introduces massive memory redundancy for static scenes, yet simultaneously fails to capture fine-grained spatial details within frames or broader temporal context across video segments.
Methods
The authors propose MuKV, a training-free, model-agnostic framework consisting of two primary components:
1. Multi-Grained Video KV Cache & Dual-Signal Compression (DCP)
Instead of treating a video purely as a sequence of independent frames, MuKV extracts and stores KV caches at three distinct levels of granularity: segments (global temporal context), frames (standard temporal anchors), and patches (local spatial details).
To prevent memory explosion from this multi-layered representation, the authors introduce the Dual-Signal KV-Cache Compression (DCP) mechanism to prune redundant tokens using two complementary indicators:
- Attention-based Indicator: Uses the self-attention scores from the last LLM layer to capture task-specific semantic importance.
- Frequency-based Indicator: Applies a Fast Fourier Transform (FFT) to the key vectors. Since static or redundant content exhibits lower frequency components, retaining high-frequency tokens effectively preserves dynamic scene changes and fine-grained details.
2. Semi-Hierarchical KV-Cache Retrieval
When a question is asked, MuKV retrieves the most relevant context using a two-stage online retrieval strategy:
- Stage 1 (Parallel Retrieval): Computes the cosine similarity between the question query and all cached tokens across all three granularities independently to pull the top candidates.
- Stage 2 (Hierarchical Reranking): Uses the top-ranked segment-level representations to filter out cross-modal noise and rerank the frame- and patch-level tokens, ensuring global coherence.
Datasets
MuKV was evaluated on three long streaming video QA benchmarks:
- RVSEgo: 1.4k questions over 11 egocentric (first-person) videos averaging 30 minutes in length.
- RVSMovie: 1.9k questions over 20 movie videos averaging 1 hour in length.
- StreamingBench: 4.5k questions over 900 videos. The evaluation focused on a 2.5k subset emphasizing real-time visual understanding (videos averaging 10 minutes).
Key Insights and Ideas
- Frequency as a Positional Bias Corrector: A fascinating finding in the paper is that self-attention scores in LLMs possess a strong positional bias, often favoring earlier tokens regardless of content. Frequency signals derived via FFT are sample-specific and task-agnostic, providing an excellent calibration tool when fused with attention scores.
- Granular Synergy: Segment-level tokens excel at capturing high-level narrative context (actions and events), while patch-level tokens preserve localized details. The authors demonstrate that integrating all three granularities yields a powerful synergy that consistently beats single-granularity baselines without adding online QA overhead.
Key Results
- Superior Accuracy: MuKV consistently outperforms state-of-the-art streaming methods like ReKV and FVStream. On StreamingBench, MuKV (built on LLaVA-OV-7B) achieved an overall accuracy of 64.4%, outperforming ReKV's 62.3%.
- Efficiency Gains: MuKV reduces the number of visual tokens required for online inference from 12.5K down to 8.3K (a ~33% reduction), significantly lowering online QA latency.
- Long-Term Robustness: As video streams grow longer, the performance advantage of MuKV over traditional methods widens, demonstrating its viability for truly continuous streaming applications.
Limitations and Future Work
- The Counting Problem: While MuKV excels at higher-level video understanding (causal reasoning, event summary), it falls short on questions requiring exact object counting (the "Counting (CT)" metric on StreamingBench). Aggressive token pruning can discard the fine-grained, frame-by-frame tracking information necessary for precise counting.
- Future Directions: The authors suggest exploring more adaptive compression ratios that dynamically adjust based on the visual activity level of the video stream, potentially preserving more tokens during high-action sequences where counting or tracking is vital.
Summary updated