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

Manuscript Offprint

arXiv:2608.23318

Agent-G2^2: Gaussian Guidance for Agentic Reinforcement Learning

Zixuan Wang, Yanrui Miao, Zhengxi Lu, Teng Pan, Yiwen Qiu, Hongxing Li, Peng Qiu, Ruiqing Zhang, Yongliang Shen

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

Abstract

Hint-based reinforcement learning addresses reward sparsity in long-horizon agentic tasks by retaining a prefix of an expert trajectory before each rollout, letting the policy explore from a state closer to success. Its effectiveness hinges on the guidance depth: how much of the trajectory to keep. Existing methods treat this depth as a deterministic scalar. Scheduled approaches share one value across samples and ignore per-task heterogeneity; per-sample probing estimates it separately at the cost of extra rollouts. We find that useful guidance occupies a band of depths whose informativeness profile is approximately Gaussian around the band center, rather than concentrating at a single optimal point. We propose Agent-G 2^{2}, a Gaussian guidance framework that draws the depth per task from a Gaussian whose center and spread are estimated online from rollouts already collected for policy optimization, requiring no probe rollouts or learned depth predictor. The center combines a global baseline with per-cluster difficulty, and the spread tracks within-cluster variance. We evaluate Agent-G 2^{2} on ALFWorld and WebShop on Qwen2.5-1.5B / 7B-Instruct. Agent-G 2^{2} outperforms the strongest hint-based, hint-free, and Aux-RL baselines on ALFWorld by 2.3 / 3.9 / 7.4 points at under one-third the rollout cost of per-sample probing.

1 Introduction

LLM agents trained with reinforcement learning have made progress on long-horizon decision-making tasks (Shen et al., 2023; Zhang et al., 2026a), including web navigation (Yao et al., 2023a; Zhou et al., 2024a; Deng et al., 2023), embodied control (Ahn et al., 2022; Huang et al., 2022; Wang et al., 2025c), and scientific experimentation (Boiko et al., 2023; Bran et al., 2023). A recurring obstacle is reward sparsity: tasks span dozens

(a) Schedule-based Method

Figure

(b) Probe-based Method

(c) Agent- G2G^{2}

Figure

Per-sample distribution, no extra rollouts

Figure 1: Hint-based RL paradigms across training steps t0,t1,t2t_{0}, t_{1}, t_{2}. (a) Schedule-based: shared dtd_{t} across samples. (b) Probe-based: O(log⁡n)O(\log n) per-sample probes. (c) Agent- G2G^{2} (ours): di∼N(μt,σt2)d_{i} \sim \mathcal{N}(\mu_{t}, \sigma_{t}^{2}) per task, estimated online from existing rollouts.

of sequential decisions, yet only a binary signal is issued at termination, and on-policy exploration from the initial state rarely reaches a successful terminal state. Hint-based RL mitigates this obstacle by retaining a prefix of an expert trajectory before each rollout, so the policy explores from a state closer to success (Xi et al., 2024a; Zhang et al., 2025a; Su et al., 2025), directly addressing advantage collapse in GRPO-style training (Zhang et al., 2025b; Wang et al., 2025b; Li et al., 2025).

The effectiveness of hint-based RL depends critically on the guidance depth: how much of the expert trajectory to retain. Too little guidance leaves few successful rollouts; too much saturates the reward and eliminates the contrast needed for advantage estimation. Despite this sensitivity, existing methods uniformly treat depth as a deterministic scalar, differing only in how they select it (Fig-

∗^{*} Equal contribution.

†^{\dagger} Corresponding author.

ure 1). Schedule-based methods (Xi et al., 2024a; Guo et al., 2025; Huang et al., 2026) derive one depth from the training step or batch-level feedback and share it across all samples, ignoring per-task heterogeneity. Per-sample methods (Su et al., 2025; Zhang et al., 2025b; Li et al., 2025; Zhang et al., 2025a) estimate a separate depth through binary search or enumeration, but pay O(log⁡n)O(\log n) extra rollouts per sample or N×N \times the rollout budget. Moreover, these methods have been developed almost exclusively on mathematical reasoning, where tasks share uniform structure; agentic tasks present a different challenge, as difficulty varies widely within a single batch (e.g., a two-step "Pick" vs. a twenty-step "Pick Two" in ALFWorld) (Tu et al., 2026; Lian et al., 2026b; Li et al., 2026; Chen et al., 2026).

Our diagnostic in Section 2 quantifies both failure modes: shared-depth schedulers place over 60% of assignments outside the informative band (Figure 2(a)), while per-sample probing reduces this mismatch only by spending extra rollouts that remain too noisy under a GRPO-matched budget (Figure 2(b)). Both families share a deeper assumption: that one optimal depth exists per task, and the goal is to pinpoint it. Our analysis in Section 2 reveals that this assumption is mismatched to the problem structure: informative depths form a band around the optimal point, with a training-signal profile that is unimodal, approximately symmetric, and well fit by a Gaussian ( σ=0.22\sigma=0.22, R2=0.92R^{2}=0.92; Figure 3(b)). The right guidance depth is not a point to be found, but a neighborhood to be covered.

This observation motivates Agent-G 2^{2}, a Gaussian guidance framework for hint-based RL on long-horizon agentic tasks. Agent-G 2^{2} models guidance depth as a per-task Gaussian whose center and spread are estimated online through a global-local decomposition: a global baseline tracks the policy’s overall progress, while per-cluster statistics adjust the center by task difficulty and widen the spread to match within-cluster variance. For each task, one depth is drawn from its cluster’s Gaussian and converted to a prefix length shared by all rollouts. The same rollouts that update the policy also refresh the Gaussian parameters, achieving per-task depth variation at no extra rollout cost.

We evaluate Agent-G 2^{2} on ALFWorld and WebShop with Qwen2.5-1.5B-Instruct and Qwen2.5-7B-Instruct. On ALFWorld, Agent-G 2^{2} reaches 95.3% overall success at 1.5B and 98.4% at 7B, improving over the strongest hint-based RL base-

Figure

(a) Long-horizon guidance

(b) Rollout cost

Figure 2: Scalar-depth schedulers misallocate guidance. (a) Shared-depth schedulers keep fewer than half of assignments in-range; (b) per-sample probing lowers the mismatch ratio ρ\rho only by spending extra rollouts.

line by 1.5 and 2.3 points and over the strongest hint-free RL baseline by 3.9 points at both scales. On WebShop, Agent-G 2^{2} obtains a 92.3 reward score at both scales, with 78.9% and 84.4% final-purchase success. These gains hold across benchmarks, model scales, and horizon groups, without the probe-rollout overhead of per-sample search.

In summary, our contributions are as follows:

• We reveal the neighborhood structure of guidance depth: informative depths form a band with approximately Gaussian training-signal profile, explaining the structural failure modes of both shared-depth schedulers and per-sample probing.

• We propose Agent-G 2^{2}, a Gaussian guidance framework that estimates the per-task depth distribution online from rollout statistics via a global-local decomposition, requiring no probe rollouts or learned depth predictor.

• On ALFWorld and WebShop with Qwen2.5-1.5B / 7B-Instruct, we show that Agent-G 2^{2} consistently outperforms the strongest non-probing hint-based, hint-free, and Aux-RL baselines on both benchmarks, at under one-third the rollout cost of per-sample probing.

References (48)