Manuscript Offprint
arXiv:2610.09639On-Policy Distillation Teaches New Skills but Not New Knowledge
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Yixuan Tang and Yi Yang
The Hong Kong University of Science and Technology
Abstract: On-policy distillation (OPD) strengthens language-model reasoning, yet whether students acquire new factual knowledge or compositional skill for multi-step reasoning remains unknown. We separate these capabilities using a controlled synthetic framework that measures the student's initial capabilities and independently controls the teacher's additional facts, compositional skill, or both. Across four models from three families, reverse-KL OPD reliably transfers compositional skill across unseen reasoning structures, but transfers minimal factual knowledge. Decoupling the distillation recipe reveals the source of this asymmetry: replacing reverse KL with forward KL restores factual transfer, whereas student rollouts specifically improve the execution of multi-step reasoning. Experiments on recent factual QA and competition mathematics show a similar asymmetry under reverse-KL OPD, yielding notable reasoning gains without factual memory expansion. Together, these results demonstrate that on-policy distillation does not expand a model's parametric knowledge, but instead teaches it to organize and compose the knowledge it already possesses.
1. Introduction
Knowledge distillation transfers capabilities from a large teacher model to a smaller student [4, 10, 15]. This allows smaller models to approach the performance of capable teachers at lower cost [34]. Standard distillation, however, trains the student on fixed teacher outputs, so supervision never covers the student's own generation mistakes; this mismatch is known as exposure bias. On-policy distillation (OPD) addresses this limitation by supervising the student along its own generation trajectories [1, 9, 20]. Because supervision targets the prefixes the student actually produces, OPD strengthens complex reasoning and is now widely used in post-training pipelines such as Gemini and Qwen [27, 29].
Yet these empirical gains leave open what the student learns from the teacher. In multi-step reasoning, reaching an answer requires both recalling domain facts and coordinating intermediate results [22]. Higher benchmark scores can therefore reflect newly acquired facts, improved compositional skill, or both, but end-to-end evaluation cannot separate them. These capabilities address distinct computational demands: factual knowledge relies on stored associations in memory, whereas compositional skill determines how intermediate steps are combined [16, 21, 33]. A model can possess the relevant facts yet fail to compose them, or master multi-step reasoning yet fail when querying unfamiliar facts. Understanding what distillation transfers therefore requires evaluating factual knowledge and compositional skill as independent dimensions.
This distinction matters for how on-policy distillation can be applied in practice. If factual knowledge transfers, distillation offers a way to expand a model's parametric memory with new facts. If compositional skill transfers, it teaches the student to use its existing factual knowledge across new reasoning patterns. We therefore ask whether on-policy distillation transfers a teacher's factual knowledge, compositional skill, or both.
Existing work offers conflicting perspectives on this question. Ding and Zhang [6] show that suppressing low-probability student tokens can match OPD's reasoning gains without teacher supervision. In contrast, Li et al. [19] argue that successful OPD requires the teacher to offer new capabilities beyond what the student has seen during training. Yet neither line of work clarifies whether the student gains new capabilities from the teacher, and whether such gains reflect factual knowledge or compositional skill. Answering these questions requires measuring the student's initial capabilities, controlling the teacher's additional facts and compositional skill, and evaluating both dimensions independently. Such control is difficult with pretrained language models:
Correspondence to: ytangch@connect.ust.hk, imyiyang@ust.hk their training corpora are too vast to audit what they already know, and natural-language tasks often require factual recall and reasoning together.
To achieve this control, we construct a synthetic environment that explicitly separates factual knowledge from compositional skill (Fig. 1). In natural language, factual knowledge often involves specific associations that cannot be inferred from syntax alone [21]. Thus, we operationalize factual knowledge as a set of arbitrary input–output associations stored in a lookup table. Each table maps a pair of input digits to an output digit. To ensure that these associations must be memorized rather than inferred, we sample all table entries independently and uniformly at random, with no underlying algebraic rule. As a result, the answer to an unseen table entry cannot be derived from other entries. The model can answer correctly only if it has learned that specific mapping. This construction also lets us control exactly which facts are available to the student during training. Beyond recalling individual facts, multi-step reasoning also requires the model to organize and reuse them across successive computations. We operationalize compositional skill as the ability to combine facts across multi-step reasoning structures. In a sequential chain, each step directly uses the result of the previous step. In a branching tree, the model must solve separate branches, retain intermediate results across intervening steps, and combine them later in the correct order. By varying the tree structure while holding the underlying facts and number of operations fixed, we test whether the model acquires a general compositional skill rather than memorizing a specific computation pattern.
Within this controlled setup, we establish an initial student, , by training it on an initial set of facts using single-step queries and sequential chains. This student reliably recalls the initial facts, but achieves near-zero accuracy on held-out facts and on branching trees. Here, initial and held-out refer to whether a fact is included during student initialization. Starting from , we then train three specialized teachers: is additionally trained on the held-out facts, on branching trees using only the initial facts, and on both. We also retain the unchanged as a baseline teacher, , which has neither additional knowledge nor additional compositional skill. We then distill each teacher into a student initialized from and separately evaluate whether the student acquires the teacher's additional knowledge or compositional skill, including whether the latter generalizes to previously unseen tree structures.
Across four models from three families, our experiments reveal a consistent asymmetry in what is transferred: on-policy distillation with reverse KL transfers compositional skill while failing to transfer factual knowledge. Students distilled from reach 79.10% accuracy under greedy decoding on unseen tree structure, compared with 0.72% under the baseline teacher . In contrast, students distilled from reach only 13.12% on single-step queries about held-out facts and 0.54% on chains of such facts. To identify the source of this asymmetry, we separate two components of the distillation procedure: the source of training prefixes and the direction of the KL objective. Replacing reverse KL with forward KL substantially restores factual transfer under both student-generated and teacher-generated prefixes, whereas student-generated prefixes primarily improve multi-step compositional execution. Real-world benchmarks on recent factual question answering and competition mathematics show the same pattern: reverse-KL OPD improves mathematical reasoning by 6.47 percentage points but produces no improvement in factual recall over the initial student.
These findings suggest that reverse-KL based OPD primarily teaches models how to use what they already know, rather than reliably adding what they do not know. For practitioners, this distinction suggests that OPD is better suited for strengthening compositional reasoning than for factual knowledge updating, whereas forward-KL objectives are substantially more effective when transferring new factual information is the goal.
On-Policy Distillation On-policy distillation addresses this mismatch by evaluating teacher supervision on
(a) Factual knowledge

1234 5678 = 9025
20 initial
5 held-out
One table = one fact
Compositional skill

Chain
Tree
Same facts and steps
(b)
Student
Initial facts + single steps / chains
Frozen baseline
: held-out facts
: branching trees
(c) Controlled experiment

