arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2412.20504cs.CVcs.CLcs.MM
收藏

ReTaKe:面向长视频理解的时间冗余与知识冗余消减方法

ReTaKe: Reducing Temporal and Knowledge Redundancy for Long Video Understanding

Harbin Institute of Technology, Shenzhen(哈尔滨工业大学(深圳));Huawei Technologies Co., Ltd.(华为技术有限公司);Shandong University(山东大学)

Xiao Wang, Qingyi Si, Jianlong Wu, Shiyu Zhu, Li Cao, Liqiang Nie

AI总结:

针对现有VideoLLMs长视频处理能力不足的问题,提出无需训练的ReTaKe方法,通过DPSelect选关键帧、PivotKV压缩非关键帧KV缓存的双模块设计,同时消减时间与知识冗余,大幅提升长视频处理长度与性能,且延迟开销较低。

摘要:

视频大语言模型(VideoLLMs)在视频理解领域已取得显著进展,但受骨干大语言模型的性能限制,在处理长视频时表现不佳。现有解决方案要么依赖存在内存约束的长度外推技术,要么采用主要利用低层时间冗余、却忽略了效果更显著的高层知识冗余的视觉令牌压缩方法。针对这一问题,我们提出无需训练的方法ReTaKe,该方法包含DPSelect和PivotKV两个全新模块,可在视频压缩过程中同时消减时间视觉冗余与知识冗余。为契合人类的时间感知方式,DPSelect基于帧间距离峰值识别关键帧。为利用大语言模型已习得的先验知识,PivotKV将关键帧标记为枢轴(pivot),并通过剪除非枢轴帧KV缓存中低注意力的令牌实现压缩。ReTaKe可让VideoLLMs处理的帧长度提升8倍(最高达2048帧),在VideoMME、MLVU、LongVideoBench和LVBench基准上,性能较同规模模型提升3-5%,甚至可与规模大得多的模型相媲美。此外,通过将压缩操作与预填充过程重叠执行,ReTaKe仅带来约10%的预填充延迟开销,同时将解码延迟降低约20%。我们的代码已发布于https://github.com/SCZwangxiao/video-ReTaKe。

英文摘要:

Video Large Language Models (VideoLLMs) have made significant strides in video understanding but struggle with long videos due to the limitations of their backbone LLMs. Existing solutions rely on length extrapolation, which is memory-constrained, or visual token compression, which primarily leverages low-level temporal redundancy while overlooking the more effective high-level knowledge redundancy. To address this, we propose $\textbf{ReTaKe}$, a training-free method with two novel modules DPSelect and PivotKV, to jointly reduce both temporal visual redundancy and knowledge redundancy for video compression. To align with the way of human temporal perception, DPSelect identifies keyframes based on inter-frame distance peaks. To leverage LLMs' learned prior knowledge, PivotKV marks the keyframes as pivots and compress non-pivot frames by pruning low-attention tokens in their KV cache. ReTaKe enables VideoLLMs to process 8 times longer frames (up to 2048), outperforming similar-sized models by 3-5% and even rivaling much larger ones on VideoMME, MLVU, LongVideoBench, and LVBench. Moreover, by overlapping compression operations with prefilling, ReTaKe introduces only ~10% prefilling latency overhead while reducing decoding latency by ~20%. Our code is available at https://github.com/SCZwangxiao/video-ReTaKe.

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

↑