arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2510.25320cs.AIcs.CL
收藏

GAP:结合并行工具使用与强化学习的基于图的智能体规划

GAP: Graph-Based Agent Planning with Parallel Tool Use and Reinforcement Learning

Tsinghua University(清华大学);Huazhong University of Science and Technology(华中科技大学);National University of Singapore(新加坡国立大学);Carnegie Mellon University(卡内基梅隆大学)

Jiaqi Wu, Qinlao Zhao, Zefeng Chen, Kai Qin, Yifei Zhao, Xueqian Wang, Yuhang Yao

AI总结:

针对现有LLM智能体串行工具调用效率低的问题,提出基于图的规划框架GAP,通过两阶段训练实现并行与串行工具自适应编排,在MHQA基准上准确率和工具调用效率均优于ReAct基线。

摘要:

由大语言模型(LLM)驱动的自主智能体在工具操控以解决复杂任务方面已展现出令人瞩目的能力。然而,ReAct等现有范式依赖串行推理与执行,未能挖掘独立子任务间固有的并行性。这种串行瓶颈会导致工具利用效率低下,且在多步推理场景中表现欠佳。我们提出了基于图的智能体规划(Graph-based Agent Planning,GAP),这是一种全新框架,通过基于图的规划显式建模任务间依赖关系,以实现自适应的并行与串行工具执行。我们的方法训练智能体基础模型将复杂任务分解为具备依赖感知的子任务图,自主判定哪些工具可并行执行、哪些必须遵循串行依赖关系。这种具备依赖感知的编排方式在执行效率和任务准确率两方面均实现了大幅提升。为训练GAP,我们构建了一个高质量的基于图的规划轨迹数据集,该数据集源自多跳问答(Multi-Hop Question Answering,MHQA)基准。我们采用两阶段训练策略:先在整理后的数据集上进行监督微调(supervised fine-tuning,SFT),随后在策略性采样的查询上使用基于正确性的奖励函数进行强化学习(reinforcement learning,RL)——这类查询中基于工具的推理能发挥最大价值。在MHQA数据集上的实验结果表明,GAP显著优于传统ReAct基线,尤其在多步检索任务上表现突出,同时通过智能并行化大幅提升了工具调用效率。项目页面可访问:https://github.com/WJQ7777/Graph-Agent-Planning。

英文摘要:

Autonomous agents powered by large language models (LLMs) have shown impressive capabilities in tool manipulation for complex task-solving. However, existing paradigms such as ReAct rely on sequential reasoning and execution, failing to exploit the inherent parallelism among independent sub-tasks. This sequential bottleneck leads to inefficient tool utilization and suboptimal performance in multi-step reasoning scenarios. We introduce Graph-based Agent Planning (GAP), a novel framework that explicitly models inter-task dependencies through graph-based planning to enable adaptive parallel and serial tool execution. Our approach trains agent foundation models to decompose complex tasks into dependency-aware sub-task graphs, autonomously determining which tools can be executed in parallel and which must follow sequential dependencies. This dependency-aware orchestration achieves substantial improvements in both execution efficiency and task accuracy. To train GAP, we construct a high-quality dataset of graph-based planning traces derived from the Multi-Hop Question Answering (MHQA) benchmark. We employ a two-stage training strategy: supervised fine-tuning (SFT) on the curated dataset, followed by reinforcement learning (RL) with a correctness-based reward function on strategically sampled queries where tool-based reasoning provides maximum value. Experimental results on MHQA datasets demonstrate that GAP significantly outperforms traditional ReAct baselines, particularly on multi-step retrieval tasks, while achieving dramatic improvements in tool invocation efficiency through intelligent parallelization. The project page is available at: https://github.com/WJQ7777/Graph-Agent-Planning.

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

↑