TreeAdv: Tree-Structured Advantage Redistribution for Group-Based RL
Lang Cao, Hui Ruan, Yongqian Li, Peng Chao, Wu Ning, Haonan Song, Renhong Chen, Yitong Li
TL;DR
TreeAdv tackles the inefficiencies of GRPO-style group-based RL by making rollouts tree-structured and redistributing rewards at the token level along shared prefixes. By entropy-guided branching and prefix-aware credit assignment, it yields structure-aware advantages that emphasize informative reasoning steps while downweighting redundant ones. Across 10 math-focused benchmarks and diverse Qwen baselines, TreeAdv achieves higher final accuracy with substantially fewer generated tokens and more stable training than GRPO/GSPO. The method offers a practical, drop-in improvement for long-context reasoning in LLMs, improving both efficiency and reliability under existing training budgets.
Abstract
Reinforcement learning with group-based objectives, such as Group Relative Policy Optimization (GRPO), is a common framework for aligning large language models on complex reasoning tasks. However, standard GRPO treats each rollout trajectory as an independent flat sequence and assigns a single sequence-level advantage to all tokens, which leads to sample inefficiency and a length bias toward verbose, redundant chains of thought without improving logical depth. We introduce TreeAdv (Tree-Structured Advantage Redistribution for Group-Based RL), which makes the tree structure of group rollouts explicit for both exploration and advantage assignment. Specifically, TreeAdv builds a group of trees (a forest) based on an entropy-driven sampling method where each tree branches at high-uncertainty decisions while sharing low-uncertainty tokens across rollouts. Then, TreeAdv aggregates token-level advantages for internal tree segments by redistributing the advantages of complete rollouts (all leaf nodes), and TreeAdv can easily apply to group-based objectives such as GRPO or GSPO. Across 10 math reasoning benchmarks, TreeAdv consistently outperforms GRPO and GSPO, while using substantially fewer generated tokens under identical supervision, data, and decoding budgets.
