DemoPSD: Disagreement-Modulated Policy
Self-Distillation

Yunhe Li,1, Hao Shi,2, Wenhao Liu, Mengzhe Ruan, Hanxu Hou
Zhongxiang Dai, Shuang Qiu†,1, Linqi Song†,1


a
b

Figure 1: DemoPSD preserves higher entropy (left), which translates into better best@16 performance (right).. a — Policy entropy over training steps. DemoPSD maintains 33-98% higher entropy than SDPO across all domains, avoiding policy entropy collapse., b — Best-of-16 Validation accuracy for each SciKnowEval domain over training steps.

1 Introduction↩︎

Reinforcement learning with verifiable rewards (RLVR) has become a central paradigm for post-training large language models on reasoning tasks [1][3]. Methods such as Group Relative Policy Optimization (GRPO) train models by sampling multiple rollouts per question and using outcome correctness as a reward signal. While effective, RLVR suffers from a fundamental credit assignment bottleneck: standard RLVR methods distribute a rollout-level reward uniformly among all tokens in a rollout, offering coarse token-level credit signals that fail to distinguish individual token contributions [4].

On-policy distillation (OPD) addresses this bottleneck by introducing dense, token-level supervision from a teacher model on the student’s self-generated trajectories [5][7]. Unlike off-policy distillation, which trains on teacher-generated texts and suffers from compounding exposure bias [8], OPD allows the student to learn from its own distribution while receiving rich feedback. This paradigm has been widely adopted in industry, including Qwen3 [9] and DeepSeek-V4 [10], establishing OPD as a practical complement to RLVR.

A particularly appealing variant is on-policy self-distillation (OPSD)  [4], [11], where a single model serves as both teacher and student. The teacher is the same model conditioned on privileged information, such as a verified reasoning trace or ground-truth answer, while the student receives only the question. OPSD eliminates the need for an external teacher and has demonstrated several-fold improvements in token efficiency over GRPO [11], [12]. However, recent theoretical and empirical analysis has revealed a critical failure mode: privileged information leakage [13]. Because the teacher conditions on privileged information \(y^*\) that the student never observes at test time, the OPSD objective contains an irreducible mutual information gap \(I(y_t; y^* \mid x, y_{<t}) > 0\), which is a conditional mutual information with \(x\) the input question, \(y_{<t}\) the generated prefix, \(y_t\) the next token, and \(y^*\) the privileged information available only to the teacher. A positive value indicates that, even after conditioning on the question and generated prefix, the privileged signal still provides additional information about the next token, drving the student to encode answer-dependent shortcuts. This manifests as early performance gains followed by gradual degradation. As a result, the student may internalize cues tied to the privileged information instead of acquiring transferable reasoning strategies [13].

This failure mode reflects a broader tension between benefiting from the teacher’s guidance and preserving the student’s ability to reason independently. Privileged information leakage is a symptom of a more fundamental design choice: standard OPSD optimizes the student to imitate the teacher’s privileged conditional distribution at every token. This objective is problematic for two major reasons: first, the teacher’s distribution at certain positions (e.g., numerical answers, solution-revealing steps) is shaped by privileged information rather than transferable reasoning; second, directly matching the teacher’s distribution at every token can suppress the student’s own reasoning capacity when privileged information is unavailable.

Several recent studies have proposed different mechanisms to address this challenge. RLSD [13] avoids leakage entirely by using self-distillation only for magnitude estimation. HDPO [14] restricts privileged distillation to “cliff prompts.” EGRSD [15] gates distillation by teacher entropy. SRPO [16] routes entire samples between GRPO and SDPO based on rollout correctness. DASD [17] uses entropy-routed directional supervision, pulling low-entropy tokens toward the privileged teacher while pushing high-entropy tokens away to preserve exploration. GATES [18] uses consensus among multiple teachers. The aforementioned methods share a common intuition: not all tokens are equally trustworthy. Yet they all rely on indirect proxies such as the teacher’s entropy, sample correctness, student entropy, or multi-teacher consensus rather than directly measuring how much the teacher’s prediction is influenced by privileged information. How to design the distillation target itself to balance teacher-guided learning with the student’s own reasoning, however, has received relatively little attention.

Our work introduces DemoPSD, a novel framework that addresses this challenge in standard OPSD through the principle of selective adoption of teacher guidance: the student adopts the teacher’s guidance when their distributions are reasonably consistent, and relies more on its own reasoning when the teacher’s distribution substantially diverges from the student’s, indicating that the teacher’s output is overly influenced by privileged information. Rather than fitting the full teacher distribution, DemoPSD trains the student toward a reverse-KL barycenter target, which is a weighted geometric combination of the teacher’s and student’s distribution: \[\begin{align} \begin{aligned}\label{eq:intro-target1} \pi_t^{\text{target}}(v \mid x, y^*, \hat{y}_{<t}) &\propto \big(\pi_{\text{teacher}}(v \mid x, y^*, \hat{y}_{<t} )\big)^{1-\alpha_t} \cdot \big(\pi_{\text{student}}(v \mid x, \hat{y}_{<t})\big)^{\alpha_t}, \end{aligned} \end{align}\tag{1}\] where \(\alpha_t\) is a per-token leakage attenuation coefficient determined by the disagreement between the distributions of the teacher and the student, controlling how far the target is interpolated from the teacher’s distribution toward the student’s distribution. When \(\alpha_t\) is sufficiently small, the privileged information \(y^*\) does not substantially shift the teacher’s distribution, the target therefore remains close to the teacher. As \(\alpha_t\) increases, the teacher’s distribution becomes more strongly shaped by \(y^*\). Forcing the student to directly match the teacher would encode answer-dependent shortcuts into the student, which is precisely the privileged information leakage. The target in 1 is therefore interpolated further toward the student’s distribution to attenuate leakage while preserving the student’s unprivileged reasoning capacity. Figure 1 previews our main empirical results based on the principle of selective adoption of teacher guidance. DemoPSD preserves substantially higher training entropy than SDPO across all domains, which further translates into improved best@16 results.

Our contribution. Specifically, our main contributions are three-fold:

  1. We propose a novel on-policy self-distillation algorithm DemoPSD that effectively prevents the student model from overfitting the teacher’s distribution, thereby improving both in-domain and cross-domain reasoning capabilities and reducing privileged information leakage during self-distillation.

  2. We theoretically prove two key properties of DemoPSD: (1) leakage attenuation, i.e., the disagreement-weighted reverse-KL barycenter target reduces the rate of privileged information leakage; and (2) exploration preservation, i.e., DemoPSD retains the student’s exploration capacity under dense token-level distillation.

  3. We conduct extensive experiments on SciKnowEval across four scientific domains. Our empirical results show that DemoPSD consistently outperforms SDPO and GRPO, achieving up to a 4.2% improvement in @16 accuracy while maintaining 35–97% higher training entropy. On the out-of-distribution GPQA benchmark, DemoPSD maintains strong overall accuracy and demonstrates robust generalization, whereas SDPO exhibits a gradual performance decline.

2 Related Work↩︎

On-Policy Distillation and Self-Distillation. Recent OPD methods such as GKD [5] and MiniLLM [6] train the student on model-generated trajectories while using teacher distributions as dense supervision. This on-policy design is motivated by the classic imitation-learning observation that training only on expert-generated states can suffer from compounding errors under distribution shift [8]. Subsequent work further studies OPD from different perspectives: REOPOLD [19] relaxes on-policy distillation for more efficient reasoning, Veto [20] reformulates the distillation target to improve training stability, and [21] provide a broader survey of OPD methods for large language models. Another line of research focuses on the on-policy self-distillation problem. Self-Distilled Reasoner [11] studies the setting where a single model provides its own on-policy distillation signal for reasoning. SDPO [4] further frames reinforcement learning through self-distillation, converting sparse outcome feedback into dense training signals. Related variants explore complementary design choices: SD-Zero [22] uses self-revision to transform binary rewards into dense supervision, UniSD [23] proposes a unified framework for self-distillation in LLMs, and CRISP [24] applies iterative self-policy distillation to compressed reasoning. As shown in §4.3, DemoPSD instead uses a disagreement-dependent geometric target that preserves dense supervision on low-disagreement tokens while attenuating teacher-induced signals on high-disagreement tokens.

