arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2610.32784cs.CV
收藏

Video-MemComp:用于流视频理解的泰勒引导灵敏度感知内存管理

Video-MemComp: Taylor-Guided Sensitivity-Aware Memory Management for Streaming Video Understanding

NJU(南京大学);Jiutian AI(九天智能);CASIA(中国科学院自动化研究所)

Yonghui Niu, Yuhao Ji, Chang Nie, Jiao Zhang, Yilong Li, Junlan Feng, Ran He, Caifeng Shan, Chaoyou Fu

AI总结:

提出Video-MemComp框架,通过泰勒分解压缩误差、预RoPE安全区聚合令牌、动态分配KV缓存预算,在多基准上提升Qwen2.5-VL-3B准确率并大幅节省KV内存。

摘要:

视频数据的快速增长催生了对可处理长连续视觉输入的高效视频理解系统的迫切需求,这给多模态大语言模型(MLLM)带来了严重的内存瓶颈挑战。此外,现有压缩方法常忽略近似误差的爆炸式累积。为解决该问题,我们提出Video-MemComp,一种用于内存受限流视频理解的无训练且灵敏度感知的上下文管理框架。我们的方法通过一阶泰勒展开,将压缩误差理论分解为正交的局部近似误差和层结构灵敏度。为最小化局部近似误差,我们在预RoPE安全区域执行令牌聚合,并采用注意力保留的logit偏置,缓解RoPE旋转导致的几何失真。为管理层结构灵敏度,我们基于离线梯度先验和在线上下文熵动态分配KV缓存预算,优先处理高灵敏度层。Video-MemComp在MLVU、VideoMME、EgoSchema等基准上的性能优于或与全缓存及现有最优压缩方法相当。值得注意的是,它将Qwen2.5-VL-3B的整体准确率从62.3%提升至64.1%,同时将KV缓存降至每层等效6000令牌,节省了超90%的KV内存。

英文摘要:

The rapid growth of video data has created an urgent need for efficient video understanding systems that can handle long and continuous visual inputs, posing significant challenges for Multimodal Large Language Models (MLLMs) due to severe memory bottlenecks. Moreover, existing compression methods often overlook the explosive accumulation of approximation errors. To address this issue, we propose Video-MemComp, a training-free and sensitivity-aware context management framework for memory-constrained streaming video understanding. Our method theoretically decomposes compression error into orthogonal local approximation error and layer-wise structural sensitivity via a first-order Taylor expansion. To minimize local approximation error, we perform token aggregation in a pre-RoPE safe zone with an attention-conserving logit bias, mitigating geometric distortions caused by RoPE rotations. To manage layer-wise structural sensitivity, we dynamically allocate the KV cache budget based on offline gradient priors and online context entropy, prioritizing high-sensitivity layers. Video-MemComp outperforms or achieves performance comparable to full-cache and state-of-the-art compression methods on benchmarks including MLVU, VideoMME, and EgoSchema. Notably, it improves the overall accuracy of Qwen2.5-VL-3B from 62.3% to 64.1% while reducing the KV cache to an equivalent of 6,000 tokens per layer, saving over 90% of KV memory.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