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

通过层级差分蒸馏将视频-语言模型扩展到10K帧

Scaling Video-Language Models to 10K Frames via Hierarchical Differential Distillation

Gaoling School of Artificial Intelligence, Renmin University of China(中国人民大学北京校区人工智能学院);School of Artificial Intelligence, Wuhan University(武汉大学人工智能学院)

Chuanqi Cheng, Jian Guan, Wei Wu, Rui Yan

AI总结:

本文提出差分蒸馏方法及ViLAMP模型,通过关键帧选择与特征合并,在单GPU上高效处理长达10K帧的视频,并在多个基准上达到最优性能。

摘要:

长视频处理从根本上挑战了视觉-语言模型(VLMs),因为处理长时间序列的计算成本很高。现有的令牌剪枝和特征合并方法常常牺牲关键的时间依赖性或稀释语义信息。我们引入了差分蒸馏,这是一种原则性的方法,系统性地保留与任务相关的信息,同时抑制冗余。基于这一原则,我们开发了ViLAMP,一种层级视频-语言模型,通过两个关键机制以“混合精度”处理小时级视频:(1)差分关键帧选择,在帧级别最大化查询相关性同时保持时间独特性;(2)差分特征合并,在补丁级别保留非关键帧中查询显著的特征。因此,ViLAMP在关键帧中保留完整信息,同时将非关键帧缩减为其最显著的特征,类似于混合精度训练。大量实验表明,ViLAMP在四个视频理解基准上表现出优越性能,特别是在长视频内容上。值得注意的是,ViLAMP可以在单个NVIDIA A100 GPU上处理超长视频(最多10K帧),在保持最先进性能的同时实现了显著的计算效率。代码和模型可在https://github.com/steven-ccq/ViLAMP获取。

英文摘要:

Long-form video processing fundamentally challenges vision-language models (VLMs) due to the high computational costs of handling extended temporal sequences. Existing token pruning and feature merging methods often sacrifice critical temporal dependencies or dilute semantic information. We introduce differential distillation, a principled approach that systematically preserves task-relevant information while suppressing redundancy. Based on this principle, we develop ViLAMP, a hierarchical video-language model that processes hour-long videos at "mixed precision" through two key mechanisms: (1) differential keyframe selection that maximizes query relevance while maintaining temporal distinctiveness at the frame level and (2) differential feature merging that preserves query-salient features in non-keyframes at the patch level. Hence, ViLAMP retains full information in keyframes while reducing non-keyframes to their most salient features, resembling mixed-precision training. Extensive experiments demonstrate ViLAMP's superior performance across four video understanding benchmarks, particularly on long-form content. Notably, ViLAMP can process ultra-long videos (up to 10K frames) on a single NVIDIA A100 GPU, achieving substantial computational efficiency while maintaining state-of-the-art performance. Code and model are available at https://github.com/steven-ccq/ViLAMP.

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

↑