提出分层微分蒸馏,让模型高效处理长达1万帧的长视频。
Scaling Video-Language Models to 10K Frames via Hierarchical Differential Distillation
- 通过关键帧选择与特征合并,保留重要信息并压缩冗余。
- 单块A100 GPU可处理1万帧视频,计算效率显著提升。
- 适合需要长视频理解的场景,如影视分析、监控检索。
长视频处理对视觉语言模型(VLMs)构成根本挑战,因其需处理高成本的长时序序列。现有令牌裁剪和特征融合方法常牺牲关键时间依赖性或稀释语义信息。本文提出微分蒸馏,一种系统性保留任务相关信息并抑制冗余的原则性方法。基于此,我们构建了ViLAMP——一种分层视频语言模型,通过两项关键机制实现小时级视频的“混合精度”处理:(1) 微分关键帧选择,在帧级别最大化查询相关性并保持时间差异性;(2) 微分特征合并,在补丁级别保留非关键帧中的查询显著特征。因此,ViLAMP在关键帧中保留完整信息,同时将非关键帧压缩至最显著特征,类比于混合精度训练。大量实验表明,ViLAMP在四个视频理解基准上表现优异,尤其在长视频任务中优势明显。值得注意的是,该模型可在单块NVIDIA A100 GPU上处理高达1万帧的超长视频,实现显著计算效率提升的同时保持业界领先性能。代码与模型已开源:https://github.com/steven-ccq/ViLAMP。
原文摘要 · Abstract (English)
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.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。