TensorX
返回文献探索

Paper · arXiv 2310.17796

ControlLLM: Augment Language Models with Tools by Searching on Graphs

Zhaoyang Liu, Zeqiang Lai, Zhangwei Gao, Erfei Cui, Xizhou Zhu, Lewei Lu, Qifeng Chen, Yu Qiao, Jifeng Dai, Wenhai Wang

18 upvotesOctober 26, 2023arXiv 预印本
AI 摘要

ControlLLM enhances large language models by integrating multi-modal tools through task decomposition, optimal solution path finding, and efficient tool execution, achieving superior performance in diverse tasks.

large language modelsmulti-modal toolstask decomposerThoughts-on-Graphtool graphexecution engineimage processingaudio processingvideo processing

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.

北京市昌平区探索星信息技术及软件开发工作室

京ICP备2026059466号
ControlLLM: Augment Language Models with Tools by Searching on Graphs | TensorX