Dynamic Dual-Granularity Skill Bank for Agentic RL
Organizations: Institute of Automation, Chinese Academy of Sciences · Pengcheng Laboratory · Sun Yat-Sen University · MemoraX AI
Abstract
Agentic RL can benefit substantially from reusable experience, yet existing skill-based methods mainly extract trajectory-level guidance and often lack principled mechanisms for maintaining an evolving skill memory. We propose D2Skill, a dynamic dual-granularity skill bank for agentic RL that organizes reusable experience into task skills for high-level guidance and step skills for fine-grained decision support and error correction. D2Skill jointly trains the policy and skill bank through paired baseline and skill-injected rollouts under the same policy, using their performance gap to derive hindsight utility signals for both skill updating and policy optimization. Built entirely from training-time experience, the skill bank is continuously expanded through reflection and maintained with utility-aware retrieval and pruning. Experiments on ALFWorld, WebShop, and Search-Augmented QA tasks show that D2Skill substantially improves performance over skill-free baselines across models of different scales. Further ablations and analyses show that both dual-granularity skill modeling and dynamic skill maintenance are critical to these gains, while the learned skills exhibit higher utility, transfer across evaluation settings, and introduce only modest training overhead.
Figures & tables
| Method | ALFWorld | WebShop | |||||||
| Pick | Clean | Cool | Look | Heat | Pick2 | All | Score | Success | |
| Closed-source LLMs | |||||||||
| Gemini-3-Flash | 96.4 | 57.1 | 96.2 | 85.7 | 72.2 | 95.3 | 85.2 | 14.1 | 16.5 |
| O3 | 64.3 | 19.1 | 23.1 | 64.3 | 33.3 | 61.9 | 43.8 | 5.8 | 4.7 |
| Base Model: Qwen2.5-7B-Instruct | |||||||||
| Origin | 17.9 | 4.8 | 3.8 | 64.3 | 0.0 | 5.3 | 12.5 | 16.6 | 3.9 |
| Method | Single-Hop QA | Multi-Hop QA | Avg. | ||||
| NQ | TriviaQA | PopQA | HotpotQA | 2Wiki | MuSiQue | ||
| Base Model: Qwen2.5-7B-Instruct | |||||||
| Origin | 11.6 | 35.6 | 1.20 | 16.4 | 22.2 | 4.80 | 15.3 |
| Search-R1 | 39.3 | 61.0 | 39.7 | 37.0 | 40.1 | 14.6 | 38.6 |
| ZeroSearch | 43.6 | 61.8 | 51.5 | 34.6 | 35.2 | 18.4 | 40.9 |
| StepSearch | 37.7 | 54.7 | 38.6 | 37.0 | 40.9 | 34.6 | 40.6 |
| Method | Train | Val | |
|---|---|---|---|
| Skill | Baseline | ||
| D2Skill | 70.9 | 65.8 | 72.7 |
| w/o task skills | 59.1 | 53.7 | 62.7 |
| w/o step skills | 57.8 | 55.8 | 60.2 |
| w/o skill management | 60.0 | 57.4 | 57.8 |
| w/o baseline group | 63.9 | - | 68.8 |
Appendix figures & tables6 assets
Supplementary material from the paper’s appendix.
Appendix
| Category | Symbol / field | Value |
| Benchmark / prompt context | ||
| ALFWorld max steps | 50 | |
| WebShop max steps | 15 | |
| History length | env.history_length | 2 |
| Environment seed | env.seed | 0 |
| Invalid-action penalty coef. | invalid_action_penalty_coef | 1.0 |
LLM Agent Skill Learning
Large language model agent skill learning studies how agents acquire, represent, reuse, and refine procedures for multi-step tasks.
See all 398 papers