arXiv:2611.24697cs.AINov 2026

Manuscript Offprint

arXiv:2611.24697

Depth Before Breadth: Reverse-to-Forward Curriculum with Advantage Decomposition for LLM Agent

Siyuan Du, Yuxin Liu, Meng Tang, Haoran Li, Yechao Bai, Feiyang Pan, Jia He

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Reinforcement learning (RL) has become a common approach for training large language model (LLM) agents on long-horizon tasks. However, learning from sparse terminal rewards makes credit assignment and exploration difficult. We approach these challenges through a policy-induced capability region, the set of states from which the current policy can reliably complete a task. Near its boundary, an agent may need only a few actions to reach a more solvable state, even when the goal remains distant. This reduces long-horizon learning to two coupled subproblems of reaching that state and completing the task from there. We address them with paired advantages and a progressive reverse-to-forward curriculum. The advantages provide separate signals for reaching more solvable states and completing the task from them, while the curriculum expands the capability region backward along successful reference trajectories and then into off-reference states through on-policy exploration. On ALFWorld and WebShop, our method outperforms competitive agentic RL methods at both model scales, achieving success rates of 90.1%/96.1%90.1\%/96.1\% and 80.2%/82.6%80.2\%/82.6\% with Qwen2.5-1.5B/7B-Instruct, respectively.

1 Introduction

Large language models (LLMs) (Achiam et al., 2023; Grattafiori et al., 2024; Liu et al., 2024) are increasingly deployed as agents that interact with external environments on behalf of users (Yao et al., 2023; Wang et al., 2023). Moving beyond traditional single-turn generation, these agents operate through a stateful, sequential decision process where each action continuously adapts to evolving observations. Reinforcement learning (RL) has emerged as the dominant paradigm for training such interactive agents(Zhou et al., 2024; Qi et al., 2025; Wang et al., 2025; Xi et al., 2025), with group-based policy gradient methods, particularly Group Relative Policy Optimization (GRPO)(Shao et al., 2024), fast becoming the prevailing standard (Feng et al., 2025; Zheng et al., 2025). However, scaling these algorithms to long-horizon agent tasks remains bottlenecked by reward sparsity (Andrychowicz et al., 2017; Jin et al., 2025; Yu et al., 2026). All failed rollouts produce no learning signal at any step, and even successful ones deliver only a single terminal reward that has to be attributed across the entire trajectory. This sparse feedback makes credit assignment particularly challenging as LLM agents navigate vast action spaces and diverse tasks through partially observable environments with textual observations.

To address reward sparsity, a standard strategy is to reshape the training distribution through curriculum learning, which exposes the policy to simpler tasks before introducing progressively harder ones (Bengio et al., 2009; Narvekar et al., 2020). Reverse curriculum strategies operationalize this principle by initializing the agent near the goal and incrementally pushing the starting state farther back (Florensa et al., 2017). Recent LLM agent work adopts a reference-anchored variant (Zhang and Yang, 2026). Instead of sampling start states by random walks, the start regresses backward along a successful reference trajectory, so the policy first masters local execution near the goal and is only later asked to complete the task from the original start (Resnick et al., 2018; Tao et al., 2024).

However, reverse curriculum leaves a structural credit assignment problem unresolved. Although initializing closer to the goal allows terminal feedback to be attributed more precisely to individual actions, moving the starting point farther back stretches the trajectory, forcing the same coarse feedback to be distributed over a longer sequence. Consequently, isolating early actions that genuinely drove the outcome remains difficult (Arjona-Medina et al., 2019; Pignatelli et al., 2023). A separate limitation is that reverse curriculum starts are anchored to reference trajectories, limiting exposure to the off-reference states encountered during the policy’s own exploration (Ross et al., 2011).

Figure 1: The three curves show Pass@1 at checkpoints 20, 40, 60 in reverse curriculum training , as the training start moves backward along a successful reference trajectory from near the goal toward the original task start. Defining the capability region on this trajectory as starting positions with Pass@1 above 80%80\%, we observe that this region also expands toward the original start. By ckp60, its new boundary reaches approximately 60%60\% remaining steps.

Our key insight is that moving the training start backward also expands the policy’s capability region toward the original start. As Figure 1 shows, later checkpoints in reverse curriculum achieve high success from states progressively farther from the goal along the reference trajectory. A newly introduced starting state near this boundary can still be far from the goal, yet only a few actions away from a state within the policy’s existing capability region. We exploit this structure by splitting credit assignment into two subproblems: (i) how to enter the capability region from a state just outside it, a short-horizon problem; and (ii) how to complete the task from the state reached inside it, a longer-horizon problem that earlier training has already partially addressed. The same decomposition can then be applied to states near the capability boundary encountered in the policy’s own rollouts, extending training beyond the reference trajectory.

We operationalize this decomposition through a Paired Advantage (PA) update. For each training group, we sample prefixes from a starting state near the capability boundary, group them by their endpoints, and sample multiple suffixes from each distinct endpoint. The left advantage compares estimated completion rates across prefix endpoints, crediting prefixes that reach states the policy can solve more reliably and thereby guiding it into the capability region. The right advantage compares suffix outcomes from the same endpoint to identify which continuations lead to task completion. The suffix outcomes thus provide both the endpoint estimates used for prefix credit and the comparisons used for suffix credit. We apply this update in two stages. The reverse stage establishes the capability region along successful reference trajectories, moving training starts backward from near the goal until the original starts become reliably solvable for most tasks. The forward stage then broadens the region beyond those trajectories by training on states reached through prefixes sampled by the policy from the original starts. Our contributions are threefold:

  • We introduce a policy-induced capability region view of reverse curriculum training. It reveals a short horizon problem of entering the region within a long horizon task.
  • We propose a paired advantage method with a reverse-to-forward curriculum. Using terminal rewards alone, it compares completion rates across prefix endpoints to guide entry into the capability region and compares suffix outcomes from the same endpoint to improve task completion.
  • Comprehensive experiments on ALFWorld(Shridhar et al., 2021) and WebShop (Yao et al., 2022) show that our method outperforms strong baselines and achieves a larger capability region under matched environment interaction budgets.

References (44)