paper-with-me

홈 › Papers

When Context Returns: Toward Robust Internalization in On-Policy Distillation

2026-06-10 · Xun Wang, Ruishuo Chen, Zhuoran Li, Yu Chen, Longbo Huang arxiv

Recent work has shown that on-policy distillation can internalize privileged context, such as system prompts or task hints, into a student model so that the context is no longer needed at inference time. Although this approach successfully improves the student's no-context performance, we identify an interesting and previously unstudied phenomenon: in many settings, reintroducing the original privileged context to the distilled student actually degrades its performance, even on instances it already solves correctly without context. We term this context-induced degradation and argue that robust internalization demands not only matching the teacher's context-conditioned behavior, but also remaining stable when the context is reintroduced, a property we call context removability. Motivated by this observation, we propose a lightweight consistency regularizer that first anchors the student's no-context output via stop-gradient, then penalizes the context-conditioned output for deviating from it via forward KL divergence. This simple addition requires only one extra forward pass per training step, yet it effectively mitigates context-induced degradation and, in many cases, even improves no-context performance. Across 12 configurations spanning diverse domains and model families, our method improves context-conditioned accuracy in the majority of settings, reduces context-induced harm in 11 out of 12 settings, and effectively eliminates response-length inflation. A mechanistic case study further confirms that context removability is achieved at the representation level, with hidden states remaining nearly identical regardless of whether the context is present.

📄 PDF Abstract BibTeX arXiv:2606.11627

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Rethinking Continual Experience Internalization for Self-Evolving LLM Agents

2026-06-03 · Jingwen Chen, Wenkai Yang, Shengda Fan, Wenbo Nie 외 arxiv

Experience internalization converts contextual experience from past interactions into reusable parametric capability, offering a promising path toward continual learning in large language models (LLMs). While prior work …

Continual Learning

The Many Faces of On-Policy Distillation: Pitfalls, Mechanisms, and Fixes

2026-05-11 · Siqi Zhu, Xuyan Ye, Hongyu Lu, Weiye Shi 외 arxiv

On-policy distillation (OPD) and on-policy self-distillation (OPSD) have emerged as promising post-training methods for large language models, offering dense token-level supervision on trajectories sampled from the model…

Mathematical Reasoning

Analyzing and Internalizing Complex Policy Documents for LLM Agents

2025-10-13 · Jiateng Liu, Zhenhailong Wang, Xiaojiang Huang, Yingjie Li 외 arxiv

Large Language Model (LLM)-based agentic systems rely on in-context policy documents encoding diverse business rules. As requirements grow, these documents expand rapidly, causing high computational overhead. This motiva…

Multimodal Policy Internalization for Conversational Agents

2025-10-10 · Zhenhailong Wang, Jiateng Liu, Amin Fazel, Ritesh Sarkhel 외 arxiv

Modern conversational agents like ChatGPT and Alexa+ rely on predefined policies specifying metadata, response styles, and tool-usage rules. As these LLM-based systems expand to support diverse business and user queries,…

Reinforcement LearningContinual Pretraining

Trust-Region Behavior Blending for On-Policy Distillation

2026-05-29 · Daniil Plyusov, Alexey Gorbatovski, Alexey Malakhov, Nikita Balagansky 외 arxiv

On-policy distillation (OPD) trains a student on prefixes sampled from its own policy while matching a stronger teacher. This addresses the prefix mismatch of offline distillation, but early student rollouts can still be…