提出多粒度缓存压缩,提升长视频问答的效率与准确率
MuKV: Multi-Grained KV Cache Compression for Long Streaming Video Question-Answering

- 分层级提取视觉特征,结合自注意力与频率指导压缩
- 在多个基准上显著提升问答准确率,且不增加内存开销
- 适合需要高效处理长视频流的AI系统开发者
长视频问答因视觉令牌增多和大语言模型推理长度受限而面临挑战。键值缓存(KV-caching)通过预填充存储历史令牌的键值,实现更高效的流式问答。然而,现有方法每1-2帧缓存一次,造成冗余内存占用,并丢失帧内精细空间信息或跨帧时间上下文。本文提出MuKV,包含多粒度缓存压缩模块与半层次检索策略,提升长视频问答的效率与准确性。离线阶段,MuKV在块、帧、段三个粒度上提取视觉表征,结合自注意力与频率引导的双重信号压缩机制,在保留局部细节与全局时序上下文的同时保持高效。在线问答阶段,设计半层次检索方法,精准召回相关缓存以生成答案。在多个长视频流问答基准测试中,MuKV显著提升回答准确率,且不牺牲内存与在线推理效率。仅压缩机制本身就在准确率、内存与问答效率上持续优于基线,展现出强大有效性。
原文摘要 · Abstract (English)
Long streaming video QA remains challenging due to growing visual tokens and limited reasoning length of large language models (LLMs). KV-caching stores the Key-Value (KV) of the historical tokens via LLM prefill and enables more efficient streaming QA. However, existing methods cache every one or two frames, causing redundant memory usage and losing fine-grained spatial details within frame or temporal contexts across frames. This paper proposes MuKV, a method that features a multi-grained KV cache compression module and a semi-hierarchical retrieval approach to improve both efficiency and accuracy for long streaming VideoQA. For the offline KV cache, MuKV extracts visual representations at patch-, frame-, and segment-levels. The multiple levels of granularity preserve both local cues and global temporal context, while maintaining efficiency with a dual signal token compression mechanism guided by self-attention and frequency. For online QA, MuKV designs a semi-hierarchical retrieval method to retrieve relevant KV caches for answer generation. Experiments on long-streaming VideoQA benchmarks show that MuKV significantly improves answer accuracy, without sacrificing memory and online QA efficiency. Moreover, our compression mechanism alone brings consistent benefits across answer accuracy, memory, and QA efficiency over baselines, showcasing highly effective contribution.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。