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

VidCoM:通过带有多模态工具的大型语言模型实现快速视频理解

VidCoM: Fast Video Comprehension through Large Language Models with Multimodal Tools

Tsinghua University(清华大学)

Ji Qi, Kaixuan Ji, Jifan Yu, Duokang Wang, Bin Xu, Lei Hou, Juanzi Li

AI总结:

提出VidCoM框架,利用大型语言模型结合轻量级视觉工具进行视频推理,并设计InsOVER算法通过匈牙利匹配定位视频事件,在免微调情况下超越Flamingo-80B等模型达到SOTA性能。

摘要:

构建能够理解视频并响应特定用户指令的模型是一个实用且具有挑战性的课题,因为这需要同时掌握视觉理解和知识推理。与语言和图像模态相比,训练效率仍然是一个严重问题,因为现有研究在大量稀疏视频配以简短描述的数据上训练模型。在本文中,我们引入了VidCoM,这是一个快速自适应框架,利用大型语言模型(LLMs)通过轻量级视觉工具对视频进行推理。具体而言,我们揭示了响应特定指令的关键是关注相关视频事件,并利用两种视觉工具——结构化场景图生成和描述性图像字幕生成——来收集和表示事件信息。因此,采用一个富含世界知识的LLM作为推理智能体,通过对特定视频事件执行多个推理步骤来实现响应。为了解决LLMs识别视频事件的困难,我们进一步提出了一种面向指令的视频事件识别(InsOVER)算法。该算法基于语言指令分解与视频事件之间的高效匈牙利匹配来定位相应的视频事件,从而使LLMs能够有效地与长视频进行交互。在两个典型视频理解任务上的大量实验表明,所提出的免微调框架优于包括Flamingo-80B在内的预训练模型,实现了最先进的性能。我们的源代码和系统将公开发布。

英文摘要:

Building models that comprehends videos and responds specific user instructions is a practical and challenging topic, as it requires mastery of both vision understanding and knowledge reasoning. Compared to language and image modalities, training efficiency remains a serious problem as existing studies train models on massive sparse videos paired with brief descriptions. In this paper, we introduce \textbf{VidCoM}, a fast adaptive framework that leverages Large Language Models (LLMs) to reason about videos using lightweight visual tools. Specifically, we reveal that the key to responding to specific instructions is focusing on relevant video events, and utilize two visual tools, structured scene graph generation and descriptive image caption generation, to gather and represent the event information. Thus, a LLM enriched with world knowledge is adopted as the reasoning agent to achieve the responses by performing multiple reasoning steps on specific video events. To address the difficulty of LLMs identifying video events, we further propose an Instruction-oriented Video Events Recognition (InsOVER) algorithm. This algorithm locates the corresponding video events based on an efficient Hungarian matching between decompositions of linguistic instructions and video events, thereby enabling LLMs to interact effectively with extended videos. Extensive experiments on two typical video comprehension tasks show that the proposed tuning-free framework outperforms the pre-trained models including Flamingo-80B, to achieve the state-of-the-art performance. Our source code and system will be publicly available.

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

↑