Group-Graph Policy Optimization for Long-Horizon Agentic Reinforcement Learning

Yunan Wang, Minghui Song, Zihan Zhang, Shaohan Huang, Haizhen Huang +4 more
6/22/2026
cs.LGcs.AIcs.CL

No official code found. Best implementation: Nala-YN/G2PO (10 stars, Apache-2.0, last commit 2026-06-11).

Abstract

Group-based Reinforcement Learning (RL) has significantly enhanced Large Language Models (LLMs) in agentic scenarios. To achieve finer-grained policy updates, recent agentic RL frameworks have shifted from trajectory-level to step-level training. However, long-horizon agentic RL suffers from severe reward sparsity and delay, as feedback is often deferred for dozens of interaction steps. While existing step-level frameworks refine training granularity, their credit assignment remains coarse-grained and still treats agent exploration as isolated, linear trajectories. This oversimplified perspective ignores the inherent graph structure of state transitions, leading to high-variance state-value estimation and myopic, localized credit assignment. To overcome these critical bottlenecks, we propose Group-Graph Policy Optimization (G2PO), a novel group-based RL algorithm tailored for multi-turn agentic tasks. G2PO explicitly transforms linear interaction trajectories into a global state-transition graph. By aggregating identical observations across different trajectories, we introduce group-aggregation state-value estimation that reduces sampling variance and trajectory-dependent bias. Furthermore, we redefine agent actions as transitions between state nodes and propose an edge-centric advantage estimation strategy. By globally standardizing Temporal Difference (TD) errors across the entire graph, G2PO explicitly identifies and prioritizes critical transitions that drive absolute task progress. Extensive experiments on representative long-horizon benchmarks-WebShop, ALFWorld, and AppWorld-demonstrate that G2PO substantially outperforms state-of-the-art prompt-based and RL baselines, achieving remarkable success rate improvements of up to 22.2% over GRPO.

View on arXivView PDF

Code Implementations(1)

Nala-YN/G2POCommunity61%
Apache-2.0

Official repository for Group-Graph Policy Optimization for Long-Horizon Agentic Reinforcement Learning

102Jun 11, 20264 months agoApache-2.0

Similar Papers

Cite this paper

@article{wang2026groupgraph,
  title  = {Group-Graph Policy Optimization for Long-Horizon Agentic Reinforcement Learning},
  author = {Yunan Wang and Minghui Song and Zihan Zhang and Shaohan Huang and Haizhen Huang and Furu Wei and Weiwei Deng and Feng Sun and Qi Zhang},
  year   = {2026},
  eprint = {2606.22995},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2606.22995v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2606.22995.svg)](https://codeofpaper.com/paper/2606.22995)

Discussion