Manuscript Offprint

arXiv:2611.05609

On the Generalization Limitation of On-Policy Distillation for Post-RL Consolidation

Yichen Wang, Yufa Zhou, Siqi Zhu, Haozheng Luo, Jingzhi Bao, Zhichao Liu, Zijun Wei

Abstract

Multi-teacher on-policy distillation (MOPD) extends on-policy distillation (OPD) to consolidate capabilities from multiple teachers. Although prior work reports near-perfect in-distribution (IND) distillation performance, we find that this can mask incomplete capability consolidation beyond the supervised distribution. A preliminary study on synthetic reasoning shows that OPD does not fully transfer teachers' generalization capabilities. We then extend this investigation to real-world tasks, evaluating extrapolative and compositional generalization across mathematical reasoning, coding, agent, and long-context capabilities using Qwen3 models. Across extrapolative settings, OPD and MOPD reach 96.04-102.73% of their teachers' IND scores. Yet their out-of-distribution (OOD) scores remain 2.45-16.25% below the base model's. Across three compositional settings, MOPD improves IND performance over the base model, but its performance on composed tasks as OOD remains 18.19-24.34% below that of the best teachers. To understand these gaps, we examine teacher capability and data coverage as two potential bottlenecks. Jointly alleviating these bottlenecks eliminates OOD forgetting in our experiments and suggests the potential for generalization beyond the teacher. (M)OPD also reduces OOD forgetting on average relative to its reinforcement learning (RL) baselines. Analysis of the associated update geometry reveals smaller and more spectrally concentrated updates on average than those of the RL baselines, along with greater shared update structure under MOPD. Motivated by these findings, we propose geometry-based patching and base-preserving replay to improve OOD performance while largely preserving IND performance. Our findings identify a blind spot in capability consolidation via (M)OPD, highlighting the need for algorithms that explicitly support OOD retention and generalization.

Project page: https://yichenzw.com/opd-generalization.github.io/

1 Introduction

On-policy distillation (OPD) trains a student model on its own generated trajectories using supervision from a teacher [1, 40]. Its extension, multi-teacher on-policy distillation (MOPD), offers a way to consolidate capabilities from separately trained teachers into one model [41]. This approach is used as a consolidation stage in large-scale post-training pipelines to combine domain-specialized teachers [9, 11, 28, 44], achieving strong distillation performance.

The intended outcome of post-RL consolidation is to learn the teachers' improvements while retaining the base model's capabilities and supporting their use beyond the supervised tasks. We find that achieving near-perfect in-distribution (IND) distillation does not reliably yield either out-of-distribution (OOD) retention or OOD generalization beyond the base. Near-perfect IND distillation can therefore mask incomplete capability consolidation.

We start from a preliminary study on a synthetic reasoning task ( §4§ 4, Power et al. [50], Zhang et al. [64]) to illustrate the generalization limitation of OPD. The self-RL teacher and OPD student start from a common pretrained base. When the teacher generalizes beyond the supervised range, OPD does not fully transfer that generalization despite strong IND performance. This motivates testing whether the same limitation persists when consolidating capabilities on real-world tasks, where useful behavior can extend far beyond narrow distillation data and require distinct capabilities together.

Our main experiments use Qwen3-based models [59] to study two forms of generalization across mathematical reasoning, coding, agent, and long-context capabilities ( §3§ 3). Extrapolative generalization tests performance beyond the supervised range within a capability [4, 64], using mathematical reasoning benchmarks of differing difficulty. Compositional generalization tests whether separately supervised capabilities can be used together [30, 63]. We also distinguish two teacher setups: self-RL specialist teachers are independently trained from a common base and then distilled into a student initialized from the same base, reflecting specialization followed by consolidation; external generalist teachers are obtained separately and used to distill stronger capabilities into a smaller student ( §3.1§ 3.1).

First, across both teacher setups, near-perfect IND distillation coexists with OOD forgetting ( §5§ 5). Across individual training datasets and mixtures, OPD and MOPD reach 96.04-102.73% of their teachers' mean IND scores, yet their mean OOD scores remain 2.45-16.25% below the base. The gap persists even with a stronger external generalist teacher that outperforms the base model on OOD evaluations.

Second, component improvements do not ensure compositional generalization ( §6§ 6). Across the three settings, MOPD improves mean IND performance by 0.48-22.46% over the base but remains 18.19-24.34% below the best teachers on composed tasks. For example, in code plus long context, MOPD improves all three component benchmarks, yet on the composed task (long-context coding) it is still at about the base's performance level, below both teachers. Improvements on separately supervised component tasks therefore need not translate into gains on tasks requiring those capabilities to be combined.

To understand these gaps, we examine teacher capability and data coverage as two potential bottlenecks to OOD performance. Jointly alleviating these bottlenecks eliminates OOD forgetting in our experiments and suggests the potential for generalization beyond the teacher ( §7.1§ 7.1).

Despite the remaining gaps, our main experiments also show that OPD and MOPD reduce average OOD forgetting relative to the self-RL teachers and mixed RL, respectively. To examine the associated parameter changes, we draw on analyses of multi-task training and OPD geometry [53, 68]. (M)OPD produces smaller and more spectrally concentrated updates on average than their corresponding RL baselines. Moreover, across both generalization settings, MOPD updates are better explained by the span of single-teacher OPD updates than mixed-RL updates are by the span of single-RL updates ( §7.2§ 7.2). Appendix D provides a complementary local theoretical analysis.

Motivated by the observed update structure, we investigate geometry-based patching after distillation. Patching partially closes the OOD gap on AIME25 while retaining most of the teacher's IND performance. We also investigate base-preserving replay to explicitly preserve the base model's behavior during distillation ( §8§ 8). Relative to plain OPD, replay improves scores on five of eight OOD benchmarks with only a small decrease in IND performance, and surpasses both the student base and RL teacher on AIME25.

Overall, near-perfect IND distillation can mask incomplete capability consolidation, motivating explicit support for OOD retention and generalization.

References (58)