Addressing Privileged Information Leakage Recent work has begun to analyze and mitigate failure modes in on-policy self-distillation. [13] study self-distilled RLVR and identify privileged information leakage as a key concern. HDPO [14] focuses privileged self-distillation on cliff prompts, while PBSD [25] moves beyond direct KL matching through preference-based self-distillation and reward regularization. Other methods adjust when or how self-distillation is applied. SRPO [16] unifies group-relative optimization and self-distillation through sample routing, DASD [17] adapts supervision according to the direction of the self-distillation signal, and PAINT [26] interpolates between partial- and full-solution prompts. [27] analyzes why self-distillation can degrade reasoning ability. In contrast, DemoPSD keeps the token-level distillation setting but changes the distributional target itself: the reverse-KL barycenter adaptively interpolates between the privileged teacher and the unprivileged student according to teacher-student disagreement.

Mixture Distributions and Entropy Dynamics AMiD [28] introduces \(\alpha\)-mixture assistant distributions for knowledge distillation, making it conceptually related to our reverse-KL barycenter target, although AMiD does not address privileged self-distillation. Entropy stability has also emerged as an important issue in large-scale RL training systems such as DAPO [3] and in explicit entropy-control methods such as EntroPIC [29], motivating our focus on preserving exploration during dense distillation. PACED [30] studies distillation and on-policy self-distillation at the frontier of student competence, which is complementary to our token-level disagreement-based target adaptation.

3 Background and Problem Setting↩︎

3.1 Reinforcement Learning with Verifiable Rewards↩︎

We consider the standard RLVR setup for post-training LLMs. Given a dataset of questions \(\mathcal{D} = \{(x_i, a_i^*)\}_{i=1}^N\) where \(a_i^*\) is the verifiable answer, the model \(\pi_\theta(\cdot \mid x)\) generates rollouts \(y \sim \pi_\theta(\cdot \mid x)\) and receives a binary reward \(r(y, a^*) \in \{0, 1\}\) based on outcome correctness. GRPO [1] estimates advantages from these rewards within each rollout group and optimizes: \[\label{eq:grpo} \mathcal{L}_{\text{GRPO}}(\theta) = -\mathbb{E}_{x \sim \mathcal{D}} \mathbb{E}_{y \sim \pi_\theta(\cdot|x)} \left[ \hat{A}(y) \cdot \log \pi_\theta(y|x) \right] + \beta_{\text{KL}} \cdot \mathrm{KL}(\pi_\theta\| \pi_{\text{ref}}),\tag{2}\] where \(\hat{A}(y)\) is the group-relative advantage. For a group of \(G\) rollouts \(\{y_j\}_{j=1}^G\) sampled for the same question \(x\), GRPO computes \[\label{eq:grpo-advantage} \hat{A}(y_j) = \frac{r(y_j, a^*) - \mu_r}{\sigma_r + \epsilon}, \qquad \mu_r = \frac{1}{G}\sum_{k=1}^G r(y_k, a^*), \quad \sigma_r = \sqrt{\frac{1}{G}\sum_{k=1}^G \big(r(y_k, a^*) - \mu_r\big)^2},\tag{3}\] with a small constant \(\epsilon>0\) for numerical stability. The KL regularizer is defined as \[\label{eq:grpo-kl} \mathrm{KL}(\pi_\theta\| \pi_{\text{ref}}) = \mathbb{E}_{x \sim \mathcal{D}}\!\left[\sum_y \pi_\theta(y \mid x)\log\frac{\pi_\theta(y \mid x)}{\pi_{\text{ref}}(y \mid x)}\right] = \mathbb{E}_{x \sim \mathcal{D},\, y \sim \pi_\theta}\!\left[\sum_{t=1}^{|y|}\log\frac{\pi_\theta(y_t \mid x,y_{<t})}{\pi_{\text{ref}}(y_t \mid x,y_{<t})}\right].\tag{4}\] One of the fundamental limitations is that \(r\) provides only an outcome reward per response, offering no guidance on which tokens contributed more to success or failure.

3.2 On-Policy Self-Distillation↩︎

Reinforcement learning via self-distillation (SDPO) [4] addresses the credit assignment bottleneck by introducing dense, token-level supervision from a privileged version of the same model. The teacher \(\pi_{\theta}(\cdot \mid x, y^*)\) is the current model conditioned on both the question \(x\) and privileged information \(y^*\) (e.g., a verified reasoning trace or ground truth), while the student \(\pi_\theta(\cdot \mid x)\) receives only the question. Given a student-generated rollout \(\hat{y} \sim \pi_\theta(\cdot \mid x)\), the SDPO objective minimizes per-token divergence: \[\label{eq:opsd} \mathcal{L}_{\text{SDPO}}(\theta) = \mathbb{E}_{x \sim \mathcal{D}} \mathbb{E}_{\hat{y} \sim \pi_\theta(\cdot|x)} \left[ \sum_{t=1}^{|\hat{y}|} \mathrm{KL}\big(\pi_\theta(\cdot \mid x, \hat{y}_{<t}) \,\|\, \text{stopgrad}(\pi_\theta(\cdot \mid x, y^*, \hat{y}_{<t}))\big) \right].\tag{5}\] The key insight is that the teacher leverages its access to the privileged \(y^*\) to provide richer feedback than an outcome reward. The stopgrad operator prevents gradients from flowing into the teacher, which keeps the teacher from shifting toward the student and ignoring \(y^*\).

3.3 The Privileged Information Leakage Problem↩︎

While SDPO achieves impressive token efficiency, [13] proved that the setting is fundamentally ill-posed. Since the teacher conditions on privileged information \(y^*\) that the student cannot observe, the SDPO objective contains an irreducible mutual information gap: \[\label{eq:mi-gap} I(y_t; y^* \mid x, y_{<t}) > 0.\tag{6}\] This gap implies the student can never perfectly achieve the teacher’s conditional distribution, regardless of capacity. At the gradient level, per-sample gradients include an \(y^*\)-specific deviation whose variance is proportional to this mutual information. At the early stage of training, the beneficial gradient component dominates, producing rapid training reward improvement. However, as the student approaches the teacher’s marginal distribution, the deviation takes over, driving the student to encode \(x \to y^*\) correlations, which is exactly the privileged information leakage explained in  [13]. Empirically, SDPO performance peaks early and then gradually degrades during the remaining training stage.

The leakage problem points to a deeper issue: the teacher’s distribution is not always an appropriate target for direct fitting. Even if leakage could be eliminated, a student who exactly replicates the teacher has lost its own capacity for reasoning. What we need instead is a training target that adaptively incorporates the teacher’s guidance while preserving the student’s own reasoning ability.

4 The Proposed Method: DemoPSD↩︎

This section presents the proposed method DemoPSD, built on the principle of selective adoption of teacher guidance, i.e., the student follows the teacher’s guidance when privileged information does not heavily distort the teacher’s distribution so that it diverges substantially from the student’s distribution. Below, we first describe how to measure teacher-student disagreement (§4.1), then introduce the reverse-KL barycenter target that implements selective adoption (§4.2), derive its loss and gradient (§4.3), and describe the full training procedure (§4.4).

4.1 Measuring Teacher-Student Disagreement↩︎

The key ingredient of DemoPSD is measuring the disagreement between the teacher’s and student’s predictions at each token position: one made with privileged information, and one made without. Token positions where these predictions remain reasonably consistent are likely to reflect transferrable knowledge that the student can safely adopt, while positions where they substantially disagree indicate that the teacher’s output has been overly influenced by privileged information.

