CoPE-VideoLM:利用编解码器原语实现高效的视频语言建模
CoPE-VideoLM: Leveraging Codec Primitives For Efficient Video Language Modeling
AI总结:
本文提出CoPE-VideoLM,通过利用视频编解码器原语(如运动矢量和残差)减少计算开销,提升视频语言模型的效率和性能。
摘要:
视频语言模型(VideoLMs)使AI系统能够理解视频中的时间动态。为适应最大上下文窗口限制,当前方法使用关键帧采样,但往往遗漏了宏观事件和微观细节,因为时间覆盖稀疏。此外,处理完整图像及其令牌对每个帧造成显著计算开销。我们通过利用视频编解码器原语(特别是运动矢量和残差)来解决这些限制,这些原语原生地编码了视频冗余和稀疏性,而无需为大多数帧进行昂贵的完整图像编码。为此,我们引入了轻量级的基于Transformer的编码器,用于聚合编解码器原语,并通过预训练策略将它们的表示对齐到图像编码器嵌入。我们的方法CoPE-VideoLM将时间到第一个令牌的时间减少了高达86%,并将令牌使用量减少了高达93%。此外,通过调整关键帧和编解码器原语的密度,我们在14个多样化的视频理解基准上保持或超过了性能,涵盖一般问答、时间与运动推理、长形式理解和空间场景理解。
英文摘要:
Video Language Models (VideoLMs) enable AI systems to understand temporal dynamics in videos. To fit within the maximum context window constraint, current methods use keyframe sampling which often misses both macro-level events and micro-level details due to the sparse temporal coverage. Furthermore, processing full images and their tokens for each frame incurs substantial computational overhead. We address these limitations by leveraging video codec primitives (specifically motion vectors and residuals) which natively encode video redundancy and sparsity without requiring expensive full-image encoding for most frames. To this end, we introduce lightweight transformer-based encoders that aggregate codec primitives and align their representations with image encoder embeddings through a pre-training strategy that accelerates convergence during end-to-end fine-tuning. Our approach, CoPE-VideoLM, reduces the time-to-first-token by up to 86% and token usage by up to 93% compared to standard VideoLMs. Moreover, by varying the keyframe and codec primitive densities we maintain or exceed performance on 14 diverse video understanding benchmarks spanning general question answering, temporal and motion reasoning, long-form understanding, and spatial scene understanding.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。