arXiv(opens in a new tab)cs.AIOct 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2610.02703

Learning to Revise Reasoning with Segment-wise On-Policy Distillation

Yuxiang Zhang, Ding Cao, Shuting Cui, Lei Wang, Weijieying Ren, Tianxiang Zhao

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

ABSTRACT

On-policy distillation (OPD) improves large language model reasoning by training students on their own rollouts with dense token-wise supervision from the teacher. However, token-wise OPD does not explicitly provide a coherent alternative reasoning step showing how the student's step could be revised to improve subsequent reasoning. Furthermore, this paradigm can become less effective when the student produces a degenerate reasoning prefix, as subsequent teacher supervision remains conditioned on that prefix and may reinforce poor reasoning patterns. In this work, we focus on learning reasoning revision with segment-wise OPD to rework intermediate reasoning steps and better support subsequent reasoning. Through controlled reasoning interventions, we find that replacing student segments with teacher redrafts improves subsequent reasoning accuracy. Therefore, we address the problem of turning teacher redrafts into explicit supervision for learning to revise reasoning. We propose Segment-wise On-Policy Distillation (SEG-OPD), which selects student segments based on an uncertainty metric and obtains corresponding teacher redrafts. SEG-OPD trains the student to prefer teacher redrafts over their paired student segments while retaining dense token-wise OPD supervision. Extensive experiments on mathematical reasoning and competitive programming tasks show that SEG-OPD-trained students achieve higher revision success rates than baselines. SEG-OPD consistently outperforms the compared state-of-the-art baselines in reasoning accuracy with an average relative improvement of 5.22% across diverse models and tasks. Code is available at https://anonymous.4open.science/r/Seg-OPD.

1 INTRODUCTION

On-Policy Distillation (OPD) has emerged as an effective paradigm for LLM post-training (Agarwal et al., 2024). OPD has the student generate its own reasoning trajectories and prompts a stronger teacher to provide feedback. By integrating the dense token-wise supervision of Supervised Fine-Tuning (SFT) into the on-policy exploration of Reinforcement Learning (RL), OPD mitigates both the distribution shift introduced by imitating offline demonstrations in SFT (Ouyang et al., 2022) and the sparse reward signals of outcome-based RL (Shao et al., 2024).

Despite these strengths, OPD suffers from two inherent limitations. First, because vanilla OPD provides only local corrections through token-wise supervision, the student is never explicitly shown the coherent reasoning step that spans multiple tokens. In such cases, local corrections do not directly show the student how to revise the reasoning step as a whole and redirect subsequent reasoning. Second, due to LLMs' autoregressive nature, their subsequent reasoning is conditioned on the prefix. Therefore, the existing degenerate prefix from the student rollout can be harmful and thus degrade the teacher's guidance, leading to suboptimal student learning. Recent studies show that on de-

∗^{*}Corresponding author.

generate prefixes, teacher feedback can favor unproductive continuations rather than penalize them, potentially reinforcing patterns such as repetition loops (Luo et al., 2026; Fu et al., 2026).

These limitations motivate us to improve vanilla OPD by replacing unproductive reasoning steps and redirecting the student's subsequent reasoning. More precisely, given a prefix and a student reasoning segment, the teacher should provide a coherent redraft that revises the corresponding segment while preserving the prefix. Such a redraft retains the on-policy context that exposes the student's current unproductive reasoning mode, providing an alternative reasoning transition that can redirect subsequent reasoning. We use reasoning revision to describe reworking an intermediate reasoning step to better support subsequent reasoning, and illustrate it in Fig. 1. In Fig. 1(a), the teacher redraft offers an equal-split strategy instead of the student's largest-coin-first approach. Fig. 1(b) illustrates the use of teacher redrafts as explicit supervision for learning reasoning revision.

Though promising, implementing reasoning revision learning faces two challenges. First, teacher redrafting is costly, so how can we fully utilize the limited budget to select student segments worth revising and obtain suitable teacher redrafts? Second, how can the learning objective exploit the correspondence between student segments and teacher redrafts while preserving the dense token-wise supervision that makes OPD effective? To address these challenges, we conduct a preliminary test-time analysis in Sec. 3 to inform our method's design. We reveal that replacing selected student segments with teacher redrafts improves subsequent reasoning accuracy for both the initial and OPD-trained student models. Furthermore, we find that student reasoning pivots associated with high uncertainty provide more useful revision targets than random anchors.

Building upon these insights, we propose a novel Segment-wise On-Policy Distillation method (SEG-OPD). To better utilize the limited budget, SEG-OPD uses an entropy-based uncertainty metric to guide student segment selection and obtains corresponding teacher redrafts, providing targeted revision supervision. SEG-OPD employs a revision learning objective that encourages the student to prefer teacher redrafts over the paired student segments through a segment-wise preference loss, while retaining dense token-wise OPD supervision. As Fig. 1(c) shows, SEG-OPD outperforms the strongest baseline by 2.26% in reasoning accuracy with Qwen3-14B on AIME25.

We summarize our contributions as follows:

• We formulate the problem of reasoning revision in OPD as learning from teacher redrafts of students’ own intermediate reasoning. Through controlled trajectory interventions, we show that replacing student segments with teacher redrafts substantially improves downstream reasoning, establishing teacher redrafts as useful explicit revision supervision;

Make 6 with the fewest coins of ① ③ ④ (repeats OK).

Figure

Student: Pick the largest coin first.

4 + 3 = 7, not 6, wait...

Teacher: Split 6 into two equal coins.

3 + 3 = 6, just 2 coins.

(a). An example of reasoning revision

Student segment

[Pick the largest coin first]

Teacher redraft

[Split 6 into two equal coins]

Learn to prefer redraft over segment

(b). Segment-wise supervision

Init. student

OPD

G-OPD

E-OPD

OmniOPD

Seg-OPD

Figure

(c). Overall performance

Figure 1: (a). An example of reasoning revision. The student’s largest-coin-first attempt overshoots the target, whereas the teacher redraft reaches it with two equal-value coins. (b). Segment-wise supervision. The paired student segment and teacher redraft illustrate explicit supervision for learning reasoning revision. (c). Overall Performance. Reasoning accuracy (%) of SEG-OPD and baselines for a Qwen3-14B student on AIME25.

Figure

Figure 2: Effectiveness of teacher redrafts and segment selection. (a). Reasoning accuracy of initial/OPD-trained students with/without teacher redrafts on AIME24. (b). After replacing segments selected with random/pivot anchors with teacher redrafts, the reasoning accuracy (bars, left axis) and revision success rate (lines, right axis) of Qwen3-4B on AIME26.

• We introduce SEG-OPD, which enables students to learn reasoning revision from revision units that pair their own reasoning segments with corresponding teacher redrafts. To achieve this, SEG-OPD trains students to prefer the redrafts over their paired student segments while retaining dense token-wise OPD feedback;

• We conduct experiments with diverse student models across a wide range of math and code benchmarks. SEG-OPD outperforms the compared state-of-the-art OPD methods in reasoning accuracy, achieving a 5.22% average relative improvement over competitors. Beyond accuracy, SEG-OPD also achieves higher reasoning revision success rates and fewer reasoning loops after training.

References (86)