Skill memories encode past experiences as textual prompts to improve reinforcement learning (RL) for self-evolving agents. Complementing RL, On-Policy Self-Distillation (OPSD) provides dense, fine-grained supervision to internalize knowledge from skill-guided trajectories and accelerate policy learning. However, self-generated memories often contain noisy supervision and functionally entangled, redundant, or conflicting knowledge, making direct distillation difficult. Under limited training budgets, these issues can hinder knowledge internalization and even degrade performance. To address this problem, we propose MDSKILL, a multi-view distillation approach for skill memory internalization. MDSKILL organizes skill memories into three complementary functional views (state grounding, action planning, and execution control) and selects high-quality skills using dynamic metrics to construct view-specific and integrated reasoning branches. OPSD then transfers and consolidates complementary experiential knowledge across these branches into a shared policy, enabling efficient skill internalization and continuous agent self-evolution. We evaluate MDSKILL on three agent benchmarks against RL, skill-augmented, and self-distillation baselines that do not rely on stronger external teacher models. Without additional computational overhead, MDSKILL improves upon SOTA performance by up to 7.1% and 8.1% on ALFWorld and WebShop. Extensive ablations and evolution analyses further validate its effectiveness in knowledge internalization and policy improvement. The code is available at https://anonymous.4open.science/r/MDSKILL-CF53.
Figures & tables
Figure 1: Overview, results and intuition on MDSKILL.
Figure 2: Training success rates under different distillation directions on WebShop.
Figure 3: Top- K token overlap ratio and absolute entropy gap under forward and reverse distillation on WebShop.
Figure 4: Detailed overview of MDSkill, comprising dynamic skill retrieval, multi-view rollout exploration, and knowledge-gain-driven multi-view distillation.
Figure 5: An example of multi-view skill guidance in ALFWorld.
ALFWorld
WebShop
Search-QA
Method
Pick
Look
Clean
Heat
Cool
Pick2
Succ
Score
Succ
NQ
Triv
Pop
Hotp
2Wk
MuS
Bam
Avg
Qwen3-1.7B
GRPO ∗
71.1
41.7
36.4
40.0
31.8
31.6
46.1
67.3
38.3
40.0
58.9
43.5
35.4
30.3
12.0
65.7
40.8
GiGPO
90.3
61.5
92.3
71.4
69.2
79.2
80.5
70.0
45.3
41.1
59.3
45.1
34.1
32.7
10.5
64.5
41.0
Skill1 ∗
71.4
54.5
59.4
72.7
60.0
73.7
65.6
83.2
61.7
42.7
59.8
46.0
35.4
34.8
12.0
65.7
42.3
RLSD ∗
50.0
37.5
61.5
19.0
50.0
21.1
42.2
74.0
50.8
38.6
57.3
43.0
34.5
34.1
11.5
65.3
40.6
Table 1: Main results on ALFWorld (six tasks and overall success rates), WebShop (score/success rate), and Search-QA (seven datasets and average accuracy). Best and second-best results within each backbone are bolded and underlined , respectively. † denotes results from original papers; ∗ denotes results reported by SDAR and UCOB.
Figure 6: Ablation study of MDSKILL.
Appendix figures & tables3 assets
Supplementary material from the paper’s appendix.
Appendix
Figure 7: Additional analyses of functional skill dynamics. (a) Branch-wise training success rates. (b) Evolution of skills with substantial Advantage ( >0.6 ) across the functional banks. (c) Cohort-wise evolution of skill Advantage on ALFWorld and WebShop.
Figure 8: Training dynamics under strict and relaxed distillation gates on WebShop. Solid and dashed lines denote the skill-view and skill-free branches, respectively.
Figure 9: View-specific reflection instructions and actual ALFWorld skills extracted from the trained skill banks. For readability, only the instructions that differ across functional views are shown; shared prompt components are omitted and provided in our code. Candidate skills are written to their intended banks only after functional-attribution verification.
Reinforcement learning (RL) has been widely used to train LLM agents for multi-turn interactive tasks, but its sample efficiency is severely limited by sparse rewards and long horizons. On-policy self-distillation (OPSD) alleviates this by providing dense token-level supervision from a privileged teacher that has access to ground-truth answers. However, such fixed privileged information cannot capture the diverse valid strategies in agent tasks, and naively combining OPSD with RL often leads to training collapse. To address these limitations, we introduce Skill-SD, a framework that turns the agent's own trajectories into dynamic training-only supervision. Completed trajectories are summarized into compact natural language skills that describe successful behaviors, mistakes, and workflows. These skills serve as dynamic privileged information conditioning only the teacher, while the student always acts under the plain task prompt and learns to internalize the guidance through distillation. To stabilize the training, we derive an importance-weighted reverse-KL loss to provide gradient-correct token-level distillation, and dynamically synchronize the teacher with the improving student. Experimental results on agentic benchmarks demonstrate that Skill-SD substantially outperforms the standard RL baseline, improving both vanilla GRPO (+14.0%/+10.9% on AppWorld/Sokoban) and vanilla OPD (+42.1%/+40.6%). Project page: https://k1xe.github.io/skill-sd/
Hao Wang, Guozhi Wang, Han Xiao +8
Hangzhou Institute for Advanced Study, University of Chinese Academy of Sciences · vivo AI Lab · The Chinese University of Hong Kong +2
Outcome-based reinforcement learning provides a stable optimization backbone for language agents, but its sparse trajectory-level rewards provide little guidance on which intermediate decisions should be reinforced or suppressed. On-policy self-distillation offers dense token-level supervision, yet existing skill-conditioned variants often rely on external skill memories or retrieved privileged context, which are costly to maintain and can be mismatched with the state distribution induced by the current policy in multi-turn interaction. We propose OPID (On-Policy Skill Distillation), a framework that extracts skill supervision directly from completed on-policy trajectories. OPID represents trajectory hindsight as hierarchical skills: episode-level skills capture global workflows or failure-avoidance rules, while step-level skills capture local decision knowledge at critical timesteps. A critical-first routing mechanism uses step-level skills when critical decisions are identified and falls back to episode-level skills as default guidance otherwise. The selected skill is injected into the interaction history, allowing the old policy to re-score the same sampled response under both original and skill-augmented contexts. The resulting log-probability shift yields a token-level self-distillation advantage, which is combined with the outcome advantage for policy optimization. OPID thus preserves RL as the primary training objective while introducing dense, distribution-matched hindsight supervision. Experiments on ALFWorld, WebShop and Search-based QA demonstrate that OPID generally improves agent performance, sample efficiency, and robustness over outcome-only RL and existing skill-distillation baselines. Our code is available at https://github.com/jinyangwu/OPID/tree/main.
Shuo Yang, Jinyang Wu, Zhengxi Lu +8
1Tsinghua University · 2Zhejiang University · 3The Chinese University of Hong Kong +2
External natural-language skills provide large language model (LLM) agents with reusable and editable guidance for solving complex tasks. Yet their effectiveness depends not only on skill quality, but also on whether the policy can translate the provided guidance into appropriate actions. However, methods specifically designed to improve this skill-utilization ability remain largely underexplored. In practice, skill-based agents are commonly trained with reinforcement learning objectives centered on task-level rewards, which offer limited supervision and struggle to capture subtle differences in how effectively the policy uses the provided skills. We propose BCSD (Bidirectional Context Self-Distillation), a framework that combines self-distillation with reinforcement learning to train LLM agents to use external skills more effectively. Unlike prior self-distillation methods that rely on a single privileged context, BCSD evaluates each trajectory from two complementary skill-context views. The augmented view introduces higher-level Meta-Skill guidance, while the reduced view prunes general guidance to highlight task-specific skills. Their complementary token-level signals are combined to rescale the RL advantage. Experiments on ALFWorld and WebShop demonstrate that BCSD achieves the strongest overall performance across model scales, enabling agents to utilize external skills more effectively. Ablation studies further verify the complementary contributions of the augmented and reduced context views. Code will be released to ensure full reproducibility.
Tianjun Pan, Yuan Li, Hongda Wang +8
Fudan University · Zhejiang University · Alibaba Group +1