Learning from Interaction Experience via Localized Context Distillation
Zhezheng Hao, Yongkang Yang, Xilin Xia, Jiarui Yu, Yi Liu, Fanjunduo Wei, Peijie Dong, Tianfu Wang,
Key points
From the paper's conclusion- To resolve this dilemma, we introduce Localized Context Distillation (LoCD).
Abstract
Learning from interaction experience is essential for enabling large language models to continually improve during deployment. Context distillation offers a promising path: privileged information extracted from experience is provided to a teacher, whose behavior is then distilled into a student model that has no access to it. However, both existing forms of context distillation have limitations. Off-policy context distillation trains the student on teacher-generated trajectories and thus suffers from exposure bias; whereas on-policy context distillation trains on the student's own rollouts, whose states are often uninformative and fail to convey behaviors the student cannot yet produce. To resolve this dilemma, we introduce Localized Context Distillation (LoCD). LoCD first localizes the critical spans of a student trajectory that require revision. The teacher then regenerates only these spans from the student's own prefix, and the student is trained on the regenerated segments. LoCD thereby concentrates learning on the most informative states while keeping exposure bias low. Extensive experiments across math reasoning, code generation, and agent tasks demonstrate that LoCD consistently outperforms strong baselines and achieves more stable training with smaller and sparser parameter updates.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Beyond On-Policy vs. Off-Policy: At What Level Should LLM Agent Distillation Follow the Student?arXiv · 2026
- Disentangling Self-Distillation: Measuring and Modeling Acquisition and RetentionarXiv · 2026
- TeachBack: Learning to Teach via Bidirectional Preference Optimization for On-Policy Self-DistillationarXiv · 2026
- Agentic On-Policy Distillation Implicitly Reshapes LLMs' ReAct PatternsarXiv · 2026
- Agentic-OPD: Recovering Forgotten Agent Capabilities via On-Policy Distillation for Agentic TasksarXiv · 2026
- Bridged Self-Distillation for On-Policy LearningarXiv · 2026