TL;DR
Instead of trying to fix sparse rewards in long-horizon LLM agent training by using expensive, data-scarce Supervised Fine-Tuning (SFT), this paper introduces Feedback-Enriched Environments (FEEs). By dynamically shifting from direct action guidance to rich observation feedback during reinforcement learning, FEEs stabilize training, boost exploration, and help agents internalize complex environment dynamics directly into their policy weights.
What Problem Does This Paper Address?
When training Large Language Models (LLMs) to act as autonomous agents in long-horizon tasks (like multi-turn tool use or complex science experiments), standard Reinforcement Learning (RL) faces a massive hurdle: severe reward sparsity. Because a task might require dozens of correct sequential steps to succeed, an agent exploring blindly almost always receives a reward of zero, leaving the policy with no gradient signal to learn from.
The traditional workaround is "agent-side warming up" via SFT on expert trajectories. However, gathering high-quality expert data is expensive and hard to scale. Furthermore, over-optimizing on SFT data can constrain the agent's behavior, killing the creative exploration needed for robust RL. This paper proposes a paradigm shift: instead of changing how we initialize the agent, why not adapt the environment to act as a scaffold for learning?
Methods
The authors introduce Feedback-Enriched Environments (FEEs), which systematically diversify and enrich environmental feedback signals during RL training. They break feedback design down into two core dimensions:
- What to provide:
- Action Guidance (AG): Procedural hints or suggestions for immediate next steps that prune irrelevant search paths.
- Observation Enrichment (OE): Supplementary semantic information that exposes hidden environment states (e.g., tracking task progress or explaining tool failures).
- When to provide it:
- Intra-episode exploration: Step-wise timing within a single trajectory.
- Inter-episode evolution: Timing across the entire training lifecycle.
Through a pilot study, the authors discovered an optimal hybrid strategy: AG-Early & OE-Late. Action guidance is leveraged early in both interaction steps and training phases to bootstrap exploration. As the agent gains proficiency, the environment transitions to observation enrichment to refine advanced policy reasoning.
The framework is evaluated across three modern group-based RL algorithms: Group Relative Policy Optimization (GRPO), Decoupled Clip and Dynamic Sampling Policy Optimization (DAPO), and Group Sequence Policy Optimization (GSPO).
Datasets
The strategy was validated using two primary benchmarks:
- SciWorld: A text-based virtual environment evaluating an agent's ability to conduct elementary science experiments.
- BFCL-v3 Multi-Turn (Berkeley Function Calling Leaderboard): A benchmark assessing complex, multi-turn tool invocation across domains like Vehicle Control, Trading Bots, Travel Booking, and the Gorilla File System.
Key Insights and Ideas
- The Cognitive Load Trade-off: Action guidance explicitly narrows the search space, making it perfect for early-stage learning. Observation enrichment, however, imposes a higher cognitive load because the agent must map new semantic features to optimal actions via causal reasoning—making it highly potent only after the agent masters basic navigation.
- Entropy Stabilization: RL training often suffers from premature policy collapse, where policy entropy drops sharply to zero. FEEs act as a stabilizer, maintaining steady policy diversity and smoothing convergence even without explicit entropy regularization.
- True Internalization: A common fear with environmental scaffolding is that the agent will become dependent on it. Probing experiments revealed that FEE-trained agents actually internalize the enriched knowledge directly into their policy weights, allowing them to perform better even when evaluated in standard environments without hints.
- The Boundary of Consistency: In group-based RL, keeping feedback identical for all agents within a single rollout group (intra-group consistency) is vital. Introducing stochastic feedback variations within the same sampling group distorts advantage estimations, leading to severe training instability.
Key Results
Training agents in FEEs consistently outperformed standard environments across various model scales (Qwen3-4B and Qwen3-8B) and RL algorithms, yielding an average absolute performance improvement of 2.82%.
- SciWorld: The Qwen3-8B model optimized via GSPO improved its success rate from 53.91% to 60.94%.
- BFCL-Base: The Qwen3-4B model using GRPO achieved a 10.00% absolute performance jump.
- Hard Tasks: When evaluated on standard, high-difficulty environments, FEE-trained models achieved a notable 4.3% improvement on "hard" tasks, proving that the learned exploration strategies transfer effectively.
Limitations and Future Work
Despite its success, the authors note a few key limitations:
- Environment-Specific Design: Constructing FEEs currently requires manual, domain-specific engineering to define what constitutes "early" vs. "late" phases.
- Over-reliance Regressions: Proactive guidance can occasionally make agents too compliant. In scenarios where essential information is missing (e.g., BFCL's "Miss Param" tasks), FEE-trained agents sometimes blindly executed commands rather than asking the user for clarification.
- The AppWorld Bottleneck: In exceptionally sparse, ultra-long-horizon benchmarks like AppWorld, FEEs still failed to produce positive rewards, indicating that even richer environment adaptation strategies are required for extreme tasks.
Summary updated