MEGA Hub

Bidirectional Context Self-Distillation for Reinforcement Learning of Skill-Based LLM Agents

Authors

Do you know Tianjun Pan?You can claim authorship or link another user.Do you know Yuan Li?You can claim authorship or link another user.Do you know Hongda Wang?You can claim authorship or link another user.Do you know Linbo Jin?You can claim authorship or link another user.Do you know Mengfei Song?You can claim authorship or link another user.Do you know Lei Gao?You can claim authorship or link another user.Do you know Qiming Shi?You can claim authorship or link another user.Do you know Shaokang Fu?You can claim authorship or link another user.Do you know Jiarong Zhao?You can claim authorship or link another user.Do you know Chengyu Wang?You can claim authorship or link another user.Do you know Chengfu Huo?You can claim authorship or link another user.

Abstract

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.

Community

00

Publication notes

Author note
9 pages, 6 figures