TL;DR
Skill-R1 introduces a reinforcement learning framework that evolves natural-language "skills" for LLM agents over multiple generations without updating the underlying task model. By training a lightweight skill generator using a novel bi-level GRPO objective, it achieves substantial performance gains on complex, multi-step tasks while remaining fully compatible with closed-source LLMs.
What Problem Does This Paper Address?
Agentic large language models (LLMs) increasingly rely on "skills"—reusable, natural-language procedures that guide planning, tool use, and sub-task decomposition. However, optimizing these skills is highly challenging. Traditional approaches rely on manual prompt engineering, heuristic self-refinement, or fine-tuning the entire task LLM. Fine-tuning is computationally expensive, task-specific, and completely impossible for popular closed-source models like GPT-4 or Claude.
Furthermore, skill optimization isn't a simple one-shot prompt editing problem; it is a recurrent process. A truly effective skill must improve execution quality within the current attempt, and the revision mechanism must successfully turn past successes and failures into an even better skill for the next round. The authors tackle this coupled credit-assignment challenge without modifying the core task model.
Methods
The authors propose Skill-R1, a framework that completely decouples task execution from skill refinement. The main task LLM remains frozen, meaning Skill-R1 can seamlessly wrap around black-box commercial APIs. Instead of updating the task model, Skill-R1 trains a lightweight skill generator ($\pi_\theta$) over multiple generations.
For any given task instance, the process moves through a multi-generation loop:
- The skill generator produces a candidate skill based on the task context and history.
- The frozen task LLM generates a population (group) of rollouts conditioned on this skill.
- An automated verifier scores these rollouts.
- The results are appended to an instance-specific history to guide the next generation.
To train the skill generator effectively across this recurrent loop, the authors introduce a bi-level Group-Relative Policy Optimization (GRPO) objective. It computes two distinct advantage signals:
- Intra-generation advantage: Compares rollouts within the same generation to see which trajectories performed best under the shared skill.
- Inter-generation advantage: Measures whether the newly revised skill actually improved the average population performance compared to the previous generation's skill.
These two signals are combined to optimize the skill generator, driving directional skill evolution rather than heuristic guessing.
Datasets
The framework was evaluated on two rigorous benchmarks requiring multi-step reasoning, tool use, and verifiable rewards:
- GAIA: 165 real-world tasks involving complex multimodal and multi-step reasoning over diverse, heterogeneous sources (PDFs, spreadsheets, web pages).
- WebWalker: 100 tasks focused on multi-hop web navigation and cross-page reasoning.
Key Insights and Ideas
- "Prune then Specialize" Dynamics: Qualitatively, skill evolution follows a distinct structural progression. Early generations compress broad, document-like reference skills into short, executable routines. Subsequent generations focus heavily on recurring failure modes, introducing tight constraints and guardrails.
- Consistency vs. Discovery: The largest performance jumps occur between Generations 1 and 3, where the system discovers how to solve the tasks (driving up absolute accuracy). Generations 4 and 5 primarily improve consistency and reliability, ensuring that a higher percentage of sampled rollouts succeed on already-solvable tasks.
- The Danger of Inference-Only Editing: Without RL training, an LLM editor acting purely via in-context inference tends to overfit to incidental context, often stripping out crucial executable code and leaving brittle, task-specific artifacts. RL training forces the editor to retain transferable, robust structures.
Key Results
Using GPT-4o-mini as the frozen task model and a Qwen-3-4B model as the skill generator, Skill-R1 demonstrated massive improvements over standard baselines:
- GAIA Benchmark: Skill-R1 achieved 41.8% overall accuracy, compared to just 6.1% for the no-skill baseline and 29.7% for standard vanilla GRPO. On the hardest Level 3 tasks, accuracy jumped from 0.0% (baseline) to 38.5%.
- WebWalker Benchmark: Skill-R1 reached 26.0% overall accuracy, outperforming vanilla GRPO (22.0%) and the no-skill baseline (2.0%).
- Monotonic Improvement: The evaluation revealed a clear, steady improvement in both running mean reward and running accuracy across 5 successive generations of skill refinement.
Limitations and Future Work
- Dependence on Verifiable Rewards: Skill-R1 relies on programmatic verifiers to score rollouts. This limits its current application to domains where success can be automatically and reliably verified (e.g., math, coding, or web navigation with explicit targets).
- Sensitivity to Brittle Failures: On simpler tasks (like the "easy" subset of WebWalker), performance showed high variance. Minor execution errors, such as incomplete page loads, can disproportionately affect performance and introduce noise into the skill evolution signal.
- Generation Scaling: The experiments were capped at 5 generations. Future work could explore long-term skill evolution dynamics and methods to prevent optimization plateaus over dozens of generations.
Summary updated