arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2506.19225cs.CVcs.AI
收藏

Video-XL-2:通过任务感知的KV稀疏化实现超长视频理解

Video-XL-2: Towards Very Long-Video Understanding Through Task-Aware KV Sparsification

Beijing Academy of Artificial Intelligence(北京人工智能研究院);Shanghai Jiao Tong University(上海交通大学);University of Trento(特伦特大学);Renmin University of China(中国人民大学);Beijing University of Posts and Telecommunications(北京邮电大学);Hong Kong Polytechnic University(香港理工大学)

Minghao Qin, Xiangrui Liu, Zhengyang Liang, Yan Shu, Huaying Yuan, Juenjie Zhou, Shitao Xiao, Bo Zhao, Zheng Liu

AI总结:

提出Video-XL-2,通过基于分块的预填充和双层键值解码的任务感知KV稀疏化方法,在保持高性能的同时显著降低内存和计算开销,实现超长视频的高效理解。

摘要:

多模态大语言模型(MLLMs)在过去几年中在视频理解方面取得了显著进展。然而,由于高昂的内存和计算成本,处理长视频输入仍然是一个重大挑战。这使得当前模型难以在长视频理解中同时实现强大的性能和高效率。为了应对这一挑战,我们提出了Video-XL-2,这是一种新颖的MLLM,基于任务感知的KV稀疏化为长视频理解提供了卓越的性价比。所提出的框架通过两个关键步骤运行:基于分块的预填充和双层键值解码。基于分块的预填充将视觉token序列划分为多个分块,在每个分块内应用全注意力,在分块间应用稀疏注意力。这显著降低了计算和内存开销。在解码过程中,双层键值解码根据每个分块与任务的相关性,选择性地重新加载密集或稀疏的键值。这种方法进一步提高了内存效率,并增强了模型捕捉细粒度信息的能力。Video-XL-2在各种长视频理解基准上实现了最先进的性能,优于现有的开源轻量级模型。它还展现出卓越的效率,能够在单个NVIDIA A100(80GB)GPU上处理超过10,000帧,并在几秒钟内处理数千帧。

英文摘要:

Multi-modal large language models (MLLMs) models have made significant progress in video understanding over the past few years. However, processing long video inputs remains a major challenge due to high memory and computational costs. This makes it difficult for current models to achieve both strong performance and high efficiency in long video understanding. To address this challenge, we propose Video-XL-2, a novel MLLM that delivers superior cost-effectiveness for long-video understanding based on task-aware KV sparsification. The proposed framework operates with two key steps: chunk-based pre-filling and bi-level key-value decoding. Chunk-based pre-filling divides the visual token sequence into chunks, applying full attention within each chunk and sparse attention across chunks. This significantly reduces computational and memory overhead. During decoding, bi-level key-value decoding selectively reloads either dense or sparse key-values for each chunk based on its relevance to the task. This approach further improves memory efficiency and enhances the model's ability to capture fine-grained information. Video-XL-2 achieves state-of-the-art performance on various long video understanding benchmarks, outperforming existing open-source lightweight models. It also demonstrates exceptional efficiency, capable of processing over 10,000 frames on a single NVIDIA A100 (80GB) GPU and thousands of frames in just a few seconds.

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

↑