Disagreement and Leakage Attenuation Coefficient. At each token position \(t\), the privileged teacher’s prediction is obtained by conditioning the model on the question \(x\), the privileged information \(y^*\), and the student’s rollout prefix \(\hat{y}_{<t}\). For notational convenience, we write this distribution as \(\pi_T^t(v, y^*)\) as shorthand for \(\pi_\theta(v \mid x, y^*, \hat{y}_{<t})\). The corresponding student’s prediction conditions only on \(x\) and \(\hat{y}_{<t}\), and we write it as \(\pi_S^t(v)\) as shorthand for \(\pi_\theta(v \mid x, \hat{y}_{<t})\). We use these shorthand notations when no ambiguity arises and revert to the full conditional form when the conditioning context needs to be made explicit. The privileged prediction provides a rich teacher signal because it receives \(y^*\), while the student’s prediction serves as the reference distribution for evaluating disagreement. We describe how \(y^*\) is incorporated into the model’s context in §4.4. In practice, for training stability, we use a separate exponential moving average (EMA) copy of the student when computing the disagreement in 7 and the target distribution in 9 ; implementation details are summarized in Algorithm 2. We measure the disagreement \(d_t\) between \(\pi_T\) and \(\pi_S\) by using the Jensen-Shannon divergence (JSD): \[\label{eq:js-divergence} d_t = \mathrm{JSD}(\pi_S^t \| \pi_T^t) = \frac{1}{2}\mathrm{KL}(\pi_S^t \| m_t) + \frac{1}{2}\mathrm{KL}(\pi_T^t \| m_t), \quad m_t = \frac{1}{2}(\pi_S^t + \pi_T^t).\tag{7}\] From \(d_t\), we derive a leakage attenuation coefficient \(\alpha_t = f(d_t)\) that controls how much the target shifts away from the privileged teacher and toward the student’s own prediction. We require \(f\) to be monotonically increasing so that larger teacher-student disagreement leads to stronger leakage attenuation, and to satisfy \(f(0)=0\) so that the target reduces to the teacher distribution when the two predictions match. We also use a saturating form with \(\lim_{d \to \infty} f(d)=\alpha_{\max}\), which prevents extreme disagreement from completely discarding the teacher signal. The cap \(\alpha_{\max}\) is an empirical hyperparameter: setting it too large assigns too little weight to the teacher distribution and can weaken useful distillation signals. We realize \(f\) via a rescaled sigmoid: \[\label{eq:alpha-remap} \alpha_t = \big(\sigma(\beta \cdot d_t) - 0.5\big) \cdot 2 \cdot \alpha_{\max},\tag{8}\] where \(\beta\) controls the sensitivity of the gate to teacher-student disagreement: a larger \(\beta\) makes \(\alpha_t\) increase more sharply with small changes in \(d_t\), causing the target to move away from the privileged teacher more aggressively, whereas a smaller \(\beta\) yields a smoother transition and retains more teacher signal under moderate disagreement. This realization has two key properties: (1) When \(\alpha_t\) is sufficiently small, i.e., the two distributions are reasonably consistent, it is safe to distill; (2) As \(\alpha_t\) increases to \(\alpha_{\max}\), i.e., they strongly disagree, distillation becomes increasingly risky.

4.2 Reverse-KL Barycenter Target↩︎

Given the coefficient \(\alpha_t\), we define the distillation target as a geometric mixture of the two distributions. The target at token position \(t\) is: \[\label{eq:target-unnorm} \pi_{\text{target}}^{\alpha_t}(v \mid x, y^*, \hat{y}_{<t}) \propto \big(\pi_T^t(v, y^*)\big)^{1-\alpha_t} \cdot \big(\pi_S^t(v)\big)^{\alpha_t}.\tag{9}\] This distribution is the reverse-KL barycenter of the privileged teacher and the student distributions under the weight \(\alpha_t\), defined by \[\label{eq:reverse-kl-barycenter} \pi_{\text{target}}^{\alpha_t} = \mathop{\mathrm{arg\,min}}_{q \in \Delta(\mathcal{V})} \left\{ (1-\alpha_t)\mathrm{KL}\!\left(q \middle\| \pi_T^t\right) + \alpha_t\mathrm{KL}\!\left(q \middle\| \pi_S^t\right) \right\},\tag{10}\] where \(\Delta(\mathcal{V})\) denotes the probability simplex over the vocabulary \(\mathcal{V}\). The reverse-KL barycenter in 10 defines the weighted centroid of a collection of probability distributions, i.e., \(\pi_T^t\) and \(\pi_S^t\) in this problem, under the reverse KL divergence. Equivalently, this target interpolates between the teacher and student distributions in log-probability space, \[\begin{align} \log \pi_{\text{target}}^{\alpha_t}(v \mid x, y^*, \hat{y}_{<t}) = (1-\alpha_t)\log \pi_{T}^{t}(v, y^*) + \alpha_{t} \log \pi_{S}^t(v) - \log Z_{\alpha_t}, \end{align}\] where \(Z_{\alpha_t}\) is the normalization term for 9 defined as: \[\label{eq:target} Z_{\alpha_t} = \sum_v \pi_{\text{target}}^{\alpha_t}(v \mid x, y^*, \hat{y}_{<t}).\tag{11}\]

Geometric Mixture vs Arithmetic Mixture. The geometric mixture is chosen over the arithmetic alternative \(((1-\alpha_t)\pi_T^t + \alpha_t\pi_S^t)\) for two reasons: (1) Because probabilities are multiplied, a token receives substantial target mass only when it is supported by both the privileged teacher and the student. Thus, tokens endorsed primarily by the teacher but assigned very low probabilities by the student are naturally suppressed, whereas an arithmetic mixture would still allocate them non-trivial mass. (2) When the teacher and student distributions have different modes, an arithmetic mixture can average the modes into a diffuse target with inflated entropy. The geometric mixture avoids this mode-averaging effect, yielding a sharper and more coherent training signal. This is consistent with AMiD’s [28] observation that mixture geometry controls mode-covering versus mode-seeking behavior.

4.3 Loss Function↩︎

The student is trained to minimize the reverse KL divergence objective toward the reverse-KL barycenter target: \[\label{eq:dupsd-loss} \mathcal{L}_{\text{DemoPSD}}(\theta) = \mathbb{E}_{x \sim \mathcal{D}} \mathbb{E}_{\hat{y} \sim \pi_\theta(\cdot|x)} \left[ \sum_{t=1}^{|\hat{y}|} \mathrm{KL}\big(\pi_{\theta}(\cdot \mid x, \hat{y}_{<t}) \,\|\, \text{stopgrad}(\pi_{\text{target}}^{\alpha_t}(\cdot \mid x, y^*, \hat{y}_{<t}) )\big) \right].\tag{12}\] Directly computing and differentiating through the normalization term \(Z_{\alpha_t}\) would make the optimization complicated. However, the full target distribution is wrapped with stop-gradient: the teacher \(\pi_T^t\), the reference student \(\pi_S^t\), the weight \(\alpha_t\) are all treated as fixed during the backward pass. Consequently, \(Z_{\alpha_t}\) becomes constant and the optimization hence avoids directly backpropagating through it. Then the gradient of \(\mathcal{L}_{\text{DemoPSD}}\) takes the following form: \[\label{eq:grad-simple} \nabla_\theta \mathcal{L}_{\text{DemoPSD}} = \mathbb{E}_{\hat{y} \sim \pi_\theta(\cdot|x)} \sum_{t=1}^{|\hat{y}|} \Big[ \mathbb{E}_{\hat{y}_t \sim {\pi_\theta}(\cdot \mid x, \hat{y}_{<t}) } {\color{red} (1-\alpha_t)}\;\log \frac{{\pi_\theta}(\hat{y}_t \mid x, \hat{y}_{<t})}{\pi_\theta(\hat{y}_t \mid x, y^*, \hat{y}_{<t}) }\nabla_\theta \log {\pi_\theta}(\hat{y}_t \mid x, \hat{y}_{<t}) \Big].\tag{13}\] The DemoPSD gradient keeps the same reverse-KL score-function form while scaling the teacher-induced log-ratio signal by the disagreement-based factor \((1-\alpha_t)\). As illustrated in 13 , positions with larger teacher-student disagreement contribute a weaker distillation signal, reducing the tendency to backpropagate privileged information dependent guidance from the teacher.

4.4 Privileged Information Injection and Training Procedure↩︎

Algorithm 2 summarizes the full DemoPSD algorithm.

Privileged Information Injection. Generally, for each training prompt \(x\) with privileged information \(y^*\), and a relevant student-generated rollout \(\hat{y}\), we construct the teacher’s input by prepending \(y^*\) to the prompt context: \[[\texttt{Question:}~x~|~\texttt{Privileged Information:}~y^*~|~\texttt{Student Response:}~\hat{y}_{<t}].\] The student model receives only: \[[\texttt{Question:}~x~|~\texttt{Student Response:}~\hat{y}_{<t}],\] both of which share the same model. The only difference is whether the privileged information \(y^*\) is included in the conditioning context.

