[Paper Review] DoraemonGPT: Toward Understanding Dynamic Scenes with Large Language Models (Exemplified as A Video Agent)
DoraemonGPT is an LLM-driven agent for dynamic video tasks that uses task-related symbolic memory, sub-task tools, external knowledge, and an MCTS planner to explore multiple solutions and deliver improved answers; it outperforms several baselines on NExT-QA.
Recent LLM-driven visual agents mainly focus on solving image-based tasks, which limits their ability to understand dynamic scenes, making it far from real-life applications like guiding students in laboratory experiments and identifying their mistakes. Hence, this paper explores DoraemonGPT, a comprehensive and conceptually elegant system driven by LLMs to understand dynamic scenes. Considering the video modality better reflects the ever-changing nature of real-world scenarios, we exemplify DoraemonGPT as a video agent. Given a video with a question/task, DoraemonGPT begins by converting the input video into a symbolic memory that stores task-related attributes. This structured representation allows for spatial-temporal querying and reasoning by well-designed sub-task tools, resulting in concise intermediate results. Recognizing that LLMs have limited internal knowledge when it comes to specialized domains (e.g., analyzing the scientific principles underlying experiments), we incorporate plug-and-play tools to assess external knowledge and address tasks across different domains. Moreover, a novel LLM-driven planner based on Monte Carlo Tree Search is introduced to explore the large planning space for scheduling various tools. The planner iteratively finds feasible solutions by backpropagating the result's reward, and multiple solutions can be summarized into an improved final answer. We extensively evaluate DoraemonGPT's effectiveness on three benchmarks and several in-the-wild scenarios. The code will be released at https://github.com/z-x-yang/DoraemonGPT.
Motivation & Objective
- Motivate and address the need to understand dynamic scenes beyond static images.
- Propose a memory-and-tool-based LLM framework for dynamic video tasks.
- Leverage an MCTS planner to efficiently explore large planning spaces and generate multiple feasible solutions.
- Incorporate external knowledge sources to extend domain understanding beyond the model’s internal knowledge.
Proposed method
- Decompose dynamic tasks into a Task-related Symbolic Memory consisting of space-dominant and time-dominant attributes.
- Introduce sub-task tools driven by LLMs to query the symbolic memory and perform reasoning (e.g., Why, How, When, What, Count).
- Integrate external knowledge sources via knowledge tools (symbolic, textual, web) to address domain-specific needs.
- Employ a Monte Carlo Tree Search planner to explore multiple solution paths, backpropagate rewards, and summarize multiple feasible answers.
- Utilize a memory-augmented, plug-and-play architecture compatible with various foundation models and video applications.
Experimental results
Research questions
- RQ1How can we effectively convert dynamic video content into task-relevant symbolic memory for reasoning?
- RQ2Can an MCTS-based planner efficiently explore a large planning space of sub-task tool executions in dynamic video tasks?
- RQ3Does incorporating external knowledge improve factual correctness in video-based reasoning beyond the LLM’s internal knowledge?
- RQ4How does the proposed DoraemonGPT perform on dynamic-video reasoning benchmarks compared to existing LLM-driven and supervised models?
Key findings
- DoraemonGPT achieves competitive results on NExT-QA, outperforming ViperGPT in several metrics (e.g., causal/temporal/descriptive reasoning).
- On NExT-QA s_val, DoraemonGPT scores 52.3 (Acc_C), 45.7 (Acc_T), 64.0 (Acc_D), averaging 54.0, and Acc_A of 54.0.
- The MCTS planner with task-related memory enables exploring multiple feasible solutions, improving accuracy as N increases (e.g., from 1 to 4 solutions).
- Combining space-dominant and time-dominant memories yields the best performance, confirming the need for both memory types for dynamic questions.
- DoraemonGPT demonstrates robustness in in-the-wild scenarios by integrating external knowledge and summarizing multiple intermediate results.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.