ControlLLM: Augment Language Models with Tools by Searching on Graphs
Zhaoyang Liu Affiliation: The Hong Kong University of Science and Technology Affiliation: OpenGVLab, Shanghai AI Laboratory Zeqiang Lai Zhangwei Gao Affiliation: OpenGVLab, Shanghai AI Laboratory Erfei Cui Affiliation: OpenGVLab, Shanghai AI Laboratory Ziheng Li Affiliation: Tsinghua University Xizhou Zhu Affiliation: OpenGVLab, Shanghai AI Laboratory Affiliation: Tsinghua University Lewei Lu Affiliation: SenseTimehttps://github.com/OpenGVLab/ControlLLM Qifeng Chen Yu Qiao Affiliation: OpenGVLab, Shanghai AI Laboratory Jifeng Dai Affiliation: OpenGVLab, Shanghai AI Laboratory Affiliation: Tsinghua University Wenhai Wang
Abstract
We present ControlLLM, a novel framework that enables large language models (LLMs) to utilize multi-modal tools for solving complex real-world tasks. Despite the remarkable performance of LLMs, they still struggle with tool invocation due to ambiguous user prompts, inaccurate tool selection and parameterization, and inefficient tool scheduling. To overcome these challenges, our framework comprises three key components: (1) a task decomposer that breaks down a complex task into clear subtasks with well-defined inputs and outputs; (2) a Thoughts-on-Graph (ToG) paradigm that searches the optimal solution path on a pre-built tool graph, which specifies the parameter and dependency relations among different tools; and (3) an execution engine with a rich toolbox that interprets the solution path and runs the tools efficiently on different computational devices. We evaluate our framework on diverse tasks involving image, audio, and video processing, demonstrating its superior accuracy, efficiency, and versatility compared to existing methods.
原文 arXiv:2310.17796;中英对照 + 大白话阅读 https://aha.fim.ai/paper/2310.17796v3