Agent-G²

Gaussian Guidance for Agentic Reinforcement Learning

Zixuan Wang1,2*, Yanrui Miao1,3*, Zhengxi Lu1, Teng Pan1,2, Yiwen Qiu1, Hongxing Li1, Peng Qiu2,
Ruiqing Zhang2, Yongliang Shen1†

1Zhejiang University    2Baidu Inc.    3Shandong University

*Equal contribution    Corresponding author

EMNLP 2026 Main Conference

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, while 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. Agent-G² 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. On ALFWorld and WebShop with Qwen2.5-1.5B / 7B-Instruct, Agent-G² consistently improves over strong hint-based, hint-free, and auxiliary-RL baselines. It achieves 95.3% / 98.4% success on ALFWorld and a 92.3 reward score on WebShop at both model scales, with 78.9% / 84.4% final-purchase success.

Agent-G² guidance paradigms

Agent-G². Schedule-based methods share one guidance depth across samples, while probe-based methods estimate task-specific depths with extra rollouts. Agent-G² samples per-task guidance from an adaptive Gaussian distribution estimated from existing rollouts.

Highlights

95.3%
ALFWorld success with Qwen2.5-1.5B-Instruct.
98.4%
ALFWorld success with Qwen2.5-7B-Instruct.
92.3
WebShop reward score at both model scales.

Method

Agent-G² pipeline

The Agent-G² framework. Tasks are clustered by difficulty. A global baseline and per-cluster rollout statistics define a task-level Gaussian over guidance ratios. The same GRPO rollouts update both the policy and the next-batch schedule.

Agent-G² operates in four stages:

  1. Cluster tasks. Partition tasks by expert-trajectory length as a simple difficulty signal.
  2. Estimate the Gaussian schedule. Combine a global guidance baseline with cluster-level success and variance statistics.
  3. Sample a prefix depth. Draw one guidance ratio for each task and execute the corresponding expert prefix.
  4. Update policy and schedule. Use GRPO plus prefix supervision for the policy update, and reuse terminal rewards to refresh the schedule.

Main Results

Main results on ALFWorld and WebShop

The main results. Agent-G² consistently improves long-horizon agent learning across both ALFWorld and WebShop. It achieves strong task-wise success on ALFWorld while matching or surpassing competitive hint-based, hint-free, and auxiliary-RL baselines. On WebShop, Agent-G² remains highly effective at both model scales without relying on extra probe rollouts, showing that adaptive Gaussian guidance can provide task-specific exploration at lower rollout cost.

Analysis

BibTeX

@misc{wang2026agentg2,
  title  = {Agent-G²: Gaussian Guidance for Agentic Reinforcement Learning},
  author = {Zixuan Wang and Yanrui Miao and Zhengxi Lu and Teng Pan and Yiwen Qiu
            and Hongxing Li and Peng Qiu and Ruiqing Zhang and Yongliang Shen},
  year   = {2026},
  note   = {Accepted at EMNLP 2026 Main Conference},
}