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

28 Dec 2023  ยท  Ce Zhang, Taixi Lu, Md Mohaiminul Islam, Ziyang Wang, Shoubin Yu, Mohit Bansal, Gedas Bertasius ยท

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.

PDF Abstract
Task Dataset Model Metric Name Metric Value Global Rank Benchmark
Zero-Shot Video Question Answer EgoSchema (fullset) LLoVi (7B) Accuracy 33.5 # 6
Zero-Shot Video Question Answer EgoSchema (fullset) LLoVi (GPT-3.5) Accuracy 50.3 # 1
Zero-Shot Video Question Answer EgoSchema (subset) LLoVi (7B) Accuracy 50.8 # 3
Zero-Shot Video Question Answer EgoSchema (subset) LLoVi (GPT-3.5) Accuracy 57.6 # 2
Zero-Shot Video Question Answer IntentQA LLoVi (GPT-4) Accuracy 64.0 # 2
Zero-Shot Video Question Answer IntentQA LLoVi (7B) Accuracy 53.6 # 5
Zero-Shot Video Question Answer NExT-GQA LLoVi (GPT-4) Acc@GQA 24.3 # 1
Zero-Shot Video Question Answer NExT-GQA LLoVi (7B) Acc@GQA 11.2 # 3
Zero-Shot Video Question Answer NExT-QA LLoVi (7B) Accuracy 54.3 # 11
Zero-Shot Video Question Answer NExT-QA LLoVi (GPT-4) Accuracy 67.7 # 4

Methods


No methods listed for this paper. Add relevant methods here