RLCSD: Reinforcement Learning with Contrastive On-Policy Self-Distillation

Leyi Pan, Shuchang Tao, Yunpeng Zhai, Lingzhe Zhang, Zhaoyang Liu +3 more
6/10/2026
cs.LGcs.CL

No official code found. Best implementation: THU-BPM/RLCSD (113 stars, MIT, last commit 2026-06-10).

Abstract

On-policy self-distillation (OPSD) provides dense, token-level supervision for reasoning models by aligning a model's own distribution with the distribution it produces under privileged context, typically a verified solution. However, we show that the learning signal drawn from this distributional gap concentrates on style tokens rather than task-bearing ones, as the hinted model tends to produce more direct, shorter outputs. We term this pathology \emph{privilege-induced style drift}, which destabilizes training or causes response length to shrink. To address this, we propose \textbf{RLCSD} (Reinforcement Learning with Contrastive on-policy Self-Distillation), which mitigates this drift by contrasting the teacher-student gap under a correct hint against that under a wrong hint, suppressing the style shift that conditioning on a hint tends to induce regardless of correctness, and yielding a signal that is more concentrated on task-bearing tokens. Experiments on Qwen3 (1.7B/4B/8B) and Olmo-3-7B-Think across mathematical and logical reasoning show that RLCSD consistently outperforms GRPO and prior OPSD methods. We further show that the contrastive principle is general: it plugs into existing OPSD methods to improve them, and its underlying insight extends to the broader cross-model on-policy distillation setting.

View on arXivView PDF

Code Implementations(1)

THU-BPM/RLCSDCommunity78%
MIT

Source code of paper "RLCSD: Reinforcement Learning with Contrastive On-Policy Self-Distillation"

1134Jun 5, 20264 months agoMIT
large-language-modelsllmon-policy-distillationopsdreinforcement-learning+1 more

Similar Papers

Cite this paper

@article{pan2026rlcsd,
  title  = {RLCSD: Reinforcement Learning with Contrastive On-Policy Self-Distillation},
  author = {Leyi Pan and Shuchang Tao and Yunpeng Zhai and Lingzhe Zhang and Zhaoyang Liu and Bolin Ding and Aiwei Liu and Lijie Wen},
  year   = {2026},
  eprint = {2606.11709},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2606.11709v1}
}

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

Discussion