Co-Evolution of Policy and Internal Reward for Language Agents
Organizations: McGill University · McMaster University · The University of Hong Kong · Mila ·
Abstract
Large language model (LLM) agents learn by interacting with environments, but long-horizon training remains fundamentally bottlenecked by sparse and delayed rewards. Existing methods typically address this challenge through post-hoc credit assignment or external reward models, which provide limited guidance at inference time and often separate reward improvement from policy improvement. We propose Self-Guide, a self-generated internal reward for language agents that supports both inference-time guidance and training-time supervision. Specifically, the agent uses Self-Guide as a short self-guidance signal to steer the next action during inference, and converts the same signal into step-level internal reward for denser policy optimization during training. This creates a co-evolving loop: better policy produces better guidance, and better guidance further improves policy as internal reward. Across three agent benchmarks, inference-time self-guidance already yields clear gains, while jointly evolving policy and internal reward with GRPO brings further improvements (8%) over baselines trained solely with environment reward. Overall, our results suggest that language agents can improve not only by collecting more experience, but also by learning to generate and refine their own internal reward during acting and learning.
Figures & tables
Appendix figures & tables10 assets
Supplementary material from the paper’s appendix.
Appendix
| Category | Criterion (ALFWorld & ScienceWorld) |
| Looping | Any action repeated consecutively, or single action of all steps |
| Redundant Exploration | redundant go to revisits, or same object examined times |
| Wrong-Object Focus | Irrelevant object examined times, or pick-ups of non-target objects |
| Category | Criterion (WebShop) |
| Query Looping | Same search query issued times (exact or normalized) |
| Navigation Cycling | back to search clicked times without completing a purchase |
| Premature Purchase | Agent clicks buy now without selecting any required attribute |
| Self-Guidance Model | Score | Success Rate (%) |
| checkpoint 10 | 39.8 | 18.0 |
| checkpoint 40 | 51.2 | 25.0 |
| checkpoint 80 | 60.5 | 27.0 |
RL for LLM Agents
Reinforcement learning for large language model agents trains models to plan, use tools, and adapt through feedback from interactive tasks.
See all 608 papers