Learning from Interaction Experience via Localized Context Distillation
On the map: Knowledge distillation → On-policy and self-distillation for LLMs
Abstract (arXiv)
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.
Key facts. No citing papers in the map yet (data through 24 Nov 2026). Placed in On-policy and self-distillation for LLMs, one of 12 directions in Knowledge distillation. Builds on 66 of its 71 references that are in the map. Submitted 15 Oct 2026.
Builds on
66 of 71 references.
Closest ancestors · 20
Same direction, newest first
- 2026Latent On-Policy Self-Distillation13 Aug
- 2026Privileged Solutions or Context-Induced Teacher Behavior? Dissecting On-Policy Self-Distillation10 Aug
- 2026PAST: Privileged Adaptation from Complete Student Trajectories for On-Policy Self-Distillation9 Aug
- 2026Matching Supervision to the Student's Learning Capacity: A Unified Framework for On-Policy Self-Distillation8 Aug
- 2026Pass the Baton: Trajectory-Relayed On-Policy Distillation28 Jul
- 2026SEED: Self-Evolving On-Policy Distillation for Agentic Reinforcement Learning16 Jul
- 2026Rethinking On-Policy Self-Distillation for Thinking Models6 Jul
- 2026Purified OPSD: On-Policy Self-Distillation Without Losing How to Think2 Jul
- 2026Learning from Your Own Mistakes: Constructing Learnable Micro-Reflective Trajectories for Self-Distillation17 Jun
- 2026HERO: Hindsight-Enhanced Reflection from Environment Observations for Agentic Self-Distillation10 Jun
- 2026The Role of Feedback Alignment in Self-Distillation9 Jun
- 2026Trajectory-Refined Distillation7 Jun
8 more
- 2026On the Geometry of On-Policy Distillation5 Jun
- 2026HINT-SD: Targeted Hindsight Self-Distillation for Long-Horizon Agents18 May
- 2026The Many Faces of On-Policy Distillation: Pitfalls, Mechanisms, and Fixes11 May
- 2026Why Does Self-Distillation (Sometimes) Degrade the Reasoning Capability of LLMs?25 Mar
- 2026On-Policy Context Distillation for Language Models12 Feb
- 2026Reinforcement Learning via Self-Distillation28 Jan
- 2026Self-Distillation Enables Continual Learning27 Jan
- 2026Self-Distilled Reasoner: On-Policy Self-Distillation for Large Language Models26 Jan
Other references · 46
- 2022Training language models to follow instructions with human feedbackcited by 16,493
- 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Modelscited by 10,542
- 2025Qwen3 Technical Reportcited by 9,994
- 2025DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learningcited by 6,810
- 2023Reflexion: Language Agents with Verbal Reinforcement Learningcited by 4,789
- 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,871
- 2023Voyager: An Open-Ended Embodied Agent with Large Language Modelscited by 2,483
- 2024SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineeringcited by 2,069
- 2022Competition-Level Code Generation with AlphaCodecited by 1,510
- 2022WebShop: Towards Scalable Real-World Web Interaction with Grounded Language Agentscited by 1,377
- 2020ALFWorld: Aligning Text and Embodied Environments for Interactive Learningcited by 1,368
- 2023On-Policy Distillation of Language Models: Learning from Self-Generated Mistakescited by 1,201
34 more
- 2021A General Language Assistant as a Laboratory for Alignmentcited by 1,123
- 2023ExpeL: LLM Agents Are Experiential Learnerscited by 1,067
- 2025Mem0: Building Production-Ready AI Agents with Scalable Long-Term Memorycited by 915
- 2024Agent Workflow Memorycited by 482
- 2024Training Software Engineering Agents and Verifiers with SWE-Gymcited by 414
- 2025OpenThoughts: Data Recipes for Reasoning Modelscited by 338
- 2022Learning by Distilling Contextcited by 180
- 2023Training Language Models with Language Feedback at Scalecited by 130
- 2024How Do Large Language Models Acquire Factual Knowledge During Pretraining?cited by 105
- 2026OpenClaw-RL: Train Any Agent Simply by Talkingcited by 99
- 2025MemInsight: Autonomous Memory Augmentation for LLM Agentscited by 94
- 2025Critique-GRPO: Advancing LLM Reasoning with Natural Language and Numerical Feedbackcited by 93
- 2024AutoGuide: Automated Generation and Selection of Context-Aware Guidelines for Large Language Model Agentscited by 90
- 2025Remember Me, Refine Me: A Dynamic Procedural Memory Framework for Experience-Driven Agent Evolutioncited by 88
- 2026STALE: Can LLM Agents Know When Their Memories Are No Longer Valid?cited by 68
- 2025Contextual Experience Replay for Self-Improvement of Language Agentscited by 55
- 2026Online Experiential Learning for Language Modelscited by 36
- 2026ReCreate: Reasoning and Creating Domain Agents Driven by Experiencecited by 27
- 2025Learning on the Job: An Experience-Driven Self-Evolving Agent for Long-Horizon Taskscited by 25
- 2025Text2Grad: Reinforcement Learning from Natural Language Feedbackcited by 22
- 2026Verified Critical Step Optimization for LLM Agentscited by 22
- 2026InT: Self-Proposed Interventions Enable Credit Assignment in LLM Reasoningcited by 17
- 2026Reward Modeling from Natural Language Human Feedbackcited by 15
- 2026Backtracking When It Strays: Mitigating Dual Exposure Biases in LLM Reasoning Distillationcited by 12
- 2024Sequence to Sequence Reward Modeling: Improving RLHF by Language Feedbackcited by 11
- 2024Teaching Language Models to Self-Improve by Learning from Language Feedbackcited by 10
- 2024Retrospective Learning from Interactionscited by 9
- 2026Learning from the Irrecoverable: Error-Localized Policy Optimization for Tool-Integrated LLM Reasoningcited by 9
- 2025Bidirectional LMs are Better Knowledge Memorizers? A Benchmark for Real-world Knowledge Injectioncited by 8
- 2026Hindsight Hint Distillation: Scaffolded Reasoning for SWE Agents from CoT-free Answerscited by 8
- 2026EnvRL: Learn from Environment Dynamics in Agentic Reinforcement Learningcited by 7
- 2025LANPO: Bootstrapping Language and Numerical Feedback for Reinforcement Learning in LLMscited by 6
- 2026Self-Improving Large Language Models via Progressive Experience Evolutioncited by 4
- 2026MInTRL: Off-policy Intervention can boost On-policy RLcited by 2
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026Rethinking On-Policy Distillation of Large Language Models: Phenomenology, Mechanism, and Recipe
- 2026Agentic On-Policy Distillation Implicitly Reshapes LLMs' ReAct Patterns
- 2026Disentangling Self-Distillation: Measuring and Modeling Acquisition and Retention
- 2026Flux-OPD: On-Policy Distillation with Evolving Contexts
- 2026Learning Dynamics of On-Policy Distillation
- 2026Rethinking Continual Experience Internalization for Self-Evolving LLM Agents
- 2026Distilling Visual Agents from Limited Interaction Experience
- 2026Same Evidence, Different Answers: Canonical-Context On-Policy Distillation for Multi-Turn Language Models