arXiv(opens in a new tab)cs.LGSep 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2609.03383

TIGPO: Temporal Instance-Graph Policy Optimization for Long-Horizon LLM Agents

Jinwei Gan

ABSTRACT

Graph-based policy optimization improves credit assignment for long-horizon LLM agents by organizing rollout trajectories into state-transition graphs. However, existing methods construct graphs independently within each policy update, discarding transitions discovered by earlier policies and limiting advantage estimation to small, batch-local rollout groups. We propose Temporal Instance-Graph Policy Optimization (TIGPO), which extends graph-based credit assignment across policy updates. TIGPO maintains a persistent transition graph for each task, allowing valid transitions discovered by different policy versions to jointly determine credit for current rollouts. To actively reconnect current exploration with historical experience, TIGPO allocates a fixed rollout budget between Exploration slots for ordinary task sampling and Revisit slots for delayed reattempts of previously explored tasks. For each revisit, TIGPO pairs the current rollout group with its corresponding earlier Exploration group to construct a cross-temporal reference. The enlarged reference is designed to stabilize relative advantage estimation under small rollout groups, while comparison on the same task directly captures policy improvement across training stages. Historical transitions and scores serve only as structural and detached statistical references and are never replayed in the policy loss. Experiments on ALFWorld and WebShop demonstrate that TIGPO consistently outperforms prior group-based and graph-based policy optimization methods.

1 INTRODUCTION

Large language models (LLMs) have rapidly evolved from static text generators into interactive agents that perceive environment states, reason over observations, and execute actions to accomplish complex goals (Yao et al., 2023). Representative applications include embodied agents operating in simulated households (Shridhar et al., 2021) and web agents navigating e-commerce environments (Yao et al., 2022). Unlike single-turn reasoning, these tasks require an agent to make a sequence of interdependent decisions over a long interaction horizon. Rewards are often sparse and delayed, with success determined only after the entire trajectory is completed. Consequently, assigning credit to individual actions remains a central challenge for reinforcement learning (RL) of LLM agents.

Traditional actor-critic algorithms such as Proximal Policy Optimization (PPO) estimate action advantages using a learned value function (Schulman et al., 2017). More recently, Group Relative Policy Optimization (GRPO) has provided a value-free alternative by estimating relative advantages from groups of sampled outputs (Shao et al., 2024). This group-based paradigm has subsequently been extended to long-horizon agentic tasks. GiGPO introduces episode-level and anchor-state-level groups to obtain more fine-grained relative advantages (Feng et al., 2025). Going beyond trajectory-level rewards, GraphGPO aggregates rollout transitions into a state-transition graph and assigns step-level credit according to graph distances from intermediate states to the task goal (Cheng et al., 2026). These advances substantially improve fine-grained credit assignment without requiring an additional learned value model.

Despite this progress, existing graph-based credit assignment remains batch-local. At each policy update, the transition graph is constructed only from trajectories sampled in the current rollout batch and discarded afterward. Useful transitions discovered at different stages of training therefore cannot be connected. For example, an early policy may discover a promising prefix but fail before reaching the goal, whereas a later policy may discover a successful continuation from an overlapping state. If the two trajectory fragments occur in different policy updates, a batch-local graph cannot recover their connectivity or propagate credit through the resulting path. This limitation is particularly pronounced under small rollout groups, where graph coverage is sparse and relative advantage estimates can be sensitive to individual successful or failed trajectories.

A seemingly direct solution is to retain historical trajectories and replay them during subsequent updates. However, trajectories generated by earlier policies contain stale actions and log-probabilities. Directly including them in the current policy loss can therefore introduce distribution mismatch. Historical experience should instead improve the credit assigned to current-policy rollouts without itself receiving gradients. This motivates the central question of this work: