arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2406.16852cs.CV
收藏

从语言到视觉的长上下文迁移

Long Context Transfer from Language to Vision

S-Lab, NTU(南洋理工大学S-Lab实验室);SUTD(新加坡科技设计大学)

Peiyuan Zhang, Kaichen Zhang, Bo Li, Guangtao Zeng, Jingkang Yang, Yuanhan Zhang, Ziyue Wang, Haoran Tan, Chunyuan Li, Ziwei Liu

AI总结:

本文提出通过外推语言骨干的上下文长度实现长上下文迁移,使 LMM 无需视频训练即可处理超长视频,并开发 V-NIAH 基准及 LongVA 模型,在 Video-MME 上取得 7B 规模最优性能。

摘要:

视频序列提供了宝贵的时间信息,但现有的大型多模态模型(LMMs)在理解超长视频方面存在不足。许多工作通过使用视觉重采样器减少视觉 token 的数量来解决这一问题。相比之下,本文从语言模型的角度来处理该问题。通过简单地外推语言骨干网络的上下文长度,我们使 LMMs 无需任何视频训练即可理解数量级更多的视觉 token。我们将这一现象称为长上下文迁移,并仔细消融研究了其性质。为了有效衡量 LMMs 在视觉模态中泛化到长上下文的能力,我们开发了 V-NIAH(Visual Needle-In-A-Haystack),这是一个受语言模型 NIAH 测试启发的纯合成长视觉基准。我们提出的 Long Video Assistant(LongVA)能够处理 2000 帧或超过 200K 个视觉 token,而无需额外的复杂性。凭借其扩展的上下文长度,LongVA 通过密集采样更多输入帧,在 7B 规模模型中于 Video-MME 上取得了最先进的性能。我们的工作已在 https://github.com/EvolvingLMMs-Lab/LongVA 开源。

英文摘要:

Video sequences offer valuable temporal information, but existing large multimodal models (LMMs) fall short in understanding extremely long videos. Many works address this by reducing the number of visual tokens using visual resamplers. Alternatively, in this paper, we approach this problem from the perspective of the language model. By simply extrapolating the context length of the language backbone, we enable LMMs to comprehend orders of magnitude more visual tokens without any video training. We call this phenomenon long context transfer and carefully ablate its properties. To effectively measure LMMs' ability to generalize to long contexts in the vision modality, we develop V-NIAH (Visual Needle-In-A-Haystack), a purely synthetic long vision benchmark inspired by the language model's NIAH test. Our proposed Long Video Assistant (LongVA) can process 2000 frames or over 200K visual tokens without additional complexities. With its extended context length, LongVA achieves state-of-the-art performance on Video-MME among 7B-scale models by densely sampling more input frames. Our work is open-sourced at https://github.com/EvolvingLMMs-Lab/LongVA.

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

↑