Student rollout
Teacher
frozen
Student
init:
Reverse KL
(d) Evaluation
Recall held-out facts
Single-step queries and chains
Compose initial facts
Branching-tree queries
Figure 1: Overview of the setup. (a) Random lookup tables represent facts; chains and trees specify how their query results are combined. (b) Starting from , teachers add exposure to held-out facts ( ), branching trees ( ), or both, with frozen as the baseline. (c) A fixed teacher supervises student rollouts with reverse KL. (d) Evaluation separates factual recall on held-out facts from compositional skill over initial facts.
student-generated trajectories. Generalized Knowledge Distillation (GKD) formalizes this approach across different divergence objectives [1], while MiniLLM uses reverse KL to discourage the student from assigning excessive probability to sequences that are unlikely under the teacher [9]. Empirical studies report contrasting findings on what students acquire through this supervision. Some studies report evidence of capability expansion: the Qwen3 technical report shows that on-policy distillation improves Pass@64 on math reasoning, whereas reinforcement learning from the same checkpoint leaves Pass@64 unchanged [29]. In addition, SDFT demonstrates factual knowledge acquisition through on-policy self-distillation from a teacher conditioned on additional information [26]. In contrast, other studies argue that reasoning gains mainly reflect more efficient sampling of existing capabilities. At larger sampling budgets, pre-OPD models can match or outperform their distilled counterparts, suggesting improved access to existing reasoning capabilities rather than a broader capability boundary [8, 32]. Furthermore, Ding and Zhang [6] show that suppressing low-probability student tokens without teacher supervision can match OPD's reasoning gains. These findings concern different sources of teacher information and different measures of student capability. To address these confounding factors, we independently control the additional knowledge and compositional skill available to the teacher and evaluate whether each is transferred to the student.
Synthetic Tasks for Factual Knowledge and Compositional Skill Controlled synthetic tasks make it possible to precisely control training exposure and measure generalization. Morris et al. [21] measure memorization capacity using uniformly random sequences with known information content. To study compositional skill, Yuan et al. [33] construct string-transformation tasks in which models first learn atomic functions and then learn to compose them through reinforcement learning. Synthetic tasks have also been used to study distillation: Behrens and Zdeborová [3] show that teacher soft labels can convey memorized associations that students never directly observe. We use controlled synthetic tasks to examine factual knowledge and compositional skill transfer under on-policy distillation. Each random lookup table represents a piece of factual knowledge, while chains and branching trees determine how known facts must be combined during multi-step reasoning. By independently varying the additional knowledge and skill available to the teacher, we test what the student acquires through distillation.
3. Experimental Setting: Separating Knowledge and Skill
To identify what is transferred during on-policy distillation, we need to control both the student's initial capabilities and the teacher's additional knowledge and skill. We therefore construct a controlled setting in which these capabilities can be varied independently.
3.1. Synthetic Tasks for Knowledge and Reasoning
Factual Knowledge as Random Lookup Tables Isolating factual transfer requires distinguishing memorization from rule-based generalization [21]. If a task contains learnable patterns, a model can deduce unseen answers rather than recall the specified mapping. We therefore operationalize each fact as a two-argument mapping represented by one random lookup table. Because the entries have no underlying algebraic structure, the model must learn these associations to answer queries about the fact. Therefore, withholding selected tables during student initialization controls which facts the student encounters.
We instantiate each fact as a lookup table . Each table contains 100 entries, each mapping an input digit pair to an output digit. We use to denote the result of applying table independently at each digit position:
A single-step fact query therefore requires four digit lookups with no carry across positions. For example, fact is identified by [OP_3], and the query 1234 [OP_3] 5678 evaluates to 9025. The lookup table itself is not included in the prompt, so answering correctly requires the corresponding associations to have been learned during training. We generate 25 facts, , partitioned into 20 initial facts, , and five held-out facts, . Initial facts are included during student initialization, whereas held-out facts are excluded. This partition remains fixed throughout teacher training and distillation. The tokens [OP_1] through [OP_25] identify the facts in the serialized input and output.
Compositional Skill across Reasoning Structures Compositional skill is the ability to order fact queries and supply intermediate results according to a computation graph [22, 33]. To isolate this ability from factual recall, we construct sequential chains and branching trees that query the same set of facts and require the same number of operations. In a chain, each step simply takes the result of the immediately preceding step and applies the next fact. In a branching tree, independent branches are evaluated before their results are combined. Although the output is still generated sequentially, the model must retrieve earlier intermediate results across intervening steps to combine independent branches. In our setting, chains are used during student initialization, while branching trees test compositional skill without introducing new facts.
A simple three-step example illustrates how intermediate results are passed in each structure:
Here, are four-digit inputs, and denotes a query to fact . In the chain, step 3 uses the immediately preceding result and input . In the tree, step 3 combines and , requiring retrieval of across the intervening computation of . Thus, the two structures use the same facts but differ in how intermediate results must be organized and reused. In our main experiments, each query contains seven operations over eight inputs. Each completion includes an explicit step-by-step execution trace followed by the final answer. We measure the student's initial performance on both chain and branching-tree structures in Section 3.2. Appendix A provides complete prompt and completion examples.
3.2. Student Initialization and Teacher Design
We establish an initial student, , by training it on an initial set of facts and sequential chains. We then verify that it reliably recalls these facts and executes chains, but performs poorly on held-out facts and branching trees.
Initial Student We use four base models: Qwen3-0.6B and Qwen3-4B [29], Gemma-2-2B [28], and OLMo3-7B [24]. All distillation experiments begin from the initial student, . We obtain by fine-tuning a base LLM on queries about the initial facts, , using single-step queries and sequential chains of varying lengths. This initialization teaches the output format and factual recall while excluding data about held-out facts, , and branching trees. Evaluation confirms that reliably executes chains over initial facts but rarely solves branching trees or queries about held-out facts. Appendix B reports the training mixture and baseline measurements.
Controlled Teacher Design Starting from , we train three specialized teachers by augmenting its training distribution with data about held-out facts (), branching trees over initial facts (), or both (), corresponding to and in Fig. 1(b). Together with the frozen baseline teacher , they form a factorial design crossing exposure to held-out facts with exposure to branching trees. Here, denotes factual knowledge and denotes compositional skill. All teachers share the student's base architecture and initialization. Table 1(a) summarizes the factual knowledge and compositional skill of the initial student and teachers. Evaluations confirm the intended capability separation. For example, using Qwen3-4B as base model, reaches 100% accuracy on held-out factual knowledge queries but only 0.60% on unseen branching trees, whereas reaches 100% on unseen trees but 0% on held-out factual queries (Table 5).
Table 1: Student and teacher capabilities and distillation conditions.
| Model | Factual knowledge | Compositional skill |
|---|---|---|
| Initial facts | Chain execution | |
| Initial facts | Chain execution | |
| Initial + held-out facts | Chain execution | |
| Initial facts | Chain and branching-tree execution | |
| Initial + held-out facts | Chain and branching-tree execution |
| (b) On-policy distillation | ||
|---|---|---|
| Fixed teacher | Student starts from | Distillation prompts |
| Chains querying held-out facts | ||
| Branching trees over initial facts | ||
| Branching trees querying held-out facts | ||
| Same queries as the run | ||
| Same queries as the run | ||
3.3. On-Policy Distillation and Evaluation
Training Objective All distillation runs start from the same student and keep the selected teacher fixed. Given a prompt , the current student policy samples a completion , which is called a rollout. At each position , the teacher's next-token distribution is conditioned on the same prompt and the student's preceding tokens . We train the student to match this distribution using token-level reverse KL [1, 9]. For a batch of prompt-completion pairs, the loss is
where counts completion tokens, excluding prompt and padding positions. Sampled completions are held fixed during each update, and gradients pass only through . Optimization details appear in Appendix B.
Distillation Conditions To test factual knowledge transfer, we distill from using multi-step chains that contain held-out facts. To test compositional skill transfer, we distill from using multi-step trees over initial facts. The joint condition uses with trees that also contain held-out facts. As a baseline, we use
Factual knowledge


Qwen3-0.6B
Gemma-2-2B
Qwen3-4B
OLMo3-7B
Figure 2: Student performance after on-policy distillation under each teacher. Top: greedy final-answer accuracy; bottom: final-answer Pass@32 (at least one of 32 sampled completions correct). Numbers above each group show the unweighted mean across four models. All values are percentages.
on the same prompts to provide a control with no additional teacher knowledge or skill. Dataset sizes and mixtures appear in Appendix B.2.
Evaluation We evaluate factual recall with single-step queries and multi-step chains over held-out facts. Compositional skill is evaluated on multi-step trees over initial facts. To measure generalization, we divide tree structures into three groups: Shared structures appear in both teacher training and distillation. Teacher-only structures appear only in teacher training. Unseen structures appear in neither. Distillation from and uses only shared structures, while evaluation covers all three groups using fresh queries. Appendix B.3 provides the split details, test definitions, and metrics.
4. Synthetic Experiment Results
4.1. On-Policy Distillation Teaches New Skills but Not New Knowledge
Figure 2 shows that on-policy distillation transfers compositional skill beyond the tree structures used during training. Averaged across the four models, students distilled from achieve 80.96% greedy accuracy on teacher-only tree structures and 79.10% on unseen structures, compared with just 0.72% on the same unseen structures under the matched control. The high accuracy on unseen tree structures shows that the acquired compositional skill generalizes beyond the structures encountered during training. Importantly, both the teacher-only and unseen tests use only facts that had already learned during initialization. The improvement therefore reflects a new ability to organize and combine existing knowledge.
Factual knowledge transfer is far more limited and varies across models. Students distilled from achieve a mean greedy accuracy of 13.12% on single-step queries about held-out facts, compared with 0.03% under the matched control. Gemma-2-2B reaches 32.95%, showing that factual recall can improve in certain architectures. However, accuracy drops to just 0.54% on multi-step chains where every step queries a held-out fact.
This asymmetry between factual knowledge and compositional skill transfer persists under a larger sampling budget. Pass@32 counts a query as solved when at least one of 32 sampled completions has the correct final answer. Students distilled from achieve a mean Pass@32 of 88.11% on unseen tree structures. In
Factual knowledge Accuracy ↑

Compositional skill Accuracy ↑
Factual knowledge NLL ↓
FKL -O - RKL
Compositional skill NLL ↓

Figure 3: Effects of prefix source and KL direction. Rows show Qwen3-4B and Gemma-2-2B. Factual knowledge is evaluated after distillation from ; compositional skill after distillation from . Accuracy measures greedy final answers; NLL is reported for reference completions in bits per completion. Reference prefixes come from teacher demonstrations.
contrast, students distilled from reach only 15.74% Pass@32 on single-step queries and 2.58% on chains, both querying held-out facts. The joint condition exhibits the same disparity: students acquire robust compositional skills across tree structures while unable to reliably recall or chain new facts. Rollout accuracy and reverse-KL training curves are reported in Appendix C (Figure 5).
Insight 1: Transfer Asymmetry in Standard OPD
On-policy distillation transfers compositional skill, but fails to transfer factual knowledge.
4.2. Distilling the Distillation Recipe
Why does on-policy distillation transfer compositional skill but fail on factual knowledge? In sequence distillation, the training procedure combines two independent design choices [1, 5]: where the training prefixes come from, and how the student matches the teacher's next-token distribution. Standard OPD couples student rollouts with reverse KL, whereas offline distillation couples teacher demonstration prefixes with forward KL. We therefore separate these two factors to determine which one drives the observed transfer asymmetry.
The first choice is the prefix source. To predict token , the student conditions on a prefix of earlier tokens . In offline teacher-forcing, this prefix is drawn from ground-truth teacher demonstrations , training the student exclusively along correct execution paths. In on-policy distillation, the student generates its own prefixes through autoregressive rollouts , extending supervision to intermediate states that follow its own generation mistakes.
The second choice is the divergence objective. At each prefix , the frozen teacher supplies a target next-token distribution , and the student predicts . Standard OPD minimizes reverse KL, [9, 20], which is mode-seeking and weights prediction errors by the student's own probabilities. In contrast, offline distillation typically minimizes forward KL, , which is mean-covering and penalizes the student whenever it assigns low probability to tokens favored by the teacher.
Evaluation Crossing these two choices yields a factorial design. We evaluate all four combinations on
Qwen3-4B and Gemma-2-2B. We test factual recall on single-step queries about held-out facts after distillation from , and compositional skill on unseen tree structures after distillation from . All runs share the initial checkpoint , training data, and optimization hyperparameters. We also report negative log-likelihood on teacher demonstrations (NLL, in bits per completion) to measure the probability mass the student assigns to correct multi-step executions independently of greedy decoding choices.
Factual Transfer Depends on the Divergence Objective Figure 3 shows that factual recall depends almost entirely on the divergence objective, not the prefix source. Under student prefixes, replacing reverse KL with forward KL substantially increases single-step greedy accuracy: from 10.95% to 54.10% in Qwen3-4B, and from 32.95% to 94.10% in Gemma-2-2B. Under teacher prefixes, forward KL reaches similar accuracy (54.05% in Qwen3-4B and 93.00% in Gemma-2-2B), showing that on-policy rollouts provide no distinct advantage for learning new facts. Reference-completion NLL confirms this pattern, dropping substantially under forward KL across both prefix sources.
These results show that OPD's failure on factual knowledge stems from the divergence objective, not from on-policy exploration. Because reverse KL evaluates discrepancies under the student's distribution, it only penalizes mistakes on tokens the student already produces with substantial probability. When the student does not know a fact, it assigns negligible probability to the correct target, incurring almost no penalty for the omission. Forward KL, by contrast, evaluates discrepancies under the teacher's distribution, heavily penalizing the student whenever it misses the teacher's target.
Student Rollouts Strengthen Compositional Skill Student rollouts strengthen compositional skill on unseen tree structures. Under both KL directions, training on student prefixes yields lower reference-completion NLL in both models. Greedy accuracy also improves in three of the four comparisons. For Qwen3-4B, switching from teacher to student prefixes reduces NLL from 2.40 to 1.77 bits under reverse KL and from 2.13 to 1.15 bits under forward KL. For Gemma-2-2B, the corresponding reductions are from 28.13 to 25.65 bits and from 17.40 to 13.65 bits. Thus, training on the student's own trajectories improves the average log-likelihood of correct reference completions, even when the evaluated tree structures were absent from training.
Insight 2: Decoupling the Distillation Recipe
The KL direction determines factual knowledge transfer, while on-policy exploration drives compositional skill transfer.
5. Real-World Validation
To test whether the transfer asymmetry observed in synthetic tasks holds in natural language settings, we evaluate on-policy distillation on recent factual knowledge acquisition and mathematical reasoning. These domains represent two different capabilities: factual question answering requires acquiring information that the student does not initially know, whereas mathematical reasoning requires applying and composing existing knowledge across multiple steps.
Benchmark and Teacher Design We conduct experiments on Qwen3-4B-Base. We first fine-tune this model on general-instruction data from Tulu-3-SFT [17] to establish our initial student . We curate two complementary evaluation suites:
-
For recent factual knowledge, KNOWLEDGE-2026 aggregates 809 question-answer pairs that entered public discourse in 2026, combining items from RealTimeQA [14], SealQA [25], FreshQA [31], and newly edited Wikipedia articles extracted via the WikiBigEdit pipeline [30]. Because these items postdate the training cutoff of Qwen3-4B-Base, achieves only 11.25% greedy accuracy.
-
For mathematical reasoning, MATH-2026 contains 201 competition problems drawn from MathArena [2] and NuminaMath-CoT [18], where achieves 17.41% greedy accuracy. The 201 problems are held out from a curated pool of 1,000. The remaining 799 serve as distillation prompts.
Starting from , we train two specialized teachers by supervised fine-tuning. The knowledge teacher is fine-tuned on the full set of 809 factual question-answer pairs, and its 84.55% on KNOWLEDGE-2026 is measured on this same set. The reasoning teacher is fine-tuned on competition mathematics with verified step-by-step solutions [7], reaching 43.78% on MATH-2026 (Table 2). Further benchmark and teacher details appear in Appendix D.
On-Policy Distillation Protocol and Results To test factual transfer, we distill from using these same factual question prompts for student rollouts. To test reasoning transfer, we distill from over these 799 problem prompts without demonstration traces. Table 2 compares performance before and after distillation.
Table 2: Greedy accuracy (%) before and after on-policy distillation on real-world benchmarks. Shaded cells indicate each teacher's target capability.
| Model | Role / Condition | KNOWLEDGE-2026 | MATH-2026 |
|---|---|---|---|
| Qwen3-4B | Initial student | 11.25 | 17.41 |
| Knowledge teacher | 84.55 | 13.93 | |
| Reasoning teacher | 12.24 | 43.78 | |
| Distilled from | 9.64 | 19.40 | |
| Distilled from | 10.75 | 23.88 |
The real-world outcomes closely mirror our findings in the synthetic setting. For recent factual knowledge, on-policy distillation fails to transfer the teacher's knowledge: student accuracy drops slightly from 11.25% to 9.64%, remaining near its initial level despite the teacher reaching 84.55%. Thus, even when the student is explicitly prompted with missing facts during distillation, factual recall remains near its initial level.
For mathematical reasoning, on-policy distillation successfully transfers the teacher's multi-step capability: distillation from increases greedy accuracy on MATH-2026 from 17.41% to 23.88% (a 6.47 percentage point gain). This acquired skill generalizes effectively to competition problems excluded from distillation. Neither distillation run produces cross-capability transfer: distilling from leaves factual recall at 10.75% (matching 's 11.25%), while distilling from shifts math accuracy only to 19.40%. Therefore, real-world tasks show the same transfer asymmetry: standard OPD improves reasoning skills but transfers factual knowledge only weakly.
6. Additional Analysis
6.1. Execution Traces of Factual and Compositional Failures
To examine how distillation failures manifest during generation, we inspect greedy execution traces from Qwen3-4B on held-out chains and unseen trees (Figure 4).
In Figure 4(a), the student is distilled from with reverse KL and evaluated on a chain over held-out facts. The student follows the step-by-step format without error, passing intermediate outputs to the next query and closing with an answer tag. What fails is the lookup facts: each step outputs an incorrect number from the queried table, such as 0135 instead of 8135. Across evaluation chains, the execution format never breaks, but most individual lookups are incorrect. Distillation from the same teacher with forward KL provides the target entries and matches the teacher demonstration.
In Figure 4(b), the student is distilled from with forward KL and evaluated on an unseen tree over initial facts. Here, the student recalls every queried fact correctly, but flattens the tree into a left-to-right chain. After evaluating the first pair of leaves, it takes the next number 3754 as an operand rather than resolving the subtree 3754 [OP_20] 0476 first. Because does not have tree skill, the student never learns how to navigate branching dependencies during its own rollouts. Distillation from with reverse KL corrects the evaluation order and solves the tree. In summary, these examples show that knowledge failures produce wrong values, whereas skill failures produce wrong reasoning order.
6.2. Weight Updates under Factual and Compositional Distillation
We next examine how factual and compositional distillation reshape the student's parameters by analyzing the merged LoRA updates relative to in Qwen3-4B, Gemma-2-2B, and OLMo3-7B (Table 3). Across all three models, two clear mechanistic patterns emerge.
(a) Chain querying only held-out facts: correct structure, wrong values
(((((3486 [OP_24] 2845) [OP_24] 0536) [OP_22] 7919) [OP_24] 1381) [OP_22] 2146) [OP_25] 4658) [OP_25] 3844 = ?
Student distilled from with reverse KL
3486 [OP_24] 2845=0135; 0135 [OP_24] 0536=0426; 0426 [OP_22] 7919=5020; 5020 [OP_24] 1381=3609; 3609 [OP_22] 2146=1948; 1948 [OP_25] 4658=1332; 1332 [OP_25] 3844=2752; [ANS] 2752 [/ANS]
Student distilled from with forward KL (matches teacher demonstration)
3486 [OP_24] 2845=8135; 8135 [OP_24] 0536=9422; 9422 [OP_22] 7919=0726; 0726 [OP_24] 1381=3007; 3007 [OP_22] 2146=1326; 1326 [OP_25] 4658=3440; 3440 [OP_25] 3844=5149; [ANS] 5149 [/ANS]
(b) Unseen tree over initial facts: correct values, flattened structure
((2250 [OP_8] 0227) [OP_6] (3754 [OP_20] 0476)) [OP_16] (((9734 [OP_1] 6055) [OP_12] 7785) [OP_4] 8848) = ?
Student distilled from with forward KL
2250 [OP_8] 0227=8071; 8071 [OP_6] 3754=6519; 6519 [OP_20] 0476=7364; 9734 [OP_1] 6055=0619; 0619 [OP_12] 7785=1563; 1563 [OP_4] 8848=7255; 7255 [OP_16] 7364=8812; [ANS] 8812 [/ANS]
Student distilled from with reverse KL (matches teacher demonstration)
2250 [OP_8] 0227=8071; 3754 [OP_20] 0476=8437; 8071 [OP_6] 8437=0493; 9734 [OP_1] 6055=0619; 0619 [OP_12] 7785=1563; 1563 [OP_4] 8848=7255; 0493 [OP_16] 7255=2271; [ANS] 2271 [/ANS]
Figure 4: Greedy execution traces from Qwen3-4B students after distillation. (a) Seven-step chain over held-out facts: reverse KL maintains correct execution syntax but outputs incorrect lookup values (red), whereas forward KL restores correct lookups. (b) Unseen tree over initial facts: forward KL recalls all facts correctly but flattens the tree into a linear sweep (red), whereas reverse KL from executes the valid postorder. Red highlights incorrect values or misrouted operands; green marks correct final answers.
First, factual and compositional distillation occupy near-orthogonal parameter subspaces. Across matched prefix sources and divergence objectives, the cosine similarity between updates from and is near zero, ranging from 0.004 to 0.046. In contrast, changing the divergence objective while holding the task fixed preserves substantial directional alignment, reaching cosine similarities of 0.64–0.82 under . This demonstrates that storing facts and acquiring compositional skills recruit distinct directions in parameter space rather than competing for the same weights.
Second, the two capabilities modify distinct network depths. In Qwen3-4B, updates from concentrate in the final layers, increasing monotonically with depth and peaking at layer 35 where final vocabulary predictions are formed. Conversely, updates from concentrate in the early and middle layers, peaking at layers 3 and 11 before decaying toward the output. This divergence aligns with functional roles in Transformer architectures, where late layers mediate token-level factual associations while earlier layers route and assemble intermediate representations across multi-step dependencies. Appendix E provides full breakdowns across individual projections, singular value distributions, and embedding drift (Table 6).
Insight 3: Orthogonal Subspaces and Depth Specialization
Factual and compositional updates occupy near-orthogonal parameter directions and separate across network depths, with facts concentrating in final layers and compositional skill reshaping early routing layers.
Table 3: LoRA weight updates relative to . (a) Update magnitude and directional alignment across models. (b) Layer-wise norm distribution across depth quartiles in Qwen3-4B. Full breakdowns across all projections and embedding drift appear in Appendix E (Table 6).
| (a) Parameter Metric | Qwen3-4B | Gemma-2-2B | OLMo3-7B |
|---|---|---|---|
| Update Norm: (factual) | 2.01–2.86 | 1.33–1.52 | 3.08–3.89 |
| Update Norm: (compositional) | 1.27–1.55 | 1.13–1.60 | 2.50–3.21 |
| Update Norm: (control) | 0.30–0.32 | 0.20–0.24 | 0.48–0.55 |
| Cosine Similarity: vs. | 0.004–0.018 | 0.011–0.036 | 0.004–0.046 |
| Cosine Similarity: Rev. vs. Fwd. KL () | 0.73–0.78 | 0.64–0.82 | 0.68–0.80 |
| (b) Qwen3-4B Layer Norms | L0–8 | L9–17 | L18–26 | L27–35 | Peak Layer |
|---|---|---|---|---|---|
| (factual knowledge) | 0.24–0.33 | 0.25–0.39 | 0.33–0.46 | 0.46–0.65 | Layer 35 |
| (compositional skill) | 0.25–0.29 | 0.26–0.27 | 0.18–0.25 | 0.11–0.24 | Layers 3, 11 |
| (control baseline) | 0.04–0.05 | 0.05–0.05 | 0.05–0.05 | 0.06–0.06 | Layer 29 |
6.3. Transfer under Alternative Distillation Objectives
We extend the comparison in Section 4.2 to objectives that combine the effects of forward and reverse KL, keeping student rollouts as the prefix source. On Qwen3-4B, we evaluate GKD with Jensen–Shannon divergence () [1], ToDi with a sigmoid-weighted combination of forward and reverse KL for each vocabulary token [13], and EOPD, which adds forward KL to a reverse-KL objective at positions with high teacher entropy [12]. Each objective is evaluated with and , starting from .
Table 4: Greedy final-answer accuracy (%) on Qwen3-4B with alternative distillation objectives. All distillation runs use student prefixes.
| Objective | Teacher | Teacher | ||
|---|---|---|---|---|
| FACT-SINGLE | COMP-UNSEEN | FACT-SINGLE | COMP-UNSEEN | |
| (no distillation) | 0.1 | 1.8 | 0.1 | 1.8 |
| Reverse KL | 10.9 | 0.7 | 0.1 | 76.8 |
| Forward KL | 54.1 | 0.5 | 0.1 | 76.4 |
| GKD () | 9.1 | 0.7 | 0.1 | 70.6 |
| ToDi | 64.3 | 0.5 | 0.1 | 86.4 |
| EOPD | 13.7 | 0.7 | 0.1 | 78.7 |
Table 4 shows that ToDi achieves the highest accuracy on both target tests: 64.3% factual recall after distillation from and 86.4% on unseen tree structures after distillation from . These exceed forward KL by 10.2 and 10.0 percentage points, respectively. GKD and EOPD retain the transfer asymmetry, reaching 70.6% and 78.7% on unseen tree structures but only 9.1% and 13.7% factual recall. Thus, hybrid divergence objectives can improve both factual and compositional transfer, with performance varying substantially across objectives. Across all objectives, distillation from leaves compositional accuracy near zero, while distillation from leaves held-out factual recall at its initial level.
7. Conclusion
This paper investigates what language models acquire through on-policy distillation by separating factual knowledge from multi-step compositional skill. Across synthetic tasks and real-world benchmarks, we observe a consistent transfer asymmetry: standard reverse-KL OPD transfers compositional skill strongly but factual knowledge only weakly. By separating the source of training prefixes from the divergence objective, we show that factual transfer is primarily determined by the KL objective, whereas student rollouts improve multi-step compositional execution. Forward KL substantially improves factual transfer under both student- and teacher-generated prefixes. Overall, these findings suggest that standard on-policy distillation is better suited for improving how language models organize and use existing knowledge than for updating factual knowledge. When factual knowledge transfer is the goal, forward-KL supervision provides a more effective alternative.
References
[1] 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.
[2] Mislav Balunovic, Jasper Dekoninck, Ivo Petrov, Nikola Jovanović, and Martin Vechev. Matharena: Evaluating llms on uncontaminated math competitions. Advances in Neural Information Processing Systems, 38, 2026.
[3] Freya Behrens and Lenka Zdeborová. Dataset distillation for memorized data: Soft labels can leak held-out teacher knowledge. In International Conference on Learning Representations, volume 2026, pages 157366–157388, 2026.
[4] Alex Cloud, Minh Le, James Chua, Jan Betley, Anna Sztyber-Betley, Sören Mindermann, Jacob Hilton, Samuel Marks, and Owain Evans. Language models transmit behavioural traits through hidden signals in data. Nature, 652(8110):615–621, 2026.
[5] Wojciech M Czarnecki, Razvan Pascanu, Simon Osindero, Siddhant Jayakumar, Grzegorz Swirszcz, and Max Jaderberg. Distilling policy distillation. In The 22nd international conference on artificial intelligence and statistics, pages 1331–1340. PMLR, 2019.
[6] Yi Ding and Ruqi Zhang. Does on-policy distillation really distill? from noisy teacher to self-improvement. arXiv preprint arXiv:2608.31046, 2026.
[7] Wei Du, Shubham Toshniwal, Branislav Kisacanin, Sadegh Mahdavi, Ivan Moshkov, George Armstrong, Stephen Ge, Edgar Minasyan, Feng Chen, and Igor Gitman. Nemotron-math: Efficient long-context distillation of mathematical reasoning from multi-mode supervision. In 3rd AI for Math Workshop: Toward Self-Evolving Scientific Agents, 2026. URL https://openreview.net/forum?id=FK9LEhmjof.
[8] Xinmu Ge, Zizhuo Zhang, Yu Huang, Jianing Zhu, Lin Yuan, Wanli Gu, Weichang Wu, Weiran Huang, Xiaolu Zhang, Bo Han, et al. Towards understanding on-policy distillation through the lens of test-time scaling. arXiv preprint arXiv:2608.11829, 2026.
[9] 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.
[10] Geoffrey Hinton, Oriol Vinyals, and Jeff Dean. Distilling the knowledge in a neural network. arXiv preprint arXiv:1503.02531, 2015.
[11] Edward J Hu, yelong shen, Phillip Wallis, Zeyuan Allen-Zhu, Yuanzhi Li, Shean Wang, Lu Wang, and Weizhu Chen. LoRA: Low-rank adaptation of large language models. In International Conference on Learning Representations, 2022.
[12] Woogyeol Jin, Taywon Min, Yongjin Yang, Dennis Wei, Yi Zhou, Swanand Ravindra Kadhe, Nathalie Baracaldo, and Kimin Lee. Entropy-aware on-policy distillation of language models. In Forty-third International Conference on Machine Learning, 2026. URL https://openreview.net/forum?id=J5i09fa00f.
[13] Seongryong Jung, Suwan Yoon, DongGeon Kim, and Hwanhee Lee. Todi: Token-wise distillation via fine-grained divergence control. In Proceedings of the 2025 Conference on Empirical Methods in Natural Language Processing, pages 8089–8102, 2025.
[14] Jungo Kasai, Keisuke Sakaguchi, Ronan Le Bras, Akari Asai, Xinyan Yu, Dragomir Radev, Noah A Smith, Yejin Choi, Kentaro Inui, et al. Realtime qa: What's the answer right now? Advances in neural information processing systems, 36:49025–49043, 2023.
[15] Yoon Kim and Alexander M Rush. Sequence-level knowledge distillation. In Proceedings of the 2016 conference on empirical methods in natural language processing, pages 1317–1327, 2016.
[16] Brenden M Lake and Marco Baroni. Human-like systematic generalization through a meta-learning neural network. Nature, 623(7985):115–121, 2023.
[17] Nathan Lambert, Jacob Morrison, Valentina Pyatkin, Shengyi Huang, Hamish Ivison, Faeze Brahman, Lester James V Miranda, Alisa Liu, Nouha Dziri, Shane Lyu, et al. Tulu 3: Pushing frontiers in open language model post-training. arXiv preprint arXiv:2411.15124, 2024.
[18] Jia LI, Edward Beeching, Lewis Tunstall, Ben Lipkin, Roman Soletskyi, Shengyi Costa Huang, Kashif Rasul, Longhui Yu, Albert Jiang, Ziju Shen, Zihan Qin, Bin Dong, Li Zhou, Yann Fleureau, Guillaume Lample, and Stanislas Polu. Numinamath. [https://huggingface.co/AI-MO/NuminaMath-CoT] (https://github.com/project-numina/aimo-progress-prize/blob/main/report/numina_dataset.pdf), 2024.
[19] Yaxuan Li, Yuxin Zuo, Bingxiang He, Jinqian Zhang, Chaojun Xiao, Cheng Qian, Tianyu Yu, Huanang Gao, Wenkai Yang, Zhiyuan Liu, et al. Rethinking on-policy distillation of large language models: Phenomenology, mechanism, and recipe. arXiv preprint arXiv:2604.13016, 2026.
[20] Kevin Lu and Thinking Machines Lab. On-policy distillation. Thinking Machines Lab: Connectionism, 2025. doi: 10.64434/tml.20251026. https://thinkingmachines.ai/blog/on-policy-distillation.
[21] John Xavier Morris, Chawin Sitawarin, Chuan Guo, Narine Kokhlikyan, G. Edward Suh, Alexander M Rush, Kamalika Chaudhuri, and Saeed Mahloujifar. How much can language models memorize? In Forty-third International Conference on Machine Learning, 2026.
[22] Allen Newell, Herbert Alexander Simon, and Herbert Alexander Simon. Human problem solving, volume 104. Prentice-hall Englewood Cliffs, NJ, 1972.
[23] Utkarsh Ojha, Yuheng Li, Anirudh Sundara Rajan, Yingyu Liang, and Yong Jae Lee. What knowledge gets distilled in knowledge distillation? Advances in Neural Information Processing Systems, 36:11037–11048, 2023.
[24] Team Olmo, Allyson Ettinger, Amanda Bertsch, Bailey Kuehl, David Graham, David Heineman, Dirk Groeneveld, Faeze Brahman, Finbarr Timbers, Hamish Ivison, et al. Olmo 3. arXiv preprint arXiv:2512.13961, 2025.
[25] Thinh Pham, Nguyen Phan Nguyen, Pratibha Zunjare, Weiyuan Chen, Yu-Min Tseng, and Tu Vu. SealQA: Raising the bar for reasoning in search-augmented language models. In The Fourteenth International Conference on Learning Representations, 2026. URL https://openreview.net/forum?id=zWb7ueH16c.
[26] Idan Shenfeld, Mehul Damani, Jonas Hübotter, and Pulkit Agrawal. Self-distillation enables continual learning. In Forty-third International Conference on Machine Learning, 2026.
[27] Gemini Team, Petko Georgiev, Ving Ian Lei, Ryan Burnell, Libin Bai, Anmol Gulati, Garrett Tanzer, Damien Vincent, Zhufeng Pan, Shibo Wang, et al. Gemini 1.5: Unlocking multimodal understanding across millions of tokens of context. arXiv preprint arXiv:2403.05530, 2024.
[28] Gemma Team, Morgane Riviere, Shreya Pathak, Pier Giuseppe Sessa, Cassidy Hardin, Surya Bhupatiraju, Léonard Hussenot, Thomas Mesnard, Bobak Shahriari, Alexandre Ramé, et al. Gemma 2: Improving open language models at a practical size. arXiv preprint arXiv:2408.00118, 2024.
[29] Qwen Team. Qwen3 technical report. CoRR, abs/2505.09388, 2025. doi: 10.48550/ARXIV.2505.09388.
[30] Lukas Thede, Karsten Roth, Matthias Bethge, Zeynep Akata, and Thomas Hartvigsen. WikiBigEdit: Understanding the limits of lifelong knowledge editing in LLMs. In Aarti Singh, Maryam Fazel, Daniel Hsu, Simon Lacoste-Julien, Felix Berkenkamp, Tegan Maharaj, Kiri Wagstaff, and Jerry Zhu, editors, Proceedings of the 42nd International Conference on Machine Learning, volume 267 of Proceedings of Machine Learning Research, pages 59326–59354. PMLR, 13–19 Jul 2025.
[31] Tu Vu, Mohit Iyyer, Xuezhi Wang, Noah Constant, Jerry Wei, Jason Wei, Chris Tar, Yun-Hsuan Sung, Denny Zhou, Quoc Le, et al. Freshllms: Refreshing large language models with search engine augmentation. In Findings of the Association for Computational Linguistics: ACL 2024, pages 13697–13720, 2024.
[32] Rui Wang, Hongru Wang, Yi Chen, Boyang Xue, Tianqing Fang, Wenhao Yu, and Kam-Fai Wong. Demystifying on-policy distillation: Roles, pathologies, and regulations. arXiv preprint arXiv:2607.13399, 2026.
[33] Lifan Yuan, Weize Chen, Yuchen Zhang, Ganqu Cui, Hanbin Wang, Ziming You, Ning Ding, Zhiyuan Liu, Maosong Sun, and Hao Peng. From f (x) and g (x) to f (g (x)): Llms learn new skills in rl by composing old ones. In International Conference on Learning Representations, volume 2026, pages 147547–147574, 2026.
[34] Hongling Zheng, Li Shen, Anke Tang, Yong Luo, Han Hu, Bo Du, Yonggang Wen, and Dacheng Tao. Learning from models beyond fine-tuning. Nature Machine Intelligence, 7(1):6–17, 2025.
Appendix
Contents
A Execution Examples 16
B Additional Experimental Details 16
B.1 Lookup Tables and Data Construction 16
B.2 Training Corpora and Budgets 17
B.3 Tree Structures, Test Sets, and Metrics 17
B.4 Student and Teacher Baselines 17
B.5 Optimization and Hyperparameters 18
C Training Dynamics 18
D Real-World Benchmarks and Teacher Profiles 19
E Weight Update Measurements 19
A. Execution Examples
We provide complete input prompts and reference execution traces for a chain and a branching tree. Both examples use the same eight four-digit inputs and query each of the same seven initial facts, identified by [OP_1] through [OP_7], once. The structures differ in how intermediate results are combined. All values are computed from the experimental lookup tables. Line breaks and indentation are added for readability. Each completion consists of semicolon-separated steps followed by the final answer within [ANS] and [/ANS].
Sequential Chain Computation proceeds from left to right. Each step after the first uses the previous step's output as its left operand and the next leaf input as its right operand.
Input prompt
(((1234 [OP_1] 5678) [OP_2] 9012) [OP_3] 3456) [OP_4] 7890) [OP_5] 2468) [OP_6] 1357) [OP_7] 8024 = ?
Reference completion
1234 [OP_1] 5678=8495; 8495 [OP_2] 9012=7688; 7688 [OP_3] 3456=7701; 7701 [OP_4] 7890=2436; 2436 [OP_5] 2468=8325; 8325 [OP_6] 1357=6416; 6416 [OP_7] 8024=9196; [ANS] 9196 [/ANS]
Branching Tree Following left-to-right postorder traversal, steps 1 to 3 evaluate the left subtree, steps 4 to 6 evaluate the right subtree, and step 7 combines their results.
Input prompt
((1234 [OP_1] 5678) [OP_3] (9012 [OP_2] 3456)) [OP_7] ((7890 [OP_4] 2468) [OP_6] (1357 [OP_5] 8024)) = ?
Reference completion
1234 [OP_1] 5678=8495; 9012 [OP_2] 3456=9508; 8495 [OP_3] 9508=7122; 7890 [OP_4] 2468=3507; 1357 [OP_5] 8024=5086; 3507 [OP_6] 5086=8064; 7122 [OP_7] 8064=3761; [ANS] 3761 [/ANS]
At step 7, the left operand 7122 comes from step 3, while the right operand 8064 comes from step 6. The model must retrieve the left subtree's result after three intervening steps on the right subtree. This balanced structure belongs to the unseen pool defined in Appendix B.3.
B. Additional Experimental Details
B.1. Lookup Tables and Data Construction
Table entries are sampled uniformly from the ten digits. Values are represented as four-digit strings with leading zeros. The tokenizer adds 25 fact identifiers, the identity marker [OP_ID], and two answer delimiters. The identity marker is excluded from the initial/held-out fact partition.
B.2. Training Corpora and Budgets
Each student-initialization or teacher-training corpus has an estimated token budget of 10 million. The estimate counts each special token and each remaining non-whitespace character as one unit, summed over prompts and reference completions.
The corpus allocates 45% of this budget to single-step queries about initial facts, 25% to chains of two, three, five, or seven steps, and 30% to groups of seven independent single-step queries, totaling 166,365 records. Each group is presented in one prompt; its queries use separate inputs and do not depend on one another's results. The completion lists the seven single-step computations and encloses their comma-separated answers within [ANS] and [/ANS].
Each trained teacher allocates 40% of its budget to the initialization tasks. Within this portion, 30% covers single-step queries, 40% chains, and 30% groups of seven independent queries, all over initial facts. The remaining 60% differs by teacher. For , 30% of the total budget covers single-step queries about held-out facts and 30% covers chains querying held-out facts. For , 60% covers trees over initial facts. For , 20% covers single-step queries about held-out facts, 20% trees over initial facts, and 10% each chains and trees querying held-out facts. Single-step queries about held-out facts are split equally by budget between individual queries and groups of seven. All teacher-training chains and trees and all distillation data contain seven steps.
Each distillation corpus contains 20,000 prompts, with queries excluded from student initialization and teacher training. In teacher training and distillation, chains and trees querying held-out facts contain one, three, or seven such steps, sampled with probabilities 0.5, 0.3, and 0.2, respectively; any remaining steps query initial facts.
B.3. Tree Structures, Test Sets, and Metrics
Tree Structures Pools Of the 429 ordered full binary-tree structure with seven internal nodes, 64 form the shared pool, 64 the teacher-only pool, and 128 the unseen pool; 173 are unused. The balanced tree of height three, where height counts edges on the longest root-to-leaf path, belongs to the unseen pool. The teacher-only pool includes the left-associative chain used during student initialization. Thus, teacher-only denotes exclusion from distillation prompts, not complete exclusion from the student's earlier training.
Test Set Definitions The factual knowledge tests use held-out facts. The compositional skill tests use only initial facts and differ in their tree structure pool. Each test contains 2,000 queries excluded from the training corpora. All multi-step tests use seven computational steps.
| Test set | Definition |
|---|---|
| FACT-SINGLE | Single-step queries, each querying one held-out fact. |
| FACT-CHAIN | Chains in which all steps query held-out facts. Fact identifiers may repeat. |
| COMP-SHARED | Trees over initial facts with structures from the shared pool. |
| COMP-TEACHERONLY | Trees over initial facts with structures from the teacher-only pool. |
| COMP-UNSEEN | Trees over initial facts with structures from the unseen pool. |
Evaluation Metrics Greedy accuracy is the percentage of queries whose greedily decoded answer exactly matches the reference four-digit answer, including leading zeros. Answers are extracted between [ANS] and [/ANS]; missing or unparseable answers count as incorrect. This is the metric reported in Table 5.
Pass@32 is the percentage of queries for which at least one of 32 independently sampled completions has the correct final answer, with sampling temperature 1.0. It is distinct from greedy final-answer accuracy and does not require the entire execution trace to be correct.
B.4. Student and Teacher Baselines
Table 5 reports greedy final-answer accuracy for and the specialized teachers across four models from three families: Qwen3-0.6B and Qwen3-4B [29], Gemma-2-2B [28], and OLMo3-7B [24].
For Qwen3-4B, achieves 100% greedy final-answer accuracy on seven-step chains over initial facts, the chain task used during initialization, compared with 0.45% on COMP-SHARED. Its final-answer Pass@32 on COMP-SHARED is 1.45%.
Table 5: Greedy final-answer accuracy (%) of and the specialized teachers on factual knowledge and compositional skill tests. Test definitions appear in Appendix B.3. All tests use exact match of the final four-digit answer. Green shading highlights high accuracy.
| Model | Profile | Factual Knowledge | Compositional Skill | |||
|---|---|---|---|---|---|---|
| FACT-SINGLE | FACT-CHAIN | COMP-SHARED | COMP-TEACHERONLY | COMP-UNSEEN | ||
| Qwen3-0.6B | (student) | 0.00 | 0.00 | 0.15 | 2.10 | 0.20 |
| 100 | 100 | 0.20 | 2.05 | 0.45 | ||
| 0.00 | 0.00 | 100 | 100 | 99.95 | ||
| 100 | 100 | 100 | 99.95 | 100 | ||
| Gemma-2-2B | (student) | 0.00 | 0.00 | 0.40 | 2.20 | 0.45 |
| 100 | 100 | 0.30 | 2.20 | 0.10 | ||
| 0.00 | 0.05 | 100 | 100 | 99.95 | ||
| 100 | 99.95 | 100 | 99.95 | 99.55 | ||
| Qwen3-4B | (student) | 0.10 | 0.00 | 0.45 | 2.75 | 1.80 |
| 100 | 99.95 | 0.25 | 2.30 | 0.60 | ||
| 0.00 | 0.00 | 100 | 100 | 100 | ||
| 100 | 99.95 | 100 | 100 | 100 | ||
| OLMo3-7B | (student) | 0.00 | 0.00 | 0.35 | 2.20 | 0.45 |
| 100 | 99.95 | 0.35 | 2.25 | 0.25 | ||
| 0.00 | 0.00 | 99.10 | 99.45 | 97.80 | ||
| 100 | 99.50 | 99.05 | 99.00 | 98.85 | ||
B.5. Optimization and Hyperparameters
All experiments use initialization and training seed 1. Student initialization and teacher training use completion cross-entropy with a maximum sequence length of 1,024 tokens, a learning rate of , and three epochs. OPD uses a learning rate of and trains for three epochs on 20,000 prompts per distillation condition. Each visit to a prompt generates one student rollout at temperature 1.0, capped at 256 new tokens. The reverse KL is computed over the full vocabulary.
All training stages employ AdamW with a cosine learning-rate schedule, 3% linear warmup, zero weight decay, gradient norm clipping at 1.0, and bfloat16 precision. The global batch size is 32 for the Qwen3 and Gemma-2 models and 16 for OLMo3-7B. Student initialization, teacher training, and OPD use LoRA adapters [11] on the attention and feed-forward projection layers (rank 16, , dropout 0.05). Teachers and distillation students initialize from with its adapters merged into the base weights, then train fresh adapters. Gradient masking restricts token-embedding updates to newly added token rows.
C. Training Dynamics
Figure 5 shows how rollout accuracy and the reverse-KL objective evolve over the three training epochs. Under , rollout exact match rises from near zero to above 95% in all four models, and the reverse KL falls toward zero: once the student produces correct executions, its own trajectories coincide with the teacher's supervision. Under , rollout exact match does not exceed about 30% in any model, and the reverse KL plateaus above zero instead of vanishing. The residual gap concentrates at positions whose answer depends on a held-out fact, where the teacher is confident about the correct digits while the student spreads probability across candidates it cannot distinguish. The joint run shows the same plateau.

Training epoch (3 epochs over 20k prompts)
Qwen3-0.6B --- Gemma-2-2B --- Qwen3-4B --- OLMo3-7B
Figure 5: Training curves for on-policy distillation in the synthetic experiments. Columns correspond to distillation from (a, d), (b, e), and the joint (c, f). Top row: exact-match accuracy of sampled student rollouts on the distillation prompts; bottom row: reverse KL in nats. All runs train for three epochs over 20,000 prompts.
D. Real-World Benchmarks and Teacher Profiles
To evaluate whether the transfer asymmetry observed in synthetic tasks extends to natural language, we curate two evaluation suites covering post-cutoff factual knowledge and competition-level mathematical reasoning.
Benchmark Construction The KNOWLEDGE-2026 benchmark evaluates factual recall using 809 question-answer pairs that entered public knowledge in 2026, combining items from RealTimeQA [14], SealQA [25], FreshQA [31], and newly edited Wikipedia articles extracted via the WikiBigEdit pipeline [30]. Because these items postdate the pretraining cutoff of Qwen3-4B-Base, the base student cannot rely on memorized pretraining associations. The MATH-2026 benchmark evaluates multi-step reasoning using 201 competition-level math problems with verified step-by-step solutions, sampled from MathArena [2] and NuminaMath-CoT [18] and held out from the curated 1,000-problem pool described in Section 5.
Teacher Profiles The initial student is fine-tuned from Qwen3-4B-Base using Tulu-3-SFT data [17]. The specialized teachers share 's initialization and training hyperparameters, but incorporate domain-specific supervision: is fine-tuned on the full set of 809 2026 factual QA pairs, and is fine-tuned on verified competition-math solutions.
E. Weight Update Measurements
We evaluate parameter changes by analyzing the merged LoRA weight increments relative to . For each adapted projection , the increment is , with rank and scaling factor . Below we define the metrics reported in Table 3 and Table 6.
Update Norms The global update norm measures the aggregate magnitude of parameter changes across all adapted linear projections, excluding embeddings:
To inspect depth and architectural localization, we compute sub-norms by restricting the sum to specific modules. The layer norm aggregates all projections in layer , while the projection norm aggregates projection type across all layers. For depth comparisons in Qwen3-4B, layer norms are averaged within four consecutive depth quartiles of nine layers each (Layers 0–8, 9–17, 18–26, and 27–35).
Directional Similarity To measure alignment between two training conditions within the same model family, we concatenate their projection increments into a single vector . The cosine similarity between conditions (1) and (2) is defined as
Effective Rank For each projection increment with singular values , we define the normalized spectral distribution . The effective rank is the exponential Shannon entropy of this distribution,
averaged across all adapted projections. This metric reflects how uniformly update energy is distributed across singular directions, ranging from 1 for a rank-1 update to 16 for a uniform spectrum.
Embedding Drift Embedding drift measures the Euclidean displacement of fact-identifier tokens from their initialization, . We report the mean drift separately for held-out tokens ([OP_21] through [OP_25]) and a representative sample of initial tokens ([OP_1] through [OP_5]).
Table 6: Complete weight updates relative to . (a) Global update norm / mean effective rank. (b) Cosine similarity between updates. (c) Mean embedding drift for held-out / initial fact identifiers. (d) Mean layer norms by depth quartile. (e) Norms by projection. Ranges cover the four prefix-KL combinations; control ranges cover two prompt sets.
| (a) Teacher: prefix, objective | Qwen3-4B | Gemma-2-2B | OLMo3-7B |
|---|---|---|---|
| : student, reverse KL | 2.01 / 2.4 | 1.33 / 3.9 | 3.08 / 2.3 |
| : student, forward KL | 2.64 / 2.5 | 1.49 / 3.6 | 3.85 / 2.0 |
| : teacher, forward KL | 2.86 / 2.5 | 1.52 / 3.6 | 3.89 / 2.1 |
| : teacher, reverse KL | 2.27 / 2.5 | 1.34 / 3.8 | 3.20 / 2.1 |
| : student, reverse KL | 1.27 / 3.3 | 1.13 / 3.9 | 2.50 / 2.6 |
| : student, forward KL | 1.55 / 2.7 | 1.60 / 3.6 | 3.21 / 2.5 |
| : teacher, forward KL | 1.52 / 3.1 | 1.45 / 4.0 | 3.06 / 2.9 |
| : teacher, reverse KL | 1.42 / 3.3 | 1.27 / 4.0 | 2.68 / 3.0 |
| : factual prompts | 0.30 / 10.2 | 0.20 / 12.7 | 0.48 / 11.7 |
| : compositional prompts | 0.32 / 10.8 | 0.24 / 12.7 | 0.55 / 12.1 |
| (b) Update cosine similarity | |||
| vs. (matched prefix and KL) | 0.004–0.018 | 0.011–0.036 | 0.004–0.046 |
| : reverse vs. forward KL, student | 0.53 | 0.49 | 0.48 |
| : reverse vs. forward KL, teacher | 0.50 | 0.50 | 0.50 |
| : reverse vs. forward KL, student | 0.73 | 0.64 | 0.68 |
| : reverse vs. forward KL, teacher | 0.78 | 0.82 | 0.80 |
| (c) Embedding drift: held-out / initial identifiers | |||
| (supervised fine-tuning) | 0.0420 / 0.0630 | 0.0290 / 0.0910 | 0.0840 / 0.1570 |
| Distilled students (maximum across conditions) | 0.0071 / 0.0060 | 0.0072 / 0.0020 | 0.0024 / 0.0021 |
| controls (maximum across prompt sets) | 0.0004 / 0.0005 | 0.0002 / 0.0004 | 0.0005 / 0.0007 |
| (d) Qwen3-4B: layer norms | Layers 0–8 | 9–17 | 18–26 | 27–35 | Peak layer | ||
|---|---|---|---|---|---|---|---|
| 0.24–0.33 | 0.25–0.39 | 0.33–0.46 | 0.46–0.65 | 35 | |||
| 0.25–0.29 | 0.26–0.27 | 0.18–0.25 | 0.11–0.24 | 3, 11, 34 | |||
| 0.04–0.05 | 0.05–0.05 | 0.05–0.05 | 0.06–0.06 | 29 | |||
| (e) Qwen3-4B: teacher, forward KL | |||||||
| gate | up | down | |||||
| 0.95 | 0.45 | 0.40 | 0.74 | 1.76 | 1.61 | 0.81 | |
| 0.50 | 0.24 | 0.26 | 0.49 | 0.82 | 0.85 | 0.55 | |