DASH-OPD: Discrepancy-Aware Switching with Hysteresis for On-Policy Distillation

Yuchen Xia, Qianguo Sun, Chao Song, Junlong Wu, Yiyan Qi +1 more
7/31/2026
5 citations
cs.LG
distillation

Official code: Lucian1115/DASH-OPD (7 stars, Python, Apache-2.0, last commit 2026-09-15).

Abstract

While on-policy distillation (OPD) reduces exposure bias by training student language models on their own rollouts, early student errors in long-horizon agentic scenarios can lead to contexts unfamiliar to the teacher. To improve trajectory quality, recent work on agentic OPD introduces teacher intervention into training rollouts by switching the executor between the student and the teacher.

Show full abstract

However, existing methods determine how much teacher intervention is needed---but not when. To address this limitation, we propose DASH-OPD (Discrepancy-Aware Switching with Hysteresis for OPD), the first agentic OPD method to perform adaptive, bidirectional executor switching. At each turn, DASH-OPD measures teacher--student discrepancy using a mean log-likelihood ratio over action tokens. High student-to-teacher ratios on student turns serve as drift signals, while low teacher-to-student ratios on teacher turns serve as recovery signals. These signals are accumulated over multiple turns to form drift and recovery evidence, respectively. DASH-OPD switches executors when either type of evidence exceeds its corresponding switching threshold, introducing hysteresis that prevents rapid switching triggered by transient discrepancy fluctuations. Across three benchmarks and two student model scales, DASH-OPD outperforms five baselines in all 14 task-performance comparisons, while requiring the fewest interaction turns in nine of ten efficiency comparisons. Code, trained models, and training logs are available at https://github.com/Lucian1115/DASH-OPD

View on arXivView PDF

Code Implementations(1)

Apache-2.0
70Python, ShellSep 15, 20262 months agoApache-2.0

Similar Papers

Cite this paper

@article{xia2026dashopd,
  title  = {DASH-OPD: Discrepancy-Aware Switching with Hysteresis for On-Policy Distillation},
  author = {Yuchen Xia and Qianguo Sun and Chao Song and Junlong Wu and Yiyan Qi and Yunjian Xu},
  year   = {2026},
  eprint = {2607.29078},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2607.29078v4}
}

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

Discussion