Reprompting Mechanism. For a correct rollout, the generated response itself contains rich solution information and can therefore serve as privileged information for the teacher model. Following [4], we use a reprompting mechanism to construct this privileged context: for each prompt group, if at least one rollout is correct, we randomly select one correct rollout as \(y^*\) and insert it into the teacher context above; if no rollout is correct, no reliable privileged teacher context can be formed, so the prompt is skipped for distillation. As explained in [4], model performance is not sensitive to syntactic variations of the reprompting template, so we use a similar template to instantiate the privileged information for the teacher model.

Figure 2: DemoPSD

5 Theoretical Analysis↩︎

This work aims to solve a central question that how we preserve the token-level distributional supervision while suppressing privileged information leakage caused by conditioning the teacher on \(y^*\)? Standard OPSD exploits dense teacher distributions but is vulnerable to leakage. In this section, we provide a detailed theoretical analysis of DemoPSD from the perspectives of leakage attenuation and exploration preservation.

As we have analyzed in §4.1, in practice, we maintain a separate EMA copy of the student as the unprivileged reference, and construct the teacher based on the EMA copy for stability. Let \(\pi_{\bar{\theta}}\) denote this EMA copy of the current student \(\pi_\theta\). Throughout this section, both the privileged teacher distribution \(\pi_T\) and the student distribution \(\pi_S\) in the target are obtained by conditioning \(\pi_{\bar{\theta}}\) on the corresponding privileged or unprivileged contexts. Following [13], we define the per-step leakage rate as the expected squared magnitude of the privileged deviation: \[\label{eq:leakage-rate} \mathcal{R}_{\text{leak}} = \mathbb{E}_t\!\left[\|\Delta_t\|^2\right], \quad \text{where } \Delta_t(v) = \log \pi_T^t(v, y^*) - \log \pi_S^t(v).\tag{14}\] In this definition, \(\Delta_t \in \mathbb{R}^{|\mathcal{V}|}\) is a vector indexed by tokens in the vocabulary \(\mathcal{V}\), and \(\|\Delta_t\|^2 = \sum_{v \in \mathcal{V}} \Delta_t(v)^2\) is its squared \(\ell_2\) norm, measuring the total squared log-probability shift induced by \(y^*\) at position \(t\). Throughout this section, we write \(\pi_\theta^t(v) := \pi_\theta(v \mid x, \hat{y}_{<t})\) for the student distribution at position \(t\), and \(\pi_{\text{target}}^{\alpha_t} := \pi_{\text{target}}^{\alpha_t}\) for the reverse-KL barycenter target defined in 9 with normalization constant \(Z_{\alpha_t}\) in 11 . Consequently, \(\Delta_t\) directly measures the influence of \(y^*\) on the model’s own prediction, rather than a discrepancy between two independent models.

Theorem 1 (Leakage Attenuation). The effective leakage rate induced by DemoPSD satisfies: \[\label{eq:attenuated-leakage} \mathcal{R}_{\mathrm{leak}}^{\mathrm{DemoPSD}} := \mathbb{E}_t\!\left[(1-\alpha_t)^2 \|\Delta_t\|^2\right] < \mathbb{E}_t\!\left[\|\Delta_t\|^2\right] = \mathcal{R}_{\mathrm{leak}},\qquad{(1)}\] where the strict inequality holds whenever \(\Pr(\alpha_t > 0) > 0\). Moreover, the attenuation is strongest where leakage risk is greatest: since \(\alpha_t\) is monotonically increasing in \(d_t\) and \(d_t\) correlates positively with \(\|\Delta_t\|\) (both measure the divergence between \(\pi_T^t\) and \(\pi_S^t\)), positions with larger privileged deviation tend to receive larger \(\alpha_t\) and hence stronger suppression.

The key message is that DemoPSD does not merely reduce the average leakage, it selectively attenuates positions that contribute most to leakage. The factor \((1-\alpha_t)\) scales down the privileged deviation \(\Delta_t\) in the gradient, and since \(\alpha_t\) correlates positively with \(\|\Delta_t\|\), the suppression is strongest precisely where it is most needed. Full proof is in Appendix 8.1.

Theorem 2 (Exploration Preservation). Let \(\pi_{\text{target}}^{\alpha_t}(v) \propto \big(\pi_T^t(v, y^*)\big)^{1-\alpha_t}\big(\pi_S^t(v)\big)^{\alpha_t}\) be the reverse-KL barycenter target with the leakage attenuation coefficient \(\alpha_t \in [0,\alpha_{\max}]\), and write \(\Delta_t(v) = \log \pi_T^t(v, y^*) - \log \pi_S^t(v)\) for the log-ratio. The full-teacher target minimized by SDPO is the special case \(\alpha_t = 0\), namely \(\pi_T^t\). Assume the privileged signal is positively aligned with the model’s own unprivileged prediction, i.e., \[\label{eq:cov-condition} \mathrm{Cov}_{q_{\gamma}^{t}}(\Delta_t,\, \log \pi_S^t) \;\geq\; 0\qquad{(2)}\] under every geometric interpolation \(q_{\gamma}^{t} \propto (\pi_T^t)^{\gamma}(\pi_S^t)^{1-\gamma}\), \(\gamma \in [0,1]\), between the student and teacher’s distributions. Then the DemoPSD target preserves strictly more entropy than the full-teacher target, with the ordering \[\label{eq:entropy-ordering} \mathcal{H}(\pi_S^t) \;\geq\; \mathcal{H}(\pi_{\text{target}}^{\alpha_t}) \;\geq\; \mathcal{H}(\pi_T^t),\qquad{(3)}\] holding with strict inequalities whenever \(0 < \alpha_t\) and \(\pi_T^t \neq \pi_S^t\). Moreover, the entropy gain \(\mathcal{H}(\pi_{\text{target}}^{\alpha_t}) - \mathcal{H}(\pi_T^t) \ge 0\) over the full-teacher target is non-decreasing in \(\alpha_t\): the more the teacher’s prediction depends on the privileged \(y^*\) (the larger \(\alpha_t\)), the more exploration capacity DemoPSD retains relative to SDPO.

Proof sketch. We write the family \(q_{\gamma}^{t}(v)\) as \(q_{\gamma}^{t}(v) \propto \pi_S^t(v)\,e^{\gamma\Delta_t(v)}\), which is an exponential family with parameter \(\gamma\) and sufficient statistic \(\Delta_t\). Differentiating \(\mathcal{H}(q_{\gamma}^{t}) = -\mathbb{E}_{q_{\gamma}^{t}}[\log q_{\gamma}^{t}]\) and using \(\frac{d}{d\gamma}\mathbb{E}_{q_{\gamma}^{t}}[f] = \mathrm{Cov}_{q_{\gamma}^{t}}(f, \Delta_t)\) yields \(\frac{d\mathcal{H}}{d\gamma} = -\mathrm{Cov}_{q_{\gamma}^{t}}(\Delta_t, \log q_{\gamma}^{t})\). Substituting \(\log q_{\gamma}^{t} = \log \pi_S^t + \gamma\Delta_t - \log Z_\gamma\) and expanding gives 15 . Under condition ?? , both terms are non-positive for \(\gamma > 0\), so \(\mathcal{H}(q_{\gamma}^{t})\) is decreasing. Since \(1-\alpha_t < 1\), the DemoPSD target \(q_{1-\alpha_t}\) has strictly higher entropy than the OPSD target \(q_1\). Full proof is in Appendix 8.2. ◻

