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

ST-LLM:大语言模型是有效的时间学习者

ST-LLM: Large Language Models Are Effective Temporal Learners

School of Electronic and Computer Engineering, Shenzhen Graduate School, Peking University(北京大学深圳研究生院电子与计算机工程学院);Applied Research Center (ARC), Tencent PCG(腾讯平台与内容事业群应用研究中心)

Ruyang Liu, Chen Li, Haoran Tang, Yixiao Ge, Ying Shan, Ge Li

AI总结:

ST-LLM提出将全部时空token直接输入大语言模型进行视频序列建模,并通过动态掩码和全局-局部输入模块解决效率与稳定性问题,在VideoChatGPT-Bench和MVBench上取得最优结果。

摘要:

大语言模型(LLMs)在文本理解和生成方面展现了令人瞩目的能力,促使研究者们探索视频LLMs,以在视频层面促进人机交互。然而,在基于视频的对话系统中如何有效编码和理解视频仍有待解决。本文研究了一个直接但尚未被探索的问题:我们能否将所有时空token输入LLM,从而将视频序列建模任务委托给LLMs?令人惊讶的是,这种简单方法在视频理解上带来了显著提升。基于此,我们提出了ST-LLM,一个在LLM内部进行时空序列建模的有效视频LLM基线。此外,为了解决LLMs中未压缩视频token带来的开销和稳定性问题,我们开发了一种动态掩码策略,并配合专门设计的训练目标。对于特别长的视频,我们还设计了一个全局-局部输入模块,以平衡效率和效果。由此,我们在保持效率和稳定性的同时,利用LLM进行熟练的时空建模。大量实验结果证明了我们方法的有效性。通过更简洁的模型和训练流程,ST-LLM在VideoChatGPT-Bench和MVBench上建立了新的最优结果。代码已开源在 https://github.com/TencentARC/ST-LLM。

英文摘要:

Large Language Models (LLMs) have showcased impressive capabilities in text comprehension and generation, prompting research efforts towards video LLMs to facilitate human-AI interaction at the video level. However, how to effectively encode and understand videos in video-based dialogue systems remains to be solved. In this paper, we investigate a straightforward yet unexplored question: Can we feed all spatial-temporal tokens into the LLM, thus delegating the task of video sequence modeling to the LLMs? Surprisingly, this simple approach yields significant improvements in video understanding. Based upon this, we propose ST-LLM, an effective video-LLM baseline with Spatial-Temporal sequence modeling inside LLM. Furthermore, to address the overhead and stability issues introduced by uncompressed video tokens within LLMs, we develop a dynamic masking strategy with tailor-made training objectives. For particularly long videos, we have also designed a global-local input module to balance efficiency and effectiveness. Consequently, we harness LLM for proficient spatial-temporal modeling, while upholding efficiency and stability. Extensive experimental results attest to the effectiveness of our method. Through a more concise model and training pipeline, ST-LLM establishes a new state-of-the-art result on VideoChatGPT-Bench and MVBench. Codes have been available at https://github.com/TencentARC/ST-LLM.

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

↑