Manuscript Offprint

arXiv:2609.06671

Tracking the Moving Frontier: Long-Short Term Advantage Estimator

Xinhao Yao, Lu Yu, Changhao Wang, Fengwei Teng, Yuyao Zhang, Qing Cui, Jun Zhou, Yong Liu

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

Abstract

Group-based RLVR methods estimate advantages by repeatedly sampling multiple trajectories for each prompt, making long-horizon agent training expensive and discarding useful experience accumulated across iterations. We ask whether historical experience can replace these repeated within-iteration comparisons without directly optimizing on stale trajectories. We introduce Long-Short Term Advantage Estimator (LSTAE), a single-stream RL algorithm that uses history for advantage estimation while updating the policy only with the current rollout. LSTAE maintains a persistent tracker for each task anchor. At the trajectory level (long term), a drift-aware historical baseline tracks the anchor's moving success frontier and measures the relative contribution of each new trajectory. At the step level (short term), a recent state-experience buffer exploits recurrent states to estimate localized action advantages. This two-timescale design converts accumulated experience into multi-granular credit signals, requiring only one rollout per anchor. Across agentic and mathematical reasoning benchmarks, LSTAE matches or improves upon strong group-based baselines while substantially reducing rollout cost.

1 Introduction

Grounded in rich pre-trained semantic knowledge, autonomous agents based on large language models (LLMs) are increasingly applied to a broad spectrum of tasks. Promising results have been reported in areas like web navigation (Zhou et al., 2024; Wu et al., 2025b,a; Ning et al., 2026), embodied control (Shridhar et al., 2021), and multi-turn tool usage (Yao et al., 2024; Wang et al., 2024b). Operating in these multi-turn scenarios demands that LLM agents possess not only deep language understanding but also advanced long-horizon planning and decision-making abilities. As we move into the "experience era" (Silver and Sutton, 2025), Reinforcement Learning with Verifiable Rewards (RLVR) is utilized as a key method for building more robust and adaptive language agents. This paradigm enables agents to improve through interaction with environments and by bootstrapping from accumulated experiences (Schulman et al., 2017; Chen et al., 2025b; Agrawal et al., 2026).

Currently, the predominant RLVR methodology is the "group-based" paradigm, exemplified by GRPO (Shao et al., 2024) and its variants (Yu et al., 2025b; Chu et al., 2025b; Yu et al., 2025a; Liu et al., 2025b; Wang et al., 2026). Although such methods have achieved notable success by generating multiple responses per prompt and constructing an on-policy advantage to reduce variance, training LLM agents via reinforcement learning (RL) remains highly challenging in practice. The most fundamental barrier stems from the fact that agentic systems struggle with sparse rewards, brittle adaptation, and low sample efficiency in dynamic, real-world environments. Specifically, (1) Group-based methods are inherently sample-inefficient, as each gradient step necessitates generating multiple trajectories per prompt, which makes the already costly data acquisition even more burdensome. (2) In long-horizon reasoning settings, sparse rewards often induce high variance in advantage estimates, which destabilizes the learning signal. For example, Shang et al. (2025) and Yao et al. (2025) find that even trajectories with incorrect intermediate tool calls can receive positive reward if the final outcome is correct, thereby inadvertently reinforcing the model to perceive such errors as acceptable. (3) Furthermore, existing techniques are unable to effectively accumulate and leverage historical experience. For instance, multiple studies (Zhang et al., 2025c,e) demonstrate that early experience can exert a continuous influence on model performance throughout RL training.

To address these challenges, we propose LSTAE,

∗^{*}Work done during an internship at Ant Group.

Figure

History estimates advantages; only the current rollout contributes to the policy update.

Figure 1: Overview of LSTAE. Each data point xx acts as an anchor, for which a historical experience tracker estimates the multi-level advantages of associated responses by utilizing a dual framework of long-term (trajectory-level) and short-term (step-level) historical experience. For more detailed information, please refer to Section 3.

a novel single-stream RL algorithm that incorporates a two-dimensional credit assignment mechanism, designed to enable more efficient and effective training of LLM agents. More specifically, (i) Chen et al. (2025b,a) show that maximum entropy is attained in a per-prompt group when successes and failures are balanced—a condition that yields the greatest information gain for credit assignment. It follows that different tasks are expected to contribute unevenly to model training. Accordingly, for each data point (i.e., input prompt or task instruction) xx, which serves as an anchor, we maintain a historical experience tracker. This tracker estimates multi-level advantages of its associated responses through a dual framework incorporating both long-term (trajectory-level) and short-term (step-level) historical experience (Figure 1).

(ii) For trajectory-level advantages (Section 3.1), which represent the coarse-grained components. Given that over-exploitation of certain anchors (i.e., limited exploration and early deterministic policies can impede scaling (Yu et al., 2025b; Cui et al., 2025)), our ideal training objective is to maximize the exploration of diverse answers and their reasoning traces while simultaneously rewarding answer correctness. This problem is well-established in RL, where a typical solution is to allocate an exploration bonus inversely scaled by

historical visitation counts (Azar et al., 2017; Song et al., 2025; Xu and Ding, 2025). Motivated by this, we sustain a per-anchor exploration bonus that is adaptively adjusted based on long-term historical success-failure data. This design helps preserved diversity in the agent's reasoning trajectories throughout long-term interactions.

(iii) For step-level advantages (Section 3.2), which provide the fine-grained signals. Because RLVR modifies only a small subset of parameters, the model undergoes no substantial changes in the short term (Zhu et al., 2025a). Meanwhile, within the historical trajectories—which originate from the same anchor and identical initial conditions—many environment states recur naturally across trajectories and even across time steps within a single trajectory (Feng et al., 2025). To leverage this short-term state redundancy, we introduce a per-anchor state experience buffer for step-level learning. Identical states within the buffer are identified and grouped to support dynamic step-level advantage estimation. LSTAE leverages these step-level groups to assign localized credit to actions according to their expected performance at common states. We further extend Global Advantage Normalization (Andrychowicz et al., 2021; Hu et al., 2025) to the step level to mitigate potential advantage estimation bias (see

Theorem 1 for theoretical analysis).

LSTAE thereby allows for more precise policy optimization while avoiding the prohibitive cost of additional rollouts. To systematically evaluate the efficacy of LSTAE (Section 4): (a) We first conduct experiments on two challenging agentic benchmarks: ALFWorld (Shridhar et al., 2021) and WebShop (Yao et al., 2022a). The results show that LSTAE achieves clearly superior overall performance through stable optimization, significantly outperforming existing baselines under the same computational constraints. (b) We also demonstrate the capability of LSTAE on broader mathematical reasoning tasks. At a significantly reduced computational cost, LSTAE matches or exceeds baseline performance. These demonstrate that independently processing each data anchor during post-training is both effective and efficient.

References (53)