The result follows by tracking the entropy along the geometric path \(q_{\gamma}^{t} \propto (\pi_T^t)^{\gamma}(\pi_S^t)^{1-\gamma}\) that connects the unprivileged distribution (\(q_0 = \pi_S^t\)) to the full teacher (\(q_1 = \pi_T^t\)); the DemoPSD target sits at \(q_{1-\alpha_t} = \pi_{\text{target}}^{\alpha_t}\), strictly short of the teacher. Along this path the entropy obeys \[\label{eq:entropy-derivative} \frac{d\,\mathcal{H}(q_{\gamma}^{t})}{d\gamma} \;=\; -\,\gamma\,\mathrm{Var}_{q_{\gamma}^{t}}[\Delta_t] \;-\; \mathrm{Cov}_{q_{\gamma}^{t}}(\Delta_t,\, \log \pi_S^t),\tag{15}\] which separates the entropy change into two terms. The first term \(-\gamma\,\mathrm{Var}_{q_{\gamma}^{t}}[\Delta_t]\) is the intrinsic entropy cost of incorporating the privileged signal: any nonconstant multiplicative shift reduces entropy, and this cost grows with the \(\gamma\). The second term \(-\mathrm{Cov}_{q_{\gamma}^{t}}(\Delta_t, \log \pi_S^t)\) captures the interaction with the model’s existing predictions, and condition ?? requires their positive correlation: tokens to which the model already assigns high probability receive a larger boost from \(y^*\). This is the natural regime for self-distillation, where the teacher is the same model with additional answer information and hence predominantly sharpens existing predictions rather than contradicting them. Because DemoPSD halts the interpolation at \(\gamma = 1-\alpha_t < 1\) rather than at the full teacher \(\gamma = 1\), it never pays the final, steepest portion of this entropy cost; the entropy it saves grows with \(\alpha_t\), consistent with the 33–98% entropy improvements over SDPO observed in Table 3.

These two results characterize why the reverse-KL barycenter target is suitable for privileged self-distillation. Theorem 1 shows that disagreement-dependent weighting attenuates the contribution of privileged deviations, thereby reducing the pressure to imitate privileged information dependent teacher signals. Theorem 2 complements this result by showing that, under the stated covariance condition, the barycenter target remains strictly more entropic than the full privileged-teacher target, preserving exploration where the teacher distribution is strongly shaped by \(y^*\). Combined with the gradient analysis in §4.3, these results indicate that DemoPSD retains dense token-level supervision when the teacher and student agree, while down-weighting teacher signals that are likely to reflect privileged information on high-disagreement positions.

6 Experiments↩︎

Table 1: Main results on SciKnowEval.Bold indicates the best method per metric. consistently outperforms both GRPO and SDPO across all four domains and all metrics.
mean@16 maj@16 best@16
2-4(lr)5-7(lr)8-10 Domain GRPO SDPO GRPO SDPO GRPO SDPO
Biology 33.51 36.88 39.25 34.84 38.07 40.64 58.36 64.04 68.51
Chemistry 65.83 71.70 72.98 66.72 72.41 73.71 80.47 85.94 90.05
Material 76.32 76.13 76.53 76.50 76.24 76.71 80.24 81.69 81.79
Physics 66.31 68.98 71.64 70.52 71.88 74.24 82.59 85.51 88.13
Average 60.49 63.42 65.10 62.14 64.65 66.33 75.42 79.30 82.12

6pt

Table 2: Out-of-distribution generalization on GPQA Extended. Material science has no GPQA counterpart. Values are taken at the final training stage (mean over the last three evaluations). remains stable and improves slightly across all three GPQA domains, whereas SDPO degrades substantially over training (Figure [fig:gpqa-ood]).
Method Biology Chemistry Physics Average
SDPO 57.81 28.62 52.99 46.47
61.42 41.75 59.98 54.38

8pt

We evaluate DemoPSD on scientific reasoning benchmarks, comparing against SDPO and GRPO as the primary baselines. The experiments focus on three aspects: in-domain accuracy, training entropy as an empirical indicator of exploration preservation, and out-of-distribution generalization as a proxy for reduced privileged information leakage.

6.1 Experimental Setup↩︎

Base Model. We use Qwen3-4B-Instruct [9] as the base model for all experiments.

Training Data. We train on SciKnowEval [31], a multi-domain scientific reasoning benchmark formulated as 4-choice multiple-choice questions. We train and evaluate separately on four domains: biology, chemistry, material science, and physics.

Evaluation Benchmarks. We evaluate the performance on the following benchmarks to assess both in-domain accuracy and out-of-domain generalization:

  • SciKnowEval (in-domain): Domain-matched test sets for each of the four scientific domains.

  • GPQA Extended [32] (out-of-domain): Graduate-level science questions in biology, chemistry, and physics. It is used to assess generalization beyond the training distribution.

Evaluation Metrics. For each test prompt, we sample 16 rollouts and report three complementary metrics that capture different aspects of model quality:

  • mean@16: Average accuracy across 16 sampled rollouts.

  • maj@16: Accuracy of the majority-voted answer across 16 rollouts.

  • best@16: Best accuracy among 16 rollouts.

Baselines. We compare DemoPSD against two baselines:

  • GRPO [1]: The standard RLVR baseline that estimates group-relative advantages from binary outcome rewards.

  • SDPO [4]: The on-policy self-distillation baseline.

All three methods use the same codebase, training infrastructure, base model, and training data, differing only in their optimization objectives: GRPO uses outcome-level reward, SDPO uses dense teacher supervision, and DemoPSD uses disagreement-modulated reverse-KL barycenter targets.

a
b

Figure 3: (a) Validation accuracy curves across four domains of SciKnowEval. (b) Sensitivity to \(\beta\).. a — Validation accuracy (mean@16) on SciKnowEval over training steps. DemoPSD maintains higher accuracy than SDPO across training, with the largest margins observed in biology and physics., b — Validation mean@16 vs.the sensitivity parameter \(\beta\) per domain. The dashed line is the SDPO baseline. DemoPSD remains competitive with or above the SDPO baseline across \(\beta \in[25, 100]\), while the optimal choice of \(\beta\) varies by domain.

Hyperparameters. All methods share the following settings: learning rate \(1 \times 10^{-6}\), batch size 64, 8 rollouts per prompt for training, max prompt length 2048, max response length 16384, 10 warmup steps, 3 training epochs. For distillation-based methods (SDPO and DemoPSD), we additionally use top-\(k = 100\) for distillation, EMA rate \(\eta = 0.05\), and training temperature \(= 1.0\) with validation temperature \(= 0.7\). DemoPSD-specific parameters: \(\alpha_{\max} = 0.15\). The sensitivity parameter \(\beta\) is tuned per domain (see §6.5). GRPO uses a KL penalty coefficient \(\beta_{\text{KL}} = 0.04\) and clips importance sampling ratios at 2.0. Training uses 8 NVIDIA H20 GPUs with FSDP, vLLM for rollout generation, and flash attention.

6.2 Main Results↩︎

Table 1 reports the accuracy results across all four scientific domains. On average, DemoPSD improves over SDPO by 1.68 on mean@16, 1.68 on maj@16, and 2.82 on best@16. The best@16 improvement is notably larger, indicating that DemoPSD’s preserved exploration entropy surfaces higher-quality reasoning paths during sampling. Compared to GRPO, the total gain from DemoPSD is 5.21 on mean@16, demonstrating that the combination of dense supervision and selective adoption leads to substantial improvement.

Figure 3 (a) shows how the validation accuracy mean@16 changes with training steps. DemoPSD matches or outperforms SDPO throughout training, and the difference grows in later epochs. This agrees with our theoretical prediction that reducing leakage becomes more helpful as the student moves closer to the teacher’s distribution. Figure 1 (b) reports the corresponding best@16 accuracy. The improvement is especially clear under best@16 and grows across training, indicating that the higher-entropy policy maintains broader solution coverage.

6.3 Out-of-Distribution Generalization↩︎

We evaluate the model’s out-of-distribution generalization capability on GPQA Extended dataset, which contains graduate-level science questions that differ substantially from SciKnowEval in format, difficulty, and question style. Table 2 reports the accuracy at convergence, and Figure 4 traces the full GPQA learning curves.

Figure 4: Out-of-distribution generalization on GPQA Extended. Each panel tracks GPQA accuracy over training for one domain (material science has no GPQA counterpart). SDPO reaches its best OOD accuracy early and then degrades as training progresses, consistent with accumulating in-domain overfitting and privileged information leakage. In contrast, DemoPSD maintains stable OOD performance and achieves an improvement over training.

