TL;DR
RSIPO (Recursive Self-Improving Policy Optimization) is a new framework for agentic reinforcement learning that allows a model to simultaneously improve its task execution and its ability to generate helpful "skills"—natural language strategies derived from successful attempts. By using trajectory replays to measure the actual utility of these skills and applying empirical Bayes to calibrate trust in teacher guidance, RSIPO achieves state-of-the-art performance on complex benchmarks like ALFWorld and multi-hop search tasks.
What Problem Does This Paper Address?
Training Large Language Models (LLMs) to act as autonomous agents—reasoning, using tools, and interacting with environments over many turns—is notoriously difficult. A major hurdle is credit assignment: if an agent fails after 50 steps, which specific action was the mistake?
Current state-of-the-art methods often use a hybrid approach:
- RLVR (Reinforcement Learning with Verifiable Rewards): Giving the model a reward based on the final outcome of a trajectory.
- OPSD (On-Policy Self-Distillation): Using a "teacher" (the same model, but given extra "privileged" context like a strategy or "skill") to provide dense, token-level guidance to the "student" policy.
However, the authors identify two critical flaws in existing hybrid methods. First, the "skills" used by the teacher are often static or trained off-policy, meaning they don't evolve as the agent gets smarter. Second, these methods blindly trust the teacher. As shown in the paper's preliminary analysis, a skill-enhanced teacher can actually underperform the student, especially early in training, leading to "unreliable supervision."
Methods
RSIPO introduces a co-evolutionary framework where the policy and its skills improve in tandem. The core innovation is the Execution Check via Trajectory Replay:
- Skill Generation: The model generates a natural language "skill" (a strategy summary) based on a successful rollout it just completed.
- Trajectory Replay: The model then "replays" the same task multiple times, but this time it is conditioned on the new skill.
- Measuring Gain: The authors calculate a Replay Gain—the difference in performance between the skill-enhanced replays and a control group of rollouts without the skill.
- Skill-Policy Co-Evolution: This Replay Gain is used as a reward to train the model's skill-generation capability. If a skill actually helps the model succeed faster or more reliably, the model is rewarded for writing it.
- Trust-Calibrated Distillation: Instead of a fixed weight for the distillation loss, RSIPO uses Empirical Bayes shrinkage on the Replay Gains. This creates a task-specific "trust coefficient." If the skill-enhanced teacher is proven to be more effective for a specific task type, the student relies on it more; if the teacher is unreliable, distillation is downweighted or even disabled.
Datasets
The researchers evaluated RSIPO using Qwen-family models (1.7B to 7B parameters) on two primary benchmarks:
- ALFWorld: A synthetic embodied environment where agents must complete household tasks (e.g., "put two soapbottles in the cabinet") through text-based interaction.
- Search-Based Agentic Tasks: A suite of seven datasets requiring the agent to use a search engine to answer complex questions. This includes single-hop tasks (NQ, TriviaQA, PopQA) and challenging multi-hop reasoning tasks (HotpotQA, 2WikiMultiHopQA, MuSiQue, Bamboogle).
Key Insights and Ideas
- Skills as Functional Tools: In RSIPO, skills are not just passive summaries; they are functional components optimized for their utility in task execution.
- Internalization: A major advantage of this approach is that the model "internalizes" the high-level strategies during training. At test time, the model performs at peak efficiency without needing to generate or see any skills, making it faster and more robust.
- Dynamic Trust is Essential: The paper demonstrates that "blind trust" in a teacher model is a bottleneck. By mathematically calibrating trust based on empirical evidence (replays), the model avoids learning from "noisy" or detrimental guidance.
- Evolutionary Shift: As training progresses, the content of the generated skills shifts from basic formatting rules to sophisticated, multi-step procedural strategies.
Key Results
RSIPO significantly outperformed all baselines, including standard GRPO and recent hybrid methods like SEED.
- ALFWorld: Using Qwen2.5-7B, RSIPO achieved a 98.6% average success rate, representing a 17.4% absolute improvement over standard GRPO and a 2.5% gain over the previous best method (SEED).
- Search Tasks: RSIPO attained the highest average accuracy on Qwen2.5-7B (50.8%) and Qwen3-1.7B (42.6%).
- Ablation Success: Removing either the skill evolution component or the dynamic trust calibration led to a significant drop in performance (3.7% to 5.7% on ALFWorld), proving that the two mechanisms are highly complementary.
Limitations and Future Work
The authors acknowledge two primary limitations:
- Computational Cost: The trajectory replay mechanism requires extra rollouts during training, which increases the overall training time and compute budget.
- Environment Resettability: RSIPO currently relies on environments that can be "reset" to a specific state for the execution check (like simulators or offline search corpora). It is not yet clear how to extend this to non-resettable, "live" environments like real-time web browsing.
Future work will focus on scaling RSIPO to even larger models and exploring its application in collaborative multi-agent scenarios and complex coding tasks.
Summary updated