Environment feedback helps AI learn long tasks more reliably

Environments as Scaffold: Enriching Feedback to Bootstrap Self-Evolving Agents in Long-Horizon Tasks

Machine LearningArtificial IntelligenceComputation and Language

Summary

Long and complex tasks are hard for AI models that learn through trial and error, because they get very little feedback during training. The authors suggest changing the training settings so that the environment gives more helpful clues and observations instead of just judging actions. They tested this idea on science and puzzle benchmarks with different AI models and found it improved learning stability and exploration. Their approach also helps AI models internalize clues deeply rather than relying on hints only when running. This work highlights the importance of consistent feedback for better AI training over many steps.

Large Language ModelsReinforcement Learningreward sparsitysupervised fine-tuningfeedback-enriched environmentslong-horizon taskstraining stabilitystate-space explorationpolicy internalizationentropy volatility

Authors

Hongbang Yuan, Zhuoran Jin, Yixin Cao

Abstract

Large Language Models demonstrate remarkable proficiency in static reasoning, yet training them as autonomous agents through Reinforcement Learning (RL) for long-horizon tasks is often hindered by severe reward sparsity. While conventional \textit{agent-side warming} up via supervised fine-tuning (SFT) can alleviate this, it is frequently limited by data scarcity and constrained exploration. To address this, we propose a paradigm shift to \textit{environment-side adaptation} by constructing \textbf{F}eedback-\textbf{E}nriched \textbf{E}nvironments (\textbf{FEEs}). Through a pilot study, we establish a feedback design strategy that reformulates environments by transitioning from action guidance to observation enrichment during the later stages of both intra-episode exploration and inter-episode evolution. Large-scale experiments on SciWorld and BFCL benchmarks using various Qwen3 model scales and RL algorithms such as GRPO, GSPO, and DAPO demonstrate that FEEs consistently yield performance improvements over standard settings. Furthermore, our analysis reveals that training with FEEs \textbf{(1)} stabilizes training dynamics by reducing entropy volatility, \textbf{(2)} facilitates proactive state-space exploration in difficult tasks, \textbf{(3) }ensures the internalization of environmental guidance into policy weights rather than acting as a mere inference-time prior, and \textbf{(4) }identifies intra-group feedback consistency as a critical boundary for stable optimization.