DoraemonGPT:利用大型语言模型理解动态场景(以视频智能体为例)
DoraemonGPT: Toward Understanding Dynamic Scenes with Large Language Models (Exemplified as A Video Agent)
AI总结:
本文提出DoraemonGPT,一个由LLM驱动的视频智能体系统,通过符号记忆、即插即用工具和基于蒙特卡洛树搜索的规划器,解决动态场景理解问题,并在多个基准测试中验证了其有效性。
摘要:
近期由LLM驱动的视觉智能体主要专注于解决基于图像的任务,这限制了它们理解动态场景的能力,使其难以应用于指导学生进行实验室实验并识别其错误等现实生活场景。因此,本文探索了DoraemonGPT,这是一个由LLM驱动、用于理解动态场景的全面且概念优雅的系统。考虑到视频模态能更好地反映现实场景不断变化的本质,我们将DoraemonGPT作为视频智能体进行示范。给定一段视频及一个问题/任务,DoraemonGPT首先将输入视频转换为存储任务相关属性的符号记忆。这种结构化表示允许通过精心设计的子任务工具进行时空查询和推理,从而产生简洁的中间结果。认识到LLM在专业领域(例如分析实验背后的科学原理)的内部知识有限,我们引入了即插即用工具来评估外部知识并处理跨领域的任务。此外,还引入了一种基于蒙特卡洛树搜索的新型LLM驱动规划器,以探索用于调度各种工具的庞大规划空间。该规划器通过反向传播结果的奖励迭代地寻找可行解,并可将多个解总结为改进后的最终答案。我们在三个基准测试和多个真实场景中广泛评估了DoraemonGPT的有效性。代码将发布于https://github.com/z-x-yang/DoraemonGPT。
英文摘要:
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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。