Although SDPO and DemoPSD start from comparable OOD accuracy, their performance evolves in substantially different directions over training (Figure 4). SDPO reaches its best OOD performance early, but subsequently degrades across all three GPQA domains; the largest drop occurs in chemistry, where accuracy decreases from \(40.45\) to \(28.62\). This mirrors the in-domain leakage-degradation pattern (§3.3): by collapsing onto the teacher, SDPO overfits the training distribution and loses the exploratory capacity necessary to transfer to novel questions. In contrast, DemoPSD maintains stable OOD accuracy throughout training and achieves a measurable improvement, ending \(7.91\) above SDPO on average.

6.4 Training Dynamics↩︎

To understand how DemoPSD achieves its accuracy gains, we examine training dynamics, including entropy, disagreement, and hedging behavior at the final training step (Table 3).

Table 3: Training dynamics at the final step. maintains substantially higher entropy than SDPO across all domains.
Domain Method Entropy \(\Delta\)Ent. mean \(\bar{\alpha_t}\) mean \(\bar{d_t}\) Active %
Biology SDPO 0.602
0.816 +35.5% 0.055 0.046 64.8
Chemistry SDPO 0.322
0.555 +72.4% 0.036 0.037 84.0
Material SDPO 0.150
0.297 +98.0% 0.033 0.031 68.8
Physics SDPO 0.385
0.511 +32.7% 0.040 0.026 90.6

5pt

Entropy Preservation. DemoPSD maintains 33–98% higher final entropy than SDPO across all domains (Figure 1 (a)). The largest entropy gap appears in material science (+98.0%), where SDPO’s entropy drops to 0.150, close to entropy collapse.

Disagreement Sparsity. The average leakage attenuation coefficient \(\bar{\alpha_t}\) stays consistently low (0.033–0.055), while the mean disagreement \(\bar{d_t}\) ranges from 0.026 to 0.046. These values indicate that the target remains close to the teacher distribution for most tokens, with strong attenuation applied only to a small subset of positions exhibiting substantial teacher-student disagreement. This pattern is consistent with the selective adoption principle: DemoPSD preserves the teacher signal on most tokens and applies disagreement-modulated attenuation only at positions where teacher and student’s predictions diverge.

Active Sample Fraction. The “Active %” column in Table 3 denotes the fraction of training samples for which a valid privileged teacher context is available, namely samples whose prompt group contains at least one correct rollout. The active fraction correlates with domain difficulty.

Table 4: Sensitivity to \(\beta\) (mean@16). All configurations use \(\alpha_{\max}=0.15\).
\(\boldsymbol{\beta}\) Biology Chemistry Material Physics
15 71.93
25 72.98 76.46
50 71.90 76.53 70.55
70 39.25
100 36.88 76.06 71.64
SDPO 36.88 71.70 76.13 68.98

7pt

6.5 Hyperparameter Sensitivity↩︎

The key hyperparameter of DemoPSD is \(\beta\), which controls how sharply the leakage attenuation coefficient \(\alpha_t\) responds to disagreement. Table 4 shows the three best-performing \(\beta\) configurations for each domain.

A general pattern emerges that domains where the disagreement is smaller (e.g., physics with mean \(\bar{d_t} = 0.026\)) benefit from a higher \(\beta\) to amplify the weak disagreement signal, while domains with greater disagreement (e.g., biology with mean \(\bar{d_t} = 0.046\)) benefit from a lower \(\beta\) to avoid over-aggressive hedging. Across the range \(\beta \in [25, 100]\), DemoPSD consistently matches or outperforms SDPO, demonstrating moderate robustness.

Remap vs.Threshold Mode. All top-performing configurations adopt the remapped alpha schedule in 8 , which constrains \(\alpha_t\) to \([0, \alpha_{\max}]\) and guarantees that the privileged teacher retains at least \((1-\alpha_{\max})\) of the mixture weight. Figure 3 (b) further illustrates how accuracy varies with \(\beta\) across domains.

6.6 Disagreement Analysis↩︎

To characterize how disagreement is distributed across tokens, we summarize statistics of the per-token disagreement \(d_t\) and leakage attenuation coefficient \(\alpha_t\) for the best-performing DemoPSD run in each domain (Table 5).

Table 5: Statistics of disagreement-based attenuation at the final training step. For most tokens, the target remains close to the teacher distribution, while only a small subset of high-disagreement tokens is interpolated more strongly toward the student distribution.
Statistic Biology Chemistry Material Physics
Mean leakage attenuation coefficient \(\overline{\alpha}_t\) 0.055 0.036 0.033 0.040
Mean disagreement \(\overline{d}_t\) 0.046 0.037 0.031 0.026
Active sample fraction 64.8% 84.0% 68.8% 90.6%

7pt

a
b

Figure 5: Disagreement analysis of DemoPSD across four scientific domains.. a — Distribution of per-token JSD disagreement \(d_t\). Each panel shows one domain at the final training step. The distribution is heavily right-skewed: the vast majority of tokens have near-zero disagreement, and only 2%-5% exceed \(0.25\)., b — DemoPSD dynamics over training. Mean leakage attenuation coefficient \(\overline{\alpha}_t\) (blue, left axis) and mean JSD disagreement \(\overline{d}_t\) (pink, right axis) over training batch per domain. Both quantities remain small and relatively stable.

Across all domains, the disagreement distribution is strongly right-skewed: most tokens exhibit negligible disagreement, allowing the student to remain closely aligned with the teacher, while only a small subset of tokens (typically around 5) shows substantial divergence and triggers stronger attenuation of the privileged teacher signal. This sparsity is beneficial because DemoPSD preserves the dense token-level supervision of OPSD for the vast majority of positions, while selectively attenuating potential leakage only where the teacher-student mismatch is pronounced. Figure 5 (a) visualizes this sparsity directly. Figure 5 (b) shows the evolution of the mean attenuation coefficient \(\overline{\alpha}_t\) and disagreement \(\overline{d}_t\) over training steps.

7 Conclusion↩︎

We introduced DemoPSD, a self-distillation framework based on selective adoption of teacher guidance: instead of forcing the student to imitate the privileged teacher at every token, DemoPSD constructs a reverse-KL barycenter target that adaptively balances teacher guidance with the student’s own reasoning capacity. Our analysis shows that the disagreement-dependent barycenter weight directly modulates the teacher-induced signal in the training gradient: low-disagreement tokens retain dense teacher supervision, whereas high-disagreement tokens receive attenuated privileged guidance. We formalized this behavior through leakage attenuation and exploration preservation, showing how the proposed learning target reduces pressure to imitate privileged information while maintaining higher-entropy supervision. Empirically, DemoPSD improves over SDPO and GRPO across four scientific domains, maintains 35–98% higher training entropy, and generalizes robustly to out-of-distribution benchmarks.

8 Detailed Proofs↩︎

8.1 Complete Proof of Theorem 1↩︎

Proof. We fix a token position \(t\) and suppress the expectations over \(x\) and \(\hat{y}\) for clarity. Recall the notation: \(\pi_\theta^t(v) = \pi_\theta(v \mid x, \hat{y}_{<t})\), \(\pi_T^t(v, y^*) = \pi_{\bar{\theta}}(v \mid x, y^*, \hat{y}_{<t})\), \(\pi_S^t(v) = \pi_{\bar{\theta}}(v \mid x, \hat{y}_{<t})\), and \(\Delta_t(v) = \log \pi_T^t(v, y^*) - \log \pi_S^t(v)\).

Following [13], the leakage at position \(t\) is driven by the \(\nabla_\theta \mathbb{E}_{\pi_\theta^t}[\Delta_t]\) term, which is the component that carries \(y^*\)-dependent information and pushes the student to encode privileged correlations. In standard OPSD, this term enters with coefficient \(1\), yielding a per-position leakage contribution proportional to \(\|\Delta_t\|^2\). In DemoPSD, the same term enters with coefficient \((1-\alpha_t)\), yielding per-position contribution \((1-\alpha_t)^2 \|\Delta_t\|^2\).

