arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2405.19119cs.LG
收藏

图学习能否改善基于 LLM 的智能体中的规划?

Can Graph Learning Improve Planning in LLM-based Agents?

Fudan University(复旦大学);Microsoft Research Asia(微软亚洲研究院);The Chinese University of Hong Kong(香港中文大学);Peking University(北京大学);Washington University, Saint Louis(圣路易斯华盛顿大学)

Xixi Wu, Yifei Shen, Caihua Shan, Kaitao Song, Siwei Wang, Bohang Zhang, Jiarui Feng, Hong Cheng, Wei Chen, Yun Xiong, Dongsheng Li

AI总结:

本文针对基于 LLM 的智能体任务规划,提出将 GNN 与 LLM 结合以弥补其图决策缺陷,实验显示 GNN 方法无需训练即优于现有方案,且图越大增益越显著。

摘要:

随着大型语言模型(LLM)的发展,语言智能体中的任务规划正成为一个重要研究课题。其目标是将自然语言形式的复杂用户请求分解为可解决的子任务,从而完成原始请求。在此背景下,子任务可自然地视为图:节点表示子任务,边表示子任务之间的依赖关系。因此,任务规划是一个决策问题,涉及在相应图中选择一条连通路径或子图并调用它。本文探索基于图学习的任务规划方法,该方向与当前主流的提示设计关注相互正交。我们关注图学习源于一项理论发现:注意力和自回归损失的偏差会阻碍 LLM 在图上有效进行决策,而图神经网络(GNN)能够娴熟地解决这一问题。这一理论洞见促使我们将 GNN 与 LLM 集成,以提升整体性能。大量实验表明,基于 GNN 的方法即使不经训练也优于现有解决方案,而少量训练可进一步提升其性能;任务图规模越大,性能提升越明显。

英文摘要:

Task planning in language agents is emerging as an important research topic alongside the development of large language models (LLMs). It aims to break down complex user requests in natural language into solvable sub-tasks, thereby fulfilling the original requests. In this context, the sub-tasks can be naturally viewed as a graph, where the nodes represent the sub-tasks, and the edges denote the dependencies among them. Consequently, task planning is a decision-making problem that involves selecting a connected path or subgraph within the corresponding graph and invoking it. In this paper, we explore graph learning-based methods for task planning, a direction that is orthogonal to the prevalent focus on prompt design. Our interest in graph learning stems from a theoretical discovery: the biases of attention and auto-regressive loss impede LLMs' ability to effectively navigate decision-making on graphs, which is adeptly addressed by graph neural networks (GNNs). This theoretical insight led us to integrate GNNs with LLMs to enhance overall performance. Extensive experiments demonstrate that GNN-based methods surpass existing solutions even without training, and minimal training can further enhance their performance. The performance gain increases with a larger task graph size.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