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

探索视频多模态大语言模型中视觉上下文表示的设计空间

Exploring the Design Space of Visual Context Representation in Video MLLMs

Gaoling School of Artificial Intelligence, Renmin University of China(中国人民大学高瓴人工智能学院);Baichuan Inc.(百川公司);School of Information, Renmin University of China(中国人民大学信息学院);Institute of Automation, Chinese Academy of Sciences(中国科学院自动化研究所)

Yifan Du, Yuqi Huo, Kun Zhou, Zijia Zhao, Haoyu Lu, Han Huang, Wayne Xin Zhao, Bingning Wang, Weipeng Chen, Ji-Rong Wen

AI总结:

本文将视频MLLMs的视觉上下文表示建模为约束优化问题,通过实证研究帧选择与token选择的缩放及联合效应,推导出最优表示公式,并验证其与最佳实验结果一致。

摘要:

视频多模态大语言模型(MLLMs)在各种下游任务中展现了理解视频语义的卓越能力。尽管取得了这些进展,目前仍缺乏对视觉上下文表示的系统性研究。视觉上下文表示是指从视频中选择帧并进一步从帧中选择token的方案。本文探索了视觉上下文表示的设计空间,旨在通过寻找更有效的表示方案来提升视频MLLMs的性能。首先,我们将视觉上下文表示任务形式化为一个约束优化问题,在给定最大视觉上下文窗口大小的条件下,将语言建模损失建模为帧数和每帧嵌入(或token)数的函数。然后,我们分别探索了帧选择和token选择中的缩放效应,并通过大量实证实验拟合相应的函数曲线。我们检验了典型选择策略的有效性,并给出确定这两个因素的实证发现。此外,我们研究了帧选择与token选择的联合效应,并推导出确定这两个因素的最优公式。我们证明,推导出的最优设置与实证实验中的最佳结果相一致。我们的代码和模型可在以下地址获取:https://github.com/RUCAIBox/Opt-Visor。

英文摘要:

Video Multimodal Large Language Models (MLLMs) have shown remarkable capability of understanding the video semantics on various downstream tasks. Despite the advancements, there is still a lack of systematic research on visual context representation, which refers to the scheme to select frames from a video and further select the tokens from a frame. In this paper, we explore the design space for visual context representation, and aim to improve the performance of video MLLMs by finding more effective representation schemes. Firstly, we formulate the task of visual context representation as a constrained optimization problem, and model the language modeling loss as a function of the number of frames and the number of embeddings (or tokens) per frame, given the maximum visual context window size. Then, we explore the scaling effects in frame selection and token selection respectively, and fit the corresponding function curve by conducting extensive empirical experiments. We examine the effectiveness of typical selection strategies and present empirical findings to determine the two factors. Furthermore, we study the joint effect of frame selection and token selection, and derive the optimal formula for determining the two factors. We demonstrate that the derived optimal settings show alignment with the best-performed results of empirical experiments. Our code and model are available at: https://github.com/RUCAIBox/Opt-Visor.

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

↑