Since \(\alpha_t = (\sigma(\beta \cdot d_t) - 0.5) \cdot 2 \cdot \alpha_{\max} > 0\) whenever \(d_t > 0\), we have \((1-\alpha_t) < 1\) on all positions with nonzero disagreement. Taking expectations over positions: \[\begin{align} \mathcal{R}_{\mathrm{leak}}^{\mathrm{DemoPSD}} &= \mathbb{E}_t\!\left[(1-\alpha_t)^2 \|\Delta_t\|^2\right] \nonumber \\ &= \Pr(d_t = 0)\cdot \mathbb{E}\!\left[\|\Delta_t\|^2 \mid d_t = 0\right] + \Pr(d_t > 0)\cdot \mathbb{E}\!\left[(1-\alpha_t)^2 \|\Delta_t\|^2 \mid d_t > 0\right] \nonumber \\ &< \Pr(d_t = 0)\cdot \mathbb{E}\!\left[\|\Delta_t\|^2 \mid d_t = 0\right] + \Pr(d_t > 0)\cdot \mathbb{E}\!\left[\|\Delta_t\|^2 \mid d_t > 0\right] \nonumber \\ &= \mathbb{E}_t\!\left[\|\Delta_t\|^2\right] = \mathcal{R}_{\mathrm{leak}}, \end{align}\] where the strict inequality uses \((1-\alpha_t)^2 < 1\) on \(\{d_t > 0\}\), which has positive probability by assumption. Since \(\alpha_t\) is monotonically increasing in \(d_t\) and \(d_t = \mathrm{JSD}(\pi_S^t \| \pi_T^t)\) correlates with \(\|\Delta_t\|\), the attenuation factor \((1-\alpha_t)^2\) is smallest at positions with the largest \(\|\Delta_t\|\), concentrating the suppression where it is most needed. ◻

8.2 Complete Proof of Theorem 2↩︎

Proof. We fix a token position \(t\), using the same notation as in Appendix 8.1.

Step 1: Exponential family structure. Write \(q_{\gamma}^{t}(v) = \pi_S^t(v)\,e^{\gamma\,\Delta_t(v)}/Z_\gamma\) where \(Z_\gamma = \sum_v \pi_S^t(v)\,e^{\gamma\,\Delta_t(v)}\) is the partition function and \(\Delta_t(v) = \log \pi_T^t(v, y^*) - \log \pi_S^t(v)\). This is a one-parameter exponential family with parameter \(\gamma\), sufficient statistic \(\Delta_t(v)\), and base measure \(\pi_S^t\).

At the boundary values: \(q_0(v) = \pi_S^t(v)\) and \(q_1(v) = \pi_S^t(v) e^{\Delta_t(v)}/Z_1 = \pi_T^t(v, y^*)\). The DemoPSD target corresponds to \(\gamma = 1-\alpha_t\), so \(q_{1-\alpha_t} = \pi_{\text{target}}^{\alpha_t}\).

Standard exponential family identities give: \[\frac{d\log Z_\gamma}{d\gamma} = \mathbb{E}_{q_{\gamma}^{t}}[\Delta_t], \qquad \frac{d^2\log Z_\gamma}{d\gamma^2} = \mathrm{Var}_{q_{\gamma}^{t}}[\Delta_t] \geq 0.\]

A key property we will use: for any function \(f\colon \mathcal{V} \to \mathbb{R}\), \[\frac{d}{d\gamma}\mathbb{E}_{q_{\gamma}^{t}}[f] = \mathrm{Cov}_{q_{\gamma}^{t}}(f,\,\Delta_t). \label{eq:app-exp-cov}\tag{16}\]

Step 2: Entropy derivative. Since \(\log q_{\gamma}^{t}(v) = \log \pi_S^t(v) + \gamma\,\Delta_t(v) - \log Z_\gamma\), the entropy is: \[\mathcal{H}(q_{\gamma}^{t}) = -\mathbb{E}_{q_{\gamma}^{t}}[\log q_{\gamma}^{t}] = -\mathbb{E}_{q_{\gamma}^{t}}[\log \pi_S^t] - \gamma\,\mathbb{E}_{q_{\gamma}^{t}}[\Delta_t] + \log Z_\gamma.\] Differentiating each term with respect to \(\gamma\): \[\begin{align} \frac{d}{d\gamma}\big(-\mathbb{E}_{q_{\gamma}^{t}}[\log \pi_S^t]\big) &= -\mathrm{Cov}_{q_{\gamma}^{t}}(\log \pi_S^t,\,\Delta_t), \tag{17} \\ \frac{d}{d\gamma}\big(-\gamma\,\mathbb{E}_{q_{\gamma}^{t}}[\Delta_t]\big) &= -\mathbb{E}_{q_{\gamma}^{t}}[\Delta_t] - \gamma\,\mathrm{Var}_{q_{\gamma}^{t}}[\Delta_t], \tag{18} \\ \frac{d\log Z_\gamma}{d\gamma} &= \mathbb{E}_{q_{\gamma}^{t}}[\Delta_t]. \tag{19} \end{align}\] 17 uses 16 with \(f = \log \pi_S^t\) and 18 uses the product rule and 16 with \(f = \Delta_t\). Summing 1719 , the \(\mathbb{E}_{q_{\gamma}^{t}}[\Delta_t]\) terms cancel such that \[\frac{d\,\mathcal{H}(q_{\gamma}^{t})}{d\gamma} = -\mathrm{Cov}_{q_{\gamma}^{t}}(\Delta_t,\,\log \pi_S^t) - \gamma\,\mathrm{Var}_{q_{\gamma}^{t}}[\Delta_t]. \label{eq:app-entropy-deriv}\tag{20}\]

Step 3: Monotonicity under the covariance condition. Under condition ?? , both terms in 20 are non-positive for \(\gamma > 0\):

  • \(-\gamma\,\mathrm{Var}_{q_{\gamma}^{t}}[\Delta_t] \leq 0\), with strict inequality when \(\gamma > 0\) and \(\Delta_t\) is nonconstant (i.e., \(\pi_T^t \neq \pi_S^t\));

  • \(-\mathrm{Cov}_{q_{\gamma}^{t}}(\Delta_t,\,\log \pi_S^t) \leq 0\) by the condition.

Hence \(\frac{d\,\mathcal{H}(q_{\gamma}^{t})}{d\gamma} \leq 0\) for all \(\gamma \in [0,1]\), with strict inequality on \((0,1]\) when \(\pi_T^t \neq \pi_S^t\).

Step 4: Entropy ordering. Since \(\mathcal{H}(q_{\gamma}^{t})\) is strictly decreasing on \([0,1]\) when \(\pi_T^t \neq \pi_S^t\): \[\mathcal{H}(\pi_S^t) = \mathcal{H}(q_0) > \mathcal{H}(q_{1-\alpha_t}) = \mathcal{H}(\pi_{\text{target}}^{\alpha_t}) > \mathcal{H}(q_1) = \mathcal{H}(\pi_T^t),\] where the strict inequalities require \(0 < \alpha_t < 1\) (so that \(0 < 1-\alpha_t < 1\), placing the DemoPSD target strictly between the two endpoints) and \(\pi_T^t \neq \pi_S^t\). ◻

9 Implementation Details↩︎

Top-\(k\) Distillation. We extract top-\(k=100\) tokens from the student’s logits, compute both teacher probabilities on this same subset, and aggregate remaining mass into a tail bucket. This reduces memory from \(O(|\mathcal{V}|)\) to \(O(k)\) per position. The student’s top-\(k\) indices are shared with both teacher forwards, ensuring all three distributions are index-aligned.

Probability Floor. All teacher log-probabilities are clamped: \(\log p(v) \leftarrow \max(\log p(v), \log 10^{-8})\) to prevent numerical issues in the geometric mixture computation.

Importance Sampling Clip. To stabilize training across PPO minibatches, we clip the importance sampling ratio: \(\rho = \min(\exp(\log \pi_\theta(y_t) - \log \pi_{\theta_{\text{old}}}(y_t)), 2.0)\).

EMA Schedule. The unprivileged reference uses EMA rate \(\eta = 0.05\), updated once after all minibatches complete within a training step.

Masking. Only response tokens are included in the loss (\(\mathcal{T}\) excludes prompt tokens). Samples without a valid reprompt (demopsd_mask = 0) have their loss contribution zeroed.

Privileged Context Truncation. When the privileged prompt (question + correct solution + student response) exceeds the maximum reprompt length (10,240 tokens), the demonstration is truncated from the right, preserving the system/user prefix. This is a deliberate departure from SDPO’s error-on-overflow behavior, ensuring training proceeds even with long demonstrations.

References↩︎

