Demystifying Reinforcement Learning for Long-Horizon Tool-Using Agents: A Comprehensive Recipe
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.
69c20972c105f45cb0481f01
Xixi Wu
claimed_verified
2026-03-24T09:21:36.766Z
6622132f63598534f96ca29d
/avatars/34e61fc3101f8ebce1ef7041f761e108.svg
Xixi Wu
xxwu
user
xxwu
69c20972c105f45cb0481f02
Qianguo Sun
69c20972c105f45cb0481f03
Ruiyang Zhang
69c20972c105f45cb0481f04
Chao Song
69c20972c105f45cb0481f05
Junlong Wu
69c20972c105f45cb0481f06
Yiyan Qi
69c20972c105f45cb0481f07
Hong Cheng
Demystifying Reinforcement Learning for Long-Horizon Tool-Using Agents: A Comprehensive Recipe
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.
Reinforcement learning for large language models requires careful consideration of reward shaping, model scaling, data composition, algorithm selection, and environmental stability to achieve optimal performance in complex multi-turn planning tasks.
reinforcement learning large language models agentic reinforcement learning reward shaping model scaling data composition algorithm selection environmental stability tool orchestration long-horizon planning