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

一种用于长视频问答的简单LLM框架

A Simple LLM Framework for Long-Range Video Question-Answering

UNC Chapel Hill(北卡罗来纳大学教堂山分校)

Ce Zhang, Taixi Lu, Md Mohaiminul Islam, Ziyang Wang, Shoubin Yu, Mohit Bansal, Gedas Bertasius

AI总结:

提出LLoVi框架,通过视觉描述器生成短视频片段文本并结合LLM进行长程时间推理,在多个长视频问答基准上取得显著性能提升。

摘要:

我们提出了LLoVi,一个用于长视频问答(LVQA)的基于语言的框架。与以往通常成本高昂且需要专门的长视频建模设计(例如内存队列、状态空间层等)的长视频理解方法不同,我们的方法使用帧/片段级视觉描述器(例如BLIP2、LaViLa、LLaVA)结合大语言模型(GPT-3.5、GPT-4),构建了一个简单却出奇有效的LVQA框架。具体而言,我们将LVQA的短程和长程建模方面分解为两个阶段。首先,我们使用短期视觉描述器为从长输入视频中密集采样的短视频片段(长度为0.5-8秒)生成文本描述。随后,LLM聚合密集提取的短期描述,以执行理解整个视频并回答问题所需的长程时间推理。为了分析是什么让我们的简单框架如此有效,我们全面评估了系统的各个组件。我们的实证分析表明,视觉描述器和LLM的选择对于良好的LVQA性能至关重要。此外,我们表明,一种专门的提示要求LLM首先总结嘈杂的短期视觉描述,然后回答给定的输入问题,这带来了显著的LVQA性能提升。在以超长视频问答基准闻名的EgoSchema上,我们的方法达到了50.3%的准确率,比之前表现最好的方法高出18.1%(绝对增益)。此外,我们的方法在NeXT-QA和IntentQA上分别比之前的最佳水平高出4.1%和3.1%。我们还将LLoVi扩展到基础LVQA,并表明它在NeXT-GQA数据集上优于所有先前的方法。我们将在https://github.com/CeeZh/LLoVi发布我们的代码。

英文摘要:

We present LLoVi, a language-based framework for long-range video question-answering (LVQA). Unlike prior long-range video understanding methods, which are often costly and require specialized long-range video modeling design (e.g., memory queues, state-space layers, etc.), our approach uses a frame/clip-level visual captioner (e.g., BLIP2, LaViLa, LLaVA) coupled with a Large Language Model (GPT-3.5, GPT-4) leading to a simple yet surprisingly effective LVQA framework. Specifically, we decompose short and long-range modeling aspects of LVQA into two stages. First, we use a short-term visual captioner to generate textual descriptions of short video clips (0.5-8s in length) densely sampled from a long input video. Afterward, an LLM aggregates the densely extracted short-term captions to perform long-range temporal reasoning needed to understand the whole video and answer a question. To analyze what makes our simple framework so effective, we thoroughly evaluate various components of our system. Our empirical analysis reveals that the choice of the visual captioner and LLM is critical for good LVQA performance. Furthermore, we show that a specialized prompt that asks the LLM first to summarize the noisy short-term visual captions and then answer a given input question leads to a significant LVQA performance boost. On EgoSchema, which is best known as a very long-form video question-answering benchmark, our method achieves 50.3% accuracy, outperforming the previous best-performing approach by 18.1% (absolute gain). In addition, our approach outperforms the previous state-of-the-art by 4.1% and 3.1% on NeXT-QA and IntentQA. We also extend LLoVi to grounded LVQA and show that it outperforms all prior methods on the NeXT-GQA dataset. We will release our code at https://github.com/CeeZh/LLoVi.

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

↑