[1]
Zhihong Shao, Peiyi Wang, Qihao Zhu, Runxin Xu, Junxiao Song, Xiao Bi, Haowei Zhang, Mingchuan Zhang, YK Li, Yang Wu, et al. Deepseekmath: Pushing the limits of mathematical reasoning in open language models. arXiv preprint arXiv:2402.03300, 2024.
[2]
DeepSeek-AI. Deepseek-r1: Incentivizing reasoning capability in llms via reinforcement learning. arXiv preprint arXiv:2501.12948, 2025.
[3]
Qiying Yu, Zheng Zhang, Ruofei Zhu, Yufeng Yuan, Xiaochen Zuo, Yu Yue, Weinan Dai, Tiantian Fan, Gaohong Liu, Lingjun Liu, et al. Dapo: An open-source llm reinforcement learning system at scale. Advances in Neural Information Processing Systems, 38: 113222–113244, 2026.
[4]
Jonas Hübotter, Frederike Lübeck, Lejs Behric, Anton Baumann, Marco Bagatella, Daniel Marta, Ido Hakimi, Idan Shenfeld, Thomas Kleine Buening, Carlos Guestrin, et al. Reinforcement learning via self-distillation. arXiv preprint arXiv:2601.20802, 2026.
[5]
Rishabh Agarwal, Nino Vieillard, Yongchao Zhou, Piotr Stanczyk, Sabela Ramos Garea, Matthieu Geist, and Olivier Bachem. On-policy distillation of language models: Learning from self-generated mistakes. In International Conference on Learning Representations, volume 2024, pages 21246–21263, 2024.
[6]
Yuxian Gu, Li Dong, Furu Wei, and Minlie Huang. Minillm: Knowledge distillation of large language models. In International Conference on Learning Representations, volume 2024, pages 32694–32717, 2024.
[7]
Kevin Lu and Thinking Machines Lab. On-policy distillation. Thinking Machines Lab: Connectionism, 2025.
[8]
Stéphane Ross, Geoffrey Gordon, and Andrew Bagnell. A reduction of imitation learning and structured prediction to no-regret online learning. In Proceedings of the Fourteenth International Conference on Artificial Intelligence and Statistics, 2011.
[9]
Qwen Team. Qwen3 technical report. arXiv preprint arXiv:2505.09388, 2025.
[10]
DeepSeek-AI. Deepseek-v4: Towards highly efficient million-token context intelligence, 2026.
[11]
Siyan Zhao, Zhihui Xie, Mengchen Liu, Jing Huang, Guan Pang, Feiyu Chen, and Aditya Grover. Self-distilled reasoner: On-policy self-distillation for large language models. arXiv preprint arXiv:2601.18734, 2026.
[12]
Idan Shenfeld, Mehul Damani, Jonas Hübotter, and Pulkit Agrawal. Self-distillation enables continual learning. arXiv preprint arXiv:2601.19897, 2026.
[13]
Chenxu Yang, Chuanyu Qin, Qingyi Si, Minghui Chen, Naibin Gu, Dingyu Yao, Zheng Lin, Weiping Wang, Jiaqi Wang, and Nan Duan. Self-distilled rlvr. arXiv preprint arXiv:2604.03128, 2026.
[14]
Ken Ding. Hdpo: Hybrid distillation policy optimization via privileged self-distillation. arXiv preprint arXiv:2603.23871, 2026.
[15]
Junlong Ke, Zichen Wen, Weijia Li, Conghui He, and Linfeng Zhang. Respecting self-uncertainty in on-policy self-distillation for efficient llm reasoning. arXiv preprint arXiv:2605.13255, 2026.
[16]
Gengsheng Li, Tianyu Yang, Junfeng Fang, Mingyang Song, Mao Zheng, Haiyun Guo, Dan Zhang, Jinqiao Wang, and Tat-Seng Chua. Unifying group-relative and self-distillation policy optimization via sample routing. arXiv preprint arXiv:2604.02288, 2026.
[17]
Hongbin Zhang, Chaozheng Wang, Kehai Chen, Youcheng Pan, Yang Xiang, Jinpeng Wang, and Min Zhang. Tailoring teaching to aptitude: Direction-adaptive self-distillation for llm reasoning. arXiv preprint arXiv:2605.22263, 2026.
[18]
Alex Stein, Furong Huang, and Tom Goldstein. Gates: Self-distillation under privileged context with consensus gating. arXiv preprint arXiv:2602.20574, 2026.
[19]
Jongwoo Ko, Sara Abdali, Young Jin Kim, Tianyi Chen, and Pashmina Cameron. Scaling reasoning efficiently via relaxed on-policy distillation. arXiv preprint arXiv:2603.11137, 2026.
[20]
Ijun Jang, Jewon Yeom, Juan Yeo, Hyunggu Lim, and Taesup Kim. Stable on-policy distillation through adaptive target reformulation. arXiv preprint arXiv:2601.07155, 2026.
[21]
Mingyang Song and Mao Zheng. A survey of on-policy distillation for large language models. arXiv preprint arXiv:2604.00626, 2026.
[22]
Yinghui He, Simran Kaur, Adithya Bhaskar, Yongjin Yang, Jiarui Liu, Narutatsu Ri, Liam Fowl, Abhishek Panigrahi, Danqi Chen, and Sanjeev Arora. Self-distillation zero: Self-revision turns binary rewards into dense supervision. arXiv preprint arXiv:2604.12002, 2026.
[23]
Yiqiao Jin, Yiyang Wang, Lucheng Fu, Yijia Xiao, Yinyi Luo, Haoxin Liu, B. Aditya Prakash, Josiah Hester, Jindong Wang, and Srijan Kumar. Unisd: Towards a unified self-distillation framework for large language models. arXiv preprint arXiv:2605.06597, 2026.
[24]
Hejian Sang, Yuanda Xu, Zhengze Zhou, Ran He, Zhipeng Wang, and Jiachen Sun. Crisp: Compressed reasoning via iterative self-policy distillation. arXiv preprint arXiv:2603.05433, 2026.
[25]
Xin Yu, Liuchen Liao, Yiwen Zhang, Yingchen Yu, Lingzhou Xue, and Qinzhen Guo. Preference-based self-distillation: Beyond kl matching via reward regularization. arXiv preprint arXiv:2605.05040, 2026.
[26]
Zhiquan Tan and Yinrong Hong. Paint: Partial-solution adaptive interpolated training for self-distilled reasoners. arXiv preprint arXiv:2604.26573, 2026.
[27]
Jeonghye Kim, Xufang Luo, Minbeom Kim, Sangmook Lee, Dohyung Kim, Jiwon Jeon, Dongsheng Li, and Yuqing Yang. Why does self-distillation (sometimes) degrade the reasoning capability of llms? arXiv preprint arXiv:2603.24472, 2026.
[28]
Donghyeok Shin, Yeongmin Kim, Suhyeon Jo, Byeonghu Na, and Il-Chul Moon. Amid: Knowledge distillation for llms with \(\alpha\)-mixture assistant distribution. In The Fourteenth International Conference on Learning Representations, 2026.
[29]
Kai Yang, Xin Xu, Yangkun Chen, Weijie Liu, Jiafei Lyu, Zichuan Lin, Deheng Ye, and Saiyong Yang. Entropic: Towards stable long-term training of llms via entropy stabilization with proportional-integral control. arXiv preprint arXiv:2511.15248, 2025.
[30]
Yuanda Xu, Hejian Sang, Zhengze Zhou, Ran He, and Zhipeng Wang. Paced: Distillation and on-policy self-distillation at the frontier of student competence. arXiv preprint arXiv:2603.11178, 2026.
[31]
Kehua Feng, Xinyi Shen, Weijie Wang, Xiang Zhuang, Yuqi Tang, Qiang Zhang, and Keyan Ding. Sciknoweval: Evaluating multi-level scientific knowledge of large language models. arXiv preprint arXiv:2406.09098, 2024.
[32]
David Rein, Betty Li Hou, Asa Cooper Stickland, Jackson Petty, Richard Yuanzhe Pang, Julien Dirani, Julian Michael, and Samuel R Bowman. Gpqa: A graduate-level google-proof q&a benchmark. arXiv preprint arXiv:2311.12022, 2023.