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

解析长期任务工具使用强化学习:全面指南

Demystifying Reinforcement Learning for Long-Horizon Tool-Using Agents: A Comprehensive Recipe

The Chinese University of Hong Kong(香港中文大学);IDEA Research(IDEA研究院);University of Macau(澳门大学)

Xixi Wu, Qianguo Sun, Ruiyang Zhang, Chao Song, Junlong Wu, Yiyan Qi, Hong Cheng

AI总结:

本文通过TravelPlanner测试环境,系统研究了强化学习在复杂多轮任务中的应用,提出7条关键发现,包括奖励设计、模型规模、数据组成等五个维度,最终实现超越领先LLM的性能。

摘要:

强化学习(RL)对于将大型语言模型(LLMs)发展为能够进行长期规划的自主代理至关重要,但在复杂、多轮环境中扩展RL仍缺乏实用方法。本文通过TravelPlanner测试环境,系统研究了强化学习在复杂多轮任务中的应用,分解了代理RL设计空间的五个维度:奖励塑造、模型规模、数据组成、算法选择和环境稳定性。我们的受控实验得出7条关键发现,例如(1)奖励和算法选择是规模依赖的,较小模型受益于分阶段奖励和增强探索,而较大模型则能高效收敛于更简单的密集奖励;(2)约1000个训练样本,平衡难度混合,是域内和域外性能的黄金点;(3)环境稳定性对防止策略退化至关重要。基于我们的提炼指南,我们的RL训练模型在TravelPlanner上实现了最先进的性能,显著优于领先LLM。

英文摘要:

Reinforcement Learning (RL) is essential for evolving Large Language Models (LLMs) into autonomous agents capable of long-horizon planning, yet a practical recipe for scaling RL in complex, multi-turn environments remains elusive. This paper presents a systematic empirical study using TravelPlanner, a challenging testbed requiring tool orchestration to satisfy multifaceted constraints. We decompose the agentic RL design space along 5 axes: reward shaping, model scaling, data composition, algorithm selection, and environmental stability. Our controlled experiments yield 7 key takeaways, e.g., (1) reward and algorithm choices are scale-dependent as smaller models benefit from staged rewards and enhanced exploration, whereas larger models converge efficiently with simpler dense rewards, (2) ~ 1K training samples with a balanced difficulty mixture mark a sweet spot for both in-domain and out-of-domain performance, and (3) environmental stability is critical to prevent policy degradation. Based on our distilled recipe, our RL-trained models achieve state-of-the-art performance on TravelPlanner, significantly outperforming leading LLMs.

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

↑