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

PEARL:多跳工具使用中的计划探索与自适应强化学习

PEARL: Plan Exploration and Adaptive Reinforcement Learning for Multihop Tool Use

Institute of Information Engineering, China(信息工程研究所,中国);School of Cyber Security, University of Chinese Academy of Sciences, China(中国科学院大学网络安全学院,中国)

Qihao Wang, Mingzhe Lu, Jiayue Wu, Yue Hu, Yanbing Liu

AI总结:

PEARL通过两阶段方法提升LLM在多跳工具使用中的规划与执行能力,实现ToolHop 56.5%的成功率。

摘要:

大型语言模型在借助外部工具方面展现出巨大潜力,但在复杂的多轮工具调用中面临显著挑战。它们常常表现出规划能力弱、工具幻觉、参数生成错误以及鲁棒交互困难等问题。为解决这些问题,我们提出了PEARL,一种新的框架,以增强LLM在复杂工具使用中的规划和执行能力。PEARL采用两阶段方法:一个离线阶段,代理探索工具以学习有效的使用模式和失败条件;一个在线强化学习阶段。在在线阶段,通过组相对策略优化(GRPO)训练专用的规划器,其精心设计的奖励函数为规划质量提供明确信号。在ToolHop和T-Eval基准测试中,PEARL显著优于现有方法,实现了在ToolHop上的新状态-of-the-art成功率为56.5%,同时保持低调用错误率。我们的工作在解决工具使用中的复杂规划挑战方面取得关键进展,为开发更稳健和可靠的LLM代理做出了贡献。

英文摘要:

Large Language Models show great potential with external tools, but face significant challenges in complex, multi-turn tool invocation. They often exhibit weak planning, tool hallucination, erroneous parameter generation, and struggle with robust interaction. To tackle these issues, we present PEARL, a novel framework to enhance LLM planning and execution for sophisticated tool use. PEARL adopts a two-stage approach: an offline phase where the agent explores tools to learn valid usage patterns and failure conditions, and an online reinforcement learning phase. In the online phase, a dedicated Planner is trained via group Relative Policy Optimization (GRPO) with a carefully designed reward function that provides distinct signals for planning quality. Experiments on the ToolHop and T-Eval benchmarks show PEARL significantly outperforms existing methods, achieving a new state-of-the-art success rate of \textbf{56.5\%} on ToolHop while maintaining a low invocation error rate. Our work marks a key advance in addressing the complex planning challenges of tool use, contributing to the development of more robust and reliable LLM-based agents.

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

↑