Manuscript Offprint

arXiv:2611.04958

Shuffled OPSD: When Semantic Consistency Hurts On-Policy Self-Distillation?

Qingyuan Zheng, Zhihao Dou

ABSTRACT

Knowledge distillation improves a student model's reasoning ability through supervision from a teacher. On-policy self-distillation (OPSD) uses the same model as both teacher and student under different contexts: the student generates reasoning trajectories from the question alone, while the teacher additionally receives a complete worked example and provides token-level supervision along those trajectories. Because the problem statement is shared, its content and ordering shape both student generation and teacher feedback. Preserving its semantic structure therefore seems natural, but does it always improve learning? We introduce Shuffled OPSD, which shuffles the words of the shared problem statement while keeping the teacher-only worked example intact. Across three mathematical reasoning benchmarks and three Qwen3 model scales, the method improves mean accuracy over both an intact-target control and Standard OPSD under matched training configurations. The largest gain over Standard OPSD is 3.52 percentage points on Qwen3-1.7B. Further controls show that preserving larger word blocks offers no advantage over word-level shuffling at the evaluated scales, whereas shuffling the teacher-only worked example reduces accuracy at every scale. Cross-problem mixing and target-removal experiments further distinguish the roles of problem content, word order, and teacher context. These results show that disrupting the shared problem statement can improve learning, while disrupting the teacher-only reference hurts performance. They challenge semantic coherence as a universally beneficial principle for OPSD and motivate closer study of how input structure shapes student generation and teacher supervision.

Figure

Figure 1: Shuffled OPSD transforms the problem statement shared by student and teacher during training. The transformation affects both student rollout generation and frozen-teacher scoring of the same prefixes, while the teacher-only reference remains intact. Evaluation uses the final step-50 student on the original unmodified problems.

November 3, 2026

1 INTRODUCTION

Recent advances in large language models (LLMs) have substantially improved mathematical reasoning through post-training methods such as reinforcement learning (Shao et al., 2024; Yu et al., 2025; Liu et al., 2025), supervised fine-tuning (Ouyang et al., 2022; Wei et al., 2021), and knowledge distillation (Zhao et al., 2026a). Among these approaches, on-policy distillation combines two useful properties: the student learns on trajectories sampled from its own policy, while a teacher provides dense token-level supervision on those trajectories (Agarwal et al., 2023; Gu et al., 2023). On-policy self-distillation (OPSD) (Zhao et al., 2026a) further removes the need for a separate teacher model by instantiating teacher and student from the same backbone under different conditioning contexts. The student sees the problem and generates its own response, while a frozen teacher scores the same prefixes with access to privileged context such as a worked solution.

Most work on OPSD has focused on the privileged information available to the teacher. Recent studies examine whether the teacher needs a correct solution, how much reasoning should be exposed, and whether useful learning persists with absent or unrelated references (Shrestha & Tessier, 2026; Zhang et al., 2026; Shen et al., 2026; Li et al., 2026; Zhao et al., 2026b). These results suggest that richer or more semantically relevant teacher context does not always translate into a better trained student. However, a separate part of the OPSD conditioning structure has received much less attention: the problem statement shared by both teacher and student is normally kept intact.

The shared problem plays a different role from teacher-only privileged information. It determines which trajectories the student generates and therefore which prefixes receive supervision. It also conditions the student and teacher distributions used to compute the distillation loss. Its structure thus affects both where learning occurs and what feedback the teacher provides. This makes the shared problem a distinct design dimension: changing its structure can alter the learning process even when the teacher reference and distillation objective remain fixed.

We ask whether preserving the semantic structure of the shared problem improves OPSD, or whether deliberately disrupting it can produce a better student. Destroying word order appears counterproductive for mathematical reasoning. Yet OPSD trains through teacher feedback on student-generated trajectories, rather than directly rewarding the semantic coherence of its inputs. A problem statement that is easier to interpret need not induce trajectories and supervision that lead to better learning. This motivates treating the shared problem as a training interface, whose structure can differ from that of the intact problems used at inference.

Based on this intuition, we introduce Shuffled OPSD. We first replace the teacher's target-associated solution with a complete worked example from an unrelated problem, forming the UNRELATEDREF condition. Across three model scales, this condition retains performance comparable to Standard OPSD, with differences in three-benchmark mean accuracy of at most 0.55 percentage points. Building on this condition, Shuffled OPSD permutes the word order of the problem seen by both student and teacher while keeping the teacher-only reference intact. The student generates its trajectory from the shuffled problem, and the frozen teacher provides token-level supervision under the same transformed problem together with the reference. The transformation preserves the problem's words, numbers, and symbolic content while disrupting their ordering. The distillation objective remains unchanged, and evaluation always uses the original intact problems.

Our experiments reveal a consistent pattern: replacing the teacher reference with an unrelated example preserves performance, shuffling the shared problem improves it, and additionally shuffling the teacher reference reduces it. Using the final checkpoints after 50 optimizer steps, word-level shuffling improves three-benchmark mean accuracy over Standard OPSD by 3.52, 1.11, and 1.38 percentage points on Qwen3-1.7B, Qwen3-4B, and Qwen3-8B, respectively. At 1.7B and 4B, preserving larger word blocks offers no advantage over word-level shuffling. These results support selective semantic disruption: disrupting the shared problem's ordering while retaining the structure of the teacher's reference. They extend the study of OPSD from what information the teacher receives to how the shared input is organized.

Our contributions are as follows: First, we identify the semantic structure of the shared problem as a distinct design dimension in OPSD, affecting both student-generated trajectories and teacher supervision. Second, we introduce Shuffled OPSD, a simple input transformation that improves reasoning performance without changing the distillation objective or inference procedure. Third,

November 3, 2026

Figure

Figure 2: Shuffled OPSD selectively transforms the problem statement shared by student and teacher. The transformation changes both the student prefix distribution and the distillation signal evaluated on those prefixes, while the teacher-only reference remains intact. Paths and token scores are schematic.

through controlled interventions on the shared problem and teacher-only reference, we show that their semantic structures play different roles and establish selective semantic disruption as an effective input-design principle across three model scales.

References (48)