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

TC-LLaVA:从时间考量重新思考从图像到视频理解的迁移

TC-LLaVA: Rethinking the Transfer from Image to Video Understanding with Temporal Considerations

The Hong Kong University of Science and Technology (Guangzhou)(香港科技大学(广州));Tencent PCG(腾讯平台与内容事业群);The Hong Kong University of Science and Technology(香港科技大学);Dalian University of Technology(大连理工大学)

Mingze Gao, Jingyu Liu, Mingda Li, Jiangtao Xie, Qingbin Liu, Bo Zhao, Xi Chen, Hui Xiong

AI总结:

本文提出 TC-LLaVA,通过时间感知双 RoPE 和逐帧块因果注意力掩码改进 LLM 层间注意力,仅用视频数据 SFT 即在多个视频理解基准上达到新 SOTA。

摘要:

多模态大语言模型(MLLMs)在各种图像-语言应用中显著提升了性能。近年来,将图像预训练的 MLLMs 适配到视频相关任务的兴趣日益增长。然而,大多数工作集中于增强视觉编码器和投影器组件,而核心部分——大语言模型(LLMs)——仍相对未被充分探索。本文提出两种策略,通过改进 LLMs 中的层间注意力计算来增强模型在视频理解任务中的能力。具体而言,第一种方法侧重于利用时间感知双 RoPE 增强旋转位置嵌入(RoPE),引入时间位置信息以强化 MLLM 的时间建模能力,同时保留视觉和文本 token 的相对位置关系。第二种方法涉及利用逐帧块因果注意力掩码增强注意力掩码,这是一种简单而有效的方法,在保持因果推理机制的同时扩大视频帧内和跨帧的视觉 token 交互。基于这些提出的方法,我们将 LLaVA 适配用于视频理解任务,并将其命名为时间考量 LLaVA(TC-LLaVA)。我们的 TC-LLaVA 仅通过在视频相关数据集上进行监督微调(SFT),就在各种视频理解基准上取得了新的最先进性能。

英文摘要:

Multimodal Large Language Models (MLLMs) have significantly improved performance across various image-language applications. Recently, there has been a growing interest in adapting image pre-trained MLLMs for video-related tasks. However, most efforts concentrate on enhancing the vision encoder and projector components, while the core part, Large Language Models (LLMs), remains comparatively under-explored. In this paper, we propose two strategies to enhance the model's capability in video understanding tasks by improving inter-layer attention computation in LLMs. Specifically, the first approach focuses on the enhancement of Rotary Position Embedding (RoPE) with Temporal-Aware Dual RoPE, which introduces temporal position information to strengthen the MLLM's temporal modeling capabilities while preserving the relative position relationships of both visual and text tokens. The second approach involves enhancing the Attention Mask with the Frame-wise Block Causal Attention Mask, a simple yet effective method that broadens visual token interactions within and across video frames while maintaining the causal inference mechanism. Based on these proposed methods, we adapt LLaVA for video understanding tasks, naming it Temporal-Considered LLaVA (TC-LLaVA). Our TC-LLaVA achieves new state-of-the-art performance across various video understanding benchmarks with only supervised fine-tuning (SFT) on video-related datasets.

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

↑