Learning from Interaction Experience via Localized Context Distillation

Zhezheng Hao, Yongkang Yang, Xilin Xia, Jiarui Yu, Yi Liu +7 more
10/15/2026
cs.AI

No confident code implementation found for this paper.

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.

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{hao2026learning,
  title  = {Learning from Interaction Experience via Localized Context Distillation},
  author = {Zhezheng Hao and Yongkang Yang and Xilin Xia and Jiarui Yu and Yi Liu and Fanjunduo Wei and Peijie Dong and Tianfu Wang and Qiang Lin and Can Wang and Hande Dong and Jiawei Chen},
  year   = {2026},
  eprint = {2610.21427},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2610.21427v1}
}

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/2610.21427.svg)](https://codeofpaper.com/paper/2610.21427)

Discussion