Empowering Multi-Turn Tool-Integrated Reasoning with Group Turn Policy Optimization
Yifeng Ding, Hung Le, Songyang Han, Kangrui Ruan, Zhenghui Jin, Varun Kumar, Zijian Wang, Anoop Deoras
TL;DR
This paper tackles the difficulty of training LLMs for multi-turn Tool-Integrated Reasoning (TIR), where traditional trajectory-level rewards yield weak learning signals. It introduces Group Turn Policy Optimization (GTPO), which shifts to turn-level rewards, employs return-based discounts across turns, and uses self-supervised reward shaping derived from code-content similarities to densify learning signals. Empirical results on diverse math benchmarks show GTPO achieves a 3.0% relative improvement over GRPO, with notable gains in AIME 2024, MATH 500, and SVAMP, and ablations confirm the importance of turn-level rewards, discounting, and code-based shaping. The approach demonstrates that fine-grained, turn-aware RL signals and self-supervised shaping can significantly enhance real-world TIR performance, reducing learning stagnation and improving reasoning reliability in LLMs.
Abstract
Training Large Language Models (LLMs) for multi-turn Tool-Integrated Reasoning (TIR) - where models iteratively reason, generate code, and verify through execution - remains challenging for existing reinforcement learning (RL) approaches. Current RL methods, exemplified by Group Relative Policy Optimization (GRPO), suffer from coarse-grained, trajectory-level rewards that provide insufficient learning signals for complex multi-turn interactions, leading to training stagnation. To address this issue, we propose Group Turn Policy Optimization (GTPO), a novel RL algorithm specifically designed for training LLMs on multi-turn TIR tasks. GTPO introduces three key innovations: (1) turn-level reward assignment that provides fine-grained feedback for individual turns, (2) return-based advantage estimation where normalized discounted returns are calculated as advantages, and (3) self-supervised reward shaping that exploits self-supervision signals from generated code to densify sparse binary outcome-based rewards. Our comprehensive evaluation demonstrates that GTPO outperforms GRPO by 3.0% on average across diverse reasoning benchmarks, establishing its effectiveness for advancing complex mathematical reasoning in the real world.
