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

Tianjun Pan, Yuan Li, Hongda Wang, Linbo Jin, Mengfei Song +6 more
8/10/2026
cs.AI
rldistillation

No confident code implementation found for this paper.

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{pan2026bidirectional,
  title  = {Bidirectional Context Self-Distillation for Reinforcement Learning of Skill-Based LLM Agents},
  author = {Tianjun Pan and Yuan Li and Hongda Wang and Linbo Jin and Mengfei Song and Lei Gao and Qiming Shi and Shaokang Fu and Jiarong Zhao and Chengyu Wang and Chengfu Huo},
  year   = {2026},
  eprint = {2608.09555},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2608.09555v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2608.09555.svg)](https://codeofpaper.com/paper/2608.09555)

Discussion