Manuscript Offprint

arXiv:2609.39687

Better Supervision Is Nearby: Neighborhood On-Policy Self-Distillation

Xincheng Wei, Yifan Ding, Yoshua Li, Yuquan Lu, Ziheng Li, Yi Lu, Dongsheng Ma, Rongxiang Weng, Xunliang Cai

Xincheng Wei 1,∗^{1,*}

Yifan Ding 2,∗^{2,*}

Yoshua Li 2,∗^{2,*}, †\dagger

Yuquan Lu 2^{2}

Ziheng Li 2^{2}

Yi Lu 2,4^{2,4}

Dongsheng Ma 2,3^{2,3}

Rongxiang Weng 2^{2}

Xunliang Cai 2^{2}

1^{1}The Chinese University of Hong Kong, Shenzhen

2^{2}Meituan, LongCat Team

3^{3}Peking University 4^{4}University of Toronto

∗^{*}Equal contribution. †^{\dagger}Corresponding author.

yoshua_li@meituan.com

ABSTRACT

On-policy self-distillation (OPSD) trains mathematical reasoning models using a privileged teacher that sees a reference solution and supervises student-sampled prefixes. Standard OPSD uses one fixed parameter setting at every state, but nearby settings may offer additional supervision. We find that local parameter perturbations reveal complementary reference-aligned corrections under the same reference context. Different experts supply these corrections at different reference positions. Their pool covers more such positions than the unperturbed privileged teacher. We introduce NEIGHBORHOOD OPSD (N-OPSD) to turn these corrections into supervision at student-visited states. Offline, greedy selection builds a compact pool of frozen experts by rewarding filtered reference-token gains beyond the pool's current best at each position. The highest-peak expert need not provide the best training target. Online routing therefore separates the anchor direction from its level of support. MaxPeak selects the anchor token, and quantile selection chooses among experts whose top token matches it. The student learns from the chosen expert's full next-token distribution through the clipped forward-KL objective inherited from OPSD. We evaluate on AIME 2024, AIME 2025, and HMMT February 2025. Across three independent runs per method, NEIGHBORHOOD OPSD improves the three-benchmark Average@12 over OPSD by 2.75, 1.67, and 1.94 points on Qwen3-1.7B, 4B, and 8B, respectively. Student-prefix continuations support using the pool beyond the reference trajectories used for selection. Matched ablations support filtered reference-token gains as a selection criterion. Accounting for overlap within the pool and routing by state further improve student accuracy. Inference uses only the distilled student.

1 Introduction

On-policy self-distillation (OPSD) trains mathematical reasoning models using two copies of the same model (Zhao et al., 2026). The student generates a response from the problem alone. The privileged teacher also sees a reference solution, available only during training (Lopez-Paz et al., 2016), and provides next-token distributions along the student's response. Standard OPSD uses the same unperturbed teacher M0M_{0} at every student-visited state. Its predictions depend on the student prefix, but all supervision comes from one fixed parameter setting. A fixed teacher need not exhaust the useful supervision available from the same base model. We study its local parameter neighborhood as a source of complementary corrections for on-policy distillation.

TrustMOPD weights specialist supervision at each student prefix (Sun et al., 2026). RandOpt selects local perturbation experts by task performance (Gan & Isola, 2026). For distillation, an expert's task accuracy need not reflect the value of its supervision (Cho & Hariharan, 2019). Task accuracy also does not reveal

(a) Perturbation experts

Figure

Reference-side SF coverage (%)

Broader reference-side coverage

(b) State-wise routing

Complementary corrections, routed by state

Figure 1: Overview of NEIGHBORHOOD OPSD. (a) Selected local perturbation experts expand reference-side selection-feasible (SF) coverage beyond M0M_0 (Qwen3-8B, σ=.002\sigma = .002; 500-question analysis set). (b) OPSD uses M0M_0 at every student-visited state, while NEIGHBORHOOD OPSD routes one expert's full next-token distribution at each state. Colors distinguish selected experts; distributions are schematic.

which corrections the selected experts already supply. This motivates selecting local experts by the token-level corrections they add to a pool.

Experts sharing the same base checkpoint and reference context provide complementary corrections in our reference-side analysis. We measure each correction as an increase in reference-token probability over the frozen problem-only model on the same reference prefix. Different experts provide these increases at different positions. Their pool covers more reference positions than the unperturbed privileged teacher M0M_{0} under the same selection filters. Thus, useful supervision can depend on which nearby parameter setting interprets the same privileged information.

We introduce NEIGHBORHOOD OPSD (N-OPSD) to turn complementary corrections in the teacher's neighborhood into supervision at student-visited states (Figure 1). Offline selection builds a compact pool by rewarding experts for reference-aligned corrections beyond what the current pool provides. During training, student prefixes can differ from the reference solution (Agarwal et al., 2024), so the reference token cannot directly guide routing. The selected experts therefore evaluate the student's current prefix.

Online routing separates the anchor direction from its level of support. MaxPeak takes the token with the highest probability assigned by any expert as the anchor, allowing an individual expert to supply the direction without pool agreement. A large positive gap between teacher and student probabilities can cause the anchor's loss term to be clipped (Zhao et al., 2026). Quantile selection chooses the level of support among experts whose top token matches the anchor. The student learns from the chosen expert's full next-token distribution. All experts remain fixed, and inference uses only the distilled student.

We evaluate on AIME 2024, AIME 2025, and HMMT February 2025. Across three independent runs per method, NEIGHBORHOOD OPSD improves the three-benchmark Average@12 over OPSD by 2.75, 1.67, and 1.94 points on Qwen3-1.7B, 4B, and 8B. Student-prefix continuations also show that MaxPeak can improve continuation accuracy over M0M_{0}. This supports using the selected pool beyond the reference trajectories used for expert selection. Selection ablations show gains from scoring reference-aligned corrections, with further gains from accounting for overlap within the pool. Routing ablations then show gains from choosing the supervision source based on expert predictions at each state.

The contributions are:

• We show that a privileged teacher’s reference-aligned supervision extends beyond its unperturbed parameter setting. Selected local experts provide complementary corrections at reference positions beyond those covered by M0M_{0}.

Figure

Figure 2: Overview of NEIGHBORHOOD OPSD. Offline, greedy selection builds a complementary pool of local perturbation experts by marginal filtered PTA on reference prefixes. Online, MaxPeak selects an anchor token, and quantile selection chooses among experts whose top token matches it. The selected expert supplies the full next-token distribution for student distillation.

• We introduce NEIGHBORHOOD OPSD, a framework that turns a privileged teacher’s neighborhood into state-wise supervision for on-policy distillation. It selects complementary local experts and distills their supervision into a single student used alone at inference.

  • Across three independent runs per method, NEIGHBORHOOD OPSD improves the three-benchmark Average@12 over OPSD by 1.67 to 2.75 points on Qwen3-1.7B, 4B, and 8B. Matched ablations connect these gains to complementary expert selection and state-wise routing.

References (69)