potentialpaper

Failure Profiling and Reachable Trajectory Selection for Reasoning Distillation

Yijun Zhu, Jianxin Wang, Chengchao Shen

NeurIPS 2026

Edit this page

Or clone it with git

Run in a terminal:

Needs Git LFS. To push, use an API key from your profile as the password.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

Abstract. Training smaller language models on reasoning solutions generated by a larger teacher model is the prevailing approach for transferring mathematical reasoning capabilities. However, the student tends to overfit the output distribution of the teacher and generalizes poorly when its own behavior at inference time deviates from the training data. Recent methods attempt to bridge this gap by incorporating error data, yet the corrective trajectories still reflect the reasoning patterns of the teacher, which the student cannot reliably reproduce, leaving the distribution mismatch largely unresolved. We propose a method, Failure Profiling and Reachable Trajectory Selection (FPRT), built on the insight that effective training data should be jointly determined by what the student fails on and what it can realistically learn. Our method first profiles the failure behavior of the student on each problem through repeated sampling, characterizing it in terms of error rate and error consistency to reveal qualitatively distinct failure modes. Each mode demands a fundamentally different training signal. The diagnosed mode then guides candidate generation from the teacher via distinct prompting strategies tailored to each failure type. Among the correct candidates, our method selects the one whose initial reasoning steps after the point of divergence are most reproducible by the student. These first corrective steps constitute the primary bottleneck, while the remaining steps follow an already corrected context and can therefore be continued more readily. This contrasts with standard reranking approaches, which score the trajectory as a whole and thereby dilute the signal at the critical reasoning transition. Experiments on GSM8K, MATH, and three out-of-distribution benchmarks for Llama-3.1-8B and DeepSeek-Math-7B demonstrate that our method achieves the SOTA performance across the five benchmarks on both student backbones. The source code and trained weights are available at https://github.com/visresearch/FPRT.

Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.

Claim this paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

edit · history

DateVersionSubmitted toPDFEvidence
22 Apr 2026NeurIPS 2026submittedNeurIPS 2026Accept (poster)reviews ↓[1]PDF[1]
Missing a version?

NeurIPS 2026

Accept (poster) · 3 reviews · OpenReview

Updated 25 Nov 2026, 03:49 UTC.

Program Chairs · DecisionOpenReview ↗
Decision
Accept (poster)
Read decision
Meta-review

The reviewers and I feel generally positive about this work; defining good training data as both correct and reachable is a strong general idea, and can be applied to many domains. Grouping student errors by how they fail across tries makes sense as an approach. The writing is clear and the figures strong as well.

POST-REBUTTAL ADDENDUM

The rebuttal resolved the substantive statistical and methodological challenges with experiments (multi-seed replication, matched-data controls, robustness checks), earned a score increase, and left only low-stakes clarifications open. I do expect the authors to incorporate their improvements in the camera-ready draft as a condition of acceptance.

Congratulations to all!

Final justification

See metareview

Area Chair bGTT · Meta-reviewOpenReview ↗
Final justification
See metareview
Read meta-review
Meta-review

The reviewers and I feel generally positive about this work; defining good training data as both correct and reachable is a strong general idea, and can be applied to many domains. Grouping student errors by how they fail across tries makes sense as an approach. The writing is clear and the figures strong as well.

POST-REBUTTAL ADDENDUM

The rebuttal resolved the substantive statistical and methodological challenges with experiments (multi-seed replication, matched-data controls, robustness checks), earned a score increase, and left only low-stakes clarifications open. I do expect the authors to incorporate their improvements in the camera-ready draft as a condition of acceptance.

Congratulations to all!

1 comment
Authors · CommentOpenReview ↗

We thank the AC and reviewers for their positive assessments and helpful suggestions. We address your and reviewers' main concerns as follows.

  1. Off-policy distillation baseline. Using matched source problems, training-set sizes, teacher/student models, and SFT configurations, direct SFT on trajectories generated by the teacher model achieves 73.8% versus 76.9% for our method on Llama-3.1-8B, and 78.1% versus 80.0% on DeepSeek-Math-7B. Overall, our method improves the five-benchmark average by 3.1% and 1.9%, respectively. The detailed results are listed as follows.

    Llama-3.1-8B with 62.74K examples from the same problem set.

    Method GSM8K MATH SVAMP ASDiv MAWPS Avg
    Ours 85.5 33.9 86.4 84.9 93.9 76.9
    Direct teacher trace SFT 84.0 32.4 82.0 82.1 88.5 73.8

    DeepSeek-Math-7B with 65.76K examples from the same problem set.

    Method GSM8K MATH SVAMP ASDiv MAWPS Avg
    Ours 83.6 47.1 83.9 90.1 95.3 80.0
    Direct teacher trace SFT 82.6 46.5 81.5 89.2 90.7 78.1
  2. No-scoring baseline. After identical profiling, candidate generation, and correctness filtering, we uniformly sample one correct teacher trajectory per retained problem without applying BPR or any other scoring function. As the results shown in the following table, our BPR outperforms no-scoring baseline by 2.4 on Llama-3.1-8B and 1.0 on DeepSeek-Math-7B across the 5 benchmarks. It indeed supports the effectivenss of our proposed BPR scoring method.

    Student Setting GSM8K MATH SVAMP ASDiv MAWPS Avg
    Llama-3.1-8B Random selection from correct candidates 81.6 32.0 84.7 81.2 93.2 74.5
    Llama-3.1-8B BPR selection (Ours) 85.5 33.9 86.4 84.9 93.9 76.9
    DeepSeek-Math-7B Random selection from correct candidates 83.0 46.8 82.6 89.6 92.8 79.0
    DeepSeek-Math-7B BPR selection (Ours) 83.6 47.1 83.9 90.1 95.3 80.0
  3. Results across random seeds. On the full 88.90K corpus, we run 3 SFT training seeds while keeping the constructed data fixed. The results are listed as below. Our method obtains 77.6% ± 0.3% on Llama-3.1-8B and 80.9% ± 0.2% on DeepSeek-Math-7B. The means remain 3.0% and 2.2% above the corresponding LEMMA results reported in Table 2, suggesting that the main result is stable across SFT seeds.

    Student Method GSM8K MATH SVAMP ASDiv MAWPS Avg
    Llama-3.1-8B Ours 86.2 ±0.4 34.9 ±0.5 87.1 ±0.2 85.5 ±0.3 94.1 ±0.2 77.6 ±0.3
    Llama-3.1-8B LEMMA 79.2 38.3 82.6 84.2 88.8 74.6
    DeepSeek-Math-7B Ours 84.2 ±0.2 48.5 ±0.3 85.4 ±0.2 90.9 ±0.1 95.6 ±0.2 80.9 ±0.2
    DeepSeek-Math-7B LEMMA 80.4 50.6 81.6 89.8 90.9 78.7

We will incorporate these additional comparisons and variance results into the revision. We hope the above results could well address the principal empirical concerns raised by the reviewers.

Reviewer qhDVOpenReview ↗
Rating
4/6
Confidence
4/5
Quality
3/4
Clarity
3/4
Significance
2/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This paper proposes a failure-profiling-based approach for generating distillation datasets. The method first samples trajectories from the student model, analyzes their failure patterns, derives prompt templates for the teacher based on those patterns, asks the teacher to rewrite correct trajectories, and then selects among the teacher-generated reasoning trajectories using a BPR score. Through this relatively complex pipeline, the method improves performance on math datasets.

Strengths and weaknesses

Strengths:

  • The paper is well supported by intuition and identify failure-adaptive teacher selection to make the reasoning traces more aligned with students.
  • The experiments show that method efficiently and effectively improve the math reasoning performance
  • Profiling by error rate and error consistency is a clean idea, and the ablation showing profiling drives most of the gain is convincing.

Weaknesses:

  • I think the selection ablation is missing. The authors include only a component ablation, and the “global scoring” variant still selects one trajectory. What about using all correct teacher trajectories instead of selecting from BPR, with no scoring at all? A data-matched version of this would show whether selection actually outperforms simply using everything.
  • Some parts of the evaluation setting are confusing. Since SFT is trained to directly output the solution, while the proposed method is trained to rewrite the solution based on the wrong trajectory, where the input is the question plus the error trace, is this only a difference in the training objective, or is the evaluation pipeline also different? At test time, there is no error trace to condition on, so what exactly does the model see at inference? Appendix B does not make this clear.
  • The authors compare against a uniform prompt, but there are no details on what this uniform prompt is. Appendix D only gives the three mode-specific templates, not the single template used for the “w/o profiling” ablation. Since that ablation drives the biggest reported drop, the uniform prompt should be shown.
  • The RFT result, for example, is very low, even below plain SFT, and I think the learning rate of 2e-5 is probably the reason. If it is sampled from the model’s own distribution, the loss is much lower, so the learning rate should probably be substantially lower (around 10x).
  • The number of samples differs across methods, and it is unclear why. I understand that Ours is matched to LEMMA at 88.90k, but the others, such as SFT at 394.99k, S3C at 927k, and RefAug at 29.94k, are not controlled, and a few appear under-resourced. Controlled experiments with the same amount of data would make the comparison fairer.
  • Also, even though the method includes a lot of sampling steps, there’s no clear analysis about additional computational overhead for this dataset generation.
  • The benchmarks are also limited to relatively old math reasoning datasets, though I do not see this as the main issue.
Questions

Please check the weaknesses above for the details.

  • Could you clarify the exact inference setup? What is the model conditioned on at test time, and is the evaluation pipeline the same as the SFT baseline or different?
  • Could you provide the uniform prompt template used in the ablation?
  • Could you add a no-selection baseline?
  • I also wonder whether a more general version could work: giving all trajectories to the teacher, letting the teacher analyze the failure case, and asking it to write a reachable solution, rather than manually defining the reachable solution.
Limitations

yes

Final justification

The rebuttal addresses some of my concerns, particularly W1, and the matched-data random-selection control is a useful addition. However, I still find the experimental setup not fully controlled. Training sample sizes differ across methods, and the newly clarified 90/10 mixture with plain SFT introduces a training mechanism that was not described in the original submission. Since the plain-SFT component could plausibly contribute to the observed gains, the improvements cannot be cleanly attributed to BPR alone. There are also remaining concerns regarding retuned RFT and the lack of additional data-matched baselines. Overall, I view the empirical evidence as somewhat inconclusive, but the core idea is promising enough that I'm leaning towards a weak accept.

Formatting concerns

N/A

2 comments
Authors · RebuttalOpenReview ↗
Rebuttal

We thank the reviewer for the clear summary and concrete requests. We resolve several points through clarification and provide an additional control that matches the data and uses random selection.

W1 and Q3: random selection with matched data. We use a control without scoring to compare BPR selection with random selection. Using all correct candidates would increase the number of training trajectories and the token budget by several times, confounding the selection criterion with additional supervision. We therefore use a control with matched data and no selection score. After identical profiling, candidate generation, and correctness filtering, we uniformly sample one correct candidate per retained problem without computing BPR or any other score. This preserves the same first pass problem set and one training trajectory per problem as Ours. The resulting data contain 62.74K examples for Llama-3.1-8B and 65.76K examples for DeepSeek-Math-7B.

Student Setting GSM8K MATH SVAMP ASDiv MAWPS Avg
Llama-3.1-8B Random selection from correct candidates 81.6 32.0 84.7 81.2 93.2 74.5
Llama-3.1-8B BPR selection 85.5 33.9 86.4 84.9 93.9 76.9
DeepSeek-Math-7B Random selection from correct candidates 83.0 46.8 82.6 89.6 92.8 79.0
DeepSeek-Math-7B BPR selection 83.6 47.1 83.9 90.1 95.3 80.0

BPR improves the average across the five benchmarks from 74.5 to 76.9 on Llama-3.1-8B and from 79.0 to 80.0 on DeepSeek-Math-7B. With the problem set, candidate pool, number of training examples, and training procedure held fixed, this is a controlled comparison between BPR and random selection among correct candidates.

W2 and Q1: inference setup and comparison with SFT. At test time, the inference procedure is identical to that of the SFT baseline. The model receives only the question and generates one solution using the same decoding and answer extraction procedure. No erroneous trace is provided, and no separate correction pass is invoked.

The training supervision differs from ordinary SFT in its input and target construction and uses the same two formats described in our response to eDRT W3. For 90% of the examples, the input is the question and the representative erroneous student trace, while the target is the reflection, preserved prefix, and corrective continuation. For the remaining 10%, the input contains only the question, while the target is the complete corrected solution, comprising the full preserved prefix and corrective continuation without the reflection or erroneous trace. Thus, the target is a complete step by step answer rather than the corrective continuation alone.

Thus, the inference and evaluation procedure at test time is unchanged, while the input and target construction of the training supervision differs from ordinary SFT. The submission describes only the dominant error-conditioned format and omits this auxiliary SFT mixture. We will clarify the complete training mixture in the revised version.

W3 and Q2: uniform minimal correction prompt used in the ablation. Thank you for requesting the exact template. The ablation without profiling applies the same minimal correction policy to every error:

[System] You are an expert Math Corrector specializing in minimal, precise corrections.

### Context
The student attempted this problem and made a mistake in an otherwise reasonable solution. Preserve as much of the student's original reasoning as possible and fix only what is broken.

### Your Task
Generate exactly {n_candidates} DIFFERENT corrective trajectories. Each trajectory must:
1. Preserve the maximum correct prefix — copy the student's reasoning VERBATIM up to the point of error (the longest correct prefix possible).
2. Pinpoint the exact error — identify the specific calculation, substitution, or logical misstep in a first-person error_step, rather than stating only "I was wrong".
3. Apply a minimal correction — fix ONLY what is wrong; do not restructure or rewrite correct steps.
4. Vary the correction style across the {n_candidates} trajectories.

### Style Requirements
- Preserve the student's writing style, formatting, and tone.
- No meta-commentary such as "I made a mistake here" or "Let me reconsider".
- Every trajectory MUST end with exactly: "The answer is: [value]".

### Output Format
A JSON array of {n_candidates} objects with fields {error_step, preserved_prefix, correction, final_answer}.

### Reference Examples
{trajectory_examples}

### Task Data
{problem} / {student_reasoning} / {correct_answer}

W4: RFT learning rate. Thank you for this suggestion. RFT may benefit from a lower learning rate because it trains on self-generated student trajectories. The additional learning rate sweep did not finish within the rebuttal period. We will report the retuned RFT results and update the table in the revised version.

W5: differing sample counts across methods. The sample counts differ because each method applies its own data construction, augmentation, and filtering criteria, yielding a different number of training examples. MetaMathQA SFT uses the complete 394.99K dataset. S³C-Math augments MetaMathQA with 532K correction instances constructed at individual reasoning steps, yielding 927K samples. The original RefAug configuration contains 29.94K samples, while LEMMA retains 88.90K trajectories after correctness filtering. We set Ours to 88.90K to match LEMMA, providing a data matched comparison with the most closely related baseline.

We agree that additional data matched comparisons would make the effect of the data construction strategy easier to isolate. The limited rebuttal period does not allow us to construct and train all such variants. We therefore plan to add a RefAug variant with approximately 89K samples in the revised version.

W6: construction overhead. Construction is performed offline. In each pass, profiling generates K=5K=5 student traces for each of the 394.99K MetaMathQA training instances, or approximately 1.975M student generations. The teacher is invoked only for instances with α(q) > 0. Each such instance uses one batched request that returns N=5N=5 correction candidates. BPR then scores the correct candidate windows under the student using forward passes without gradients and selects one trajectory. None of these construction steps is used during evaluation.

W7: benchmark scope. Thanks for your helpful suggestion. Due to the limited rebuttal period, we plan to add evaluations on additional mathematical reasoning benchmarks in the revised version.

Q4: a more general version in which the teacher diagnoses freely. Thank you for this constructive suggestion. This is a promising generalization, although the teacher observes only sampled student outputs rather than the student's internal state, so reliable diagnosis may require more samples and greater teacher capability. We plan to explore this generalization in future work.

Reviewer qhDV · CommentOpenReview ↗

Response to the rebuttal

Thanks for the detailed response. I think some concerns like W1 are addressed, and the matched-data random-selection control is the right experiment. But I still find the setup not fully controlled: the training sample sizes differ across methods and, more importantly, there's a training mechanism (the 90/10 format mixture) that isn't described in the original paper, and since the plain-SFT portion likely contributes to the gains, some results aren't fully attributable to BPR alone. Combined with some remaining items (retuned RFT, additional data-matched baselines, etc), I think the results are still not fully reliable, though the core idea leans positive. I'll maintain my score of weak accept.

Reviewer quC2OpenReview ↗
Rating
5/6
Confidence
3/5
Quality
3/4
Clarity
3/4
Significance
3/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

The paper builds training data for distilling mathematical reasoning from a large teacher into a small student, starting from the observation that students overfit the teacher's style and cannot recover once their own inference-time behaviour drifts, and that existing corrections are written in a style the student cannot reproduce. The fix is a three-stage pipeline: behavioural error profiling classifies each problem into one of three failure modes (stubborn, inconsistent, sporadic) from an error rate and an error consistency; a teacher then generates mode-specific correction candidates, each split into a reflection, a preserved correct prefix, and a corrective continuation; and branching point reachability scoring (BPR) selects, among correct candidates, the one whose first few corrective sentences are most probable under the student, scored in a local window right after the divergence rather than over the whole response. The selected correction becomes a standard SFT target.

Experiments use DeepSeekV3.2 as teacher with two students (Llama3.1-8B, DeepSeekMath-7B), trained on MetaMathQA-derived data and evaluated on GSM8K and MATH (in-distribution) plus SVAMP, ASDIV, and MAWPS (out-of-distribution). The method reports the best five-benchmark average on both backbones, with gains concentrated out-of-distribution, and an ablation indicating profiling drives most of the gain while BPR refines on top.

Strengths and weaknesses

Strengths

  • The paper's strongest and most general contribution is how it reframes the distillation target. Defining good training data as both correct and reachable, rather than correct alone, is an idea that carries well beyond mathematics or this particular pipeline, and it addresses a problem that grows with the teacher-student capacity gap: correct teacher traces the student cannot reproduce can end up hurting it rather than helping. For me this is the conceptual contribution most worth surfacing at the conference.

  • The way the paper sorts student failures is also a useful, reusable idea. Instead of labelling errors by type (a calculation slip, a wrong formula), it looks at how the student fails across several tries: how often it gets the problem wrong, and whether it keeps making the same mistake or different ones each time. That is a lightweight way to group failures, and other work on building or selecting training data could borrow it.

  • The component ablation is informative and fairly reported: it shows profiling is the workhorse and the reachability-scoring step refines on top, and the paper states this plainly rather than overclaiming its new scoring mechanism. The writing is also clear, the three stages and the local-window rationale are easy to follow from the main text.

Weaknesses

  • The central comparison is single-seed with no variance, while the margins over the strongest baseline are small, so I cannot tell whether the average lead and the per-benchmark OOD margins are inside or outside run-to-run noise. For a paper whose contribution is empirical, this is the weakness that matters most.

  • The correctness-filtering step shapes the comparison, not just the method. Problems the teacher cannot solve are dropped, so if the baselines are built over a different surviving set, part of the out-of-distribution lead (which is where most of the gain lives) could be a coverage effect rather than the reachability criterion.

  • The whole construction rests on the teacher correctly finding where the student first went wrong, and that step is never checked. The preserved prefix is the student's trace up to the first error, and the continuation is rewritten from that point on, so this boundary decides what is kept, what is rewritten, and which tokens the selection score looks at. If the teacher places it too late, a wrong step is preserved as if it were correct; too early, and a correct step the student already had is thrown away. Either way the answer can still come out right, so the correctness filter does not catch it. I am not claiming the teacher localises badly, only that the paper gives no evidence either way for a step the method depends on. A small human audit of boundary accuracy on a sample, or an ablation that shifts the boundary by one step, would settle it.

Questions
  • Variance on the main comparison. Can you report even two or three seeds on the two full-corpus rows, or, if full SFT is too costly, seed only the K/N data-construction sampling with a fixed SFT seed? It would show whether the average lead and the per-benchmark OOD margins hold up outside seed noise.

  • Coverage versus selection. Can you report the fraction of problems dropped because the teacher produces no correct candidate, whether that drop rate differs across methods, and ideally the main comparison re-run on a fixed problem intersection? This would show whether the OOD lead reflects the reachability criterion or just differing coverage across methods.

  • Localisation reliability. How accurate is the teacher's identification of the first divergence point? A small human audit on a sample, or a boundary-perturbation ablation, would show how much the (reflection, prefix, continuation) construction depends on the teacher getting the divergence point right.

Limitations

Yes. However, the authors name the three limitations whose discussion sits in an appendix. Perhaps, this should be considered as only a formatting issue. the single-seed evaluation and the correctness-filtering selection effect might belong in the main text.

Final justification

My three concerns (seed variance on small margins, a possible coverage effect from correctness filtering, and unchecked divergence-point localization) were all resolved by new experiments in the rebuttal. The core idea, defining distillation targets as both correct and reachable, is applicable beyond these tasks the paper focuses on. The authors agreed to move the limitations discussion into the main text. Nothing else from my review remains unresolved that would weigh against acceptance, to the best of my understanding of the work.

Separately, I did not consider in my review the points Reviewer qhDV raises, and I share the reservation that the 90/10 training-format mixture surfaced only in the rebuttal and that not all baselines are data-matched, so the gains are not fully attributable to BPR alone.

Formatting concerns

The formatting looks good to me, except for the limitations section, which resides in the appendix and could be included in the main text since it has important points.

2 comments
Authors · RebuttalOpenReview ↗
Rebuttal

We thank the reviewer for the accurate and generous summary in S1 through S3. We answer all three questions with numbers and adopt the suggestion on the placement of limitations.

W1 and Q1: variance in the main comparison. Following your constructive comment, we report a variance analysis across SFT training seeds. For each model trained on the full 88.90K corpus, we report results across 3 SFT training seeds. These comprise the original seed reported in the submission and two additional seeds. The constructed corpus and all other settings remain fixed.

All values for Ours below are the mean ± sample standard deviation across the three runs, computed with an n − 1 denominator. For the Avg column, we first compute the average across the five benchmarks for each seed and then compute the mean and sample standard deviation across the three seed averages.

Student Method GSM8K MATH SVAMP ASDiv MAWPS Avg
Llama-3.1-8B Ours 86.2 ±0.4 34.9 ±0.5 87.1 ±0.2 85.5 ±0.3 94.1 ±0.2 77.6 ±0.3
Llama-3.1-8B LEMMA 79.2 38.3 82.6 84.2 88.8 74.6
DeepSeek-Math-7B Ours 84.2 ±0.2 48.5 ±0.3 85.4 ±0.2 90.9 ±0.1 95.6 ±0.2 80.9 ±0.2
DeepSeek-Math-7B LEMMA 80.4 50.6 81.6 89.8 90.9 78.7

The submission reports the original estimates from one seed. In benchmark order, these are 86.0, 35.0, 87.0, 85.6, and 94.2 for Llama-3.1-8B, and 84.1, 48.6, 85.3, 91.0, and 95.6 for DeepSeek-Math-7B. Every difference from the means across three runs falls within the observed variation across runs.

Across the three SFT seeds, Avg has a sample standard deviation of 0.3 on Llama-3.1-8B and 0.2 on DeepSeek-Math-7B. The corresponding means retain margins of 3.0% and 2.2% over the LEMMA results reported in Table 2.

W2 and Q2: coverage versus selection. This is a fair concern. We address it through an upper bound on drops caused by correctness filtering and a comparison using matched source problems.

1. Upper bound on drops caused by correctness filtering. Among problems entering Stage 2, a problem is dropped by correctness filtering only when all N=5N=5 teacher candidates are incorrect. The candidate correctness rates are 95.7% for the Llama pipeline and 95.3% for the DeepSeek pipeline. These give deterministic upper bounds of 4.3% and 4.7%, respectively, on the problem drop rates without assuming independence among candidates.

2. Coverage across methods. Because LEMMA does not use the same procedures for candidate generation and correctness filtering, its drop rate is not directly comparable. We therefore control for coverage through a matched intersection of source problems.

3. Comparison using shared source problems. Both LEMMA and MetaMathQA are derived from GSM8K and MATH source problems. We map their training instances back to the corresponding original problems and restrict both methods to the shared set. We select one training example per shared source problem for each method, yielding 12,217 training examples for each method. The two methods therefore use the same source problems and number of training examples while retaining their respective supervision formats.

Student Method GSM8K MATH SVAMP ASDiv MAWPS Avg
DeepSeek-Math-7B Ours 80.3 45.2 81.4 87.3 91.2 77.1
DeepSeek-Math-7B LEMMA 77.5 47.7 78.1 86.4 88.6 75.7

In this comparison using shared source problems, our method retains the higher average across the five benchmarks and the stronger OOD results. This reduces the concern that the ranking is driven solely by different source problem coverage. It does not isolate BPR from other differences in supervision construction, including the input format, corrective structure, candidate generation, and trajectory selection. We therefore interpret it as a coverage control rather than a causal test of an individual component.

W3 and Q3: reliability of first divergence localization. We agree that this is an important check. The construction relies on the teacher placing the boundary correctly, so we examine it using both probes suggested by the reviewer. These are a manual audit of boundary accuracy and a boundary perturbation ablation. We first audit the teacher's first error boundary and label each trace as accurate, too early, or too late, as defined below.

Audit of 50 randomly sampled traces from the 65.76K DeepSeek-Math-7B configuration:

Boundary label Count / 50 Share Effect
Accurate, at the true first error 44 88% boundary matches the first divergence
Too early, a correct step pushed into the correction 4 8% changes the conditioning prefix and BPR window
Too late, a wrong step kept in the prefix 2 4% conditions the continuation and BPR score on an incorrect step

We next keep the candidate pools generated by the teacher fixed for the 65.76K DeepSeek-Math-7B configuration and perturb the boundary used for BPR on 12% of the training problems with a preserved prefix. We shift 8% one reasoning step earlier and 4% one step later, matching the proportions observed in the audit. We recompute BPR under the shifted conditioning prefix and local window, reselect the training trajectory, and then retrain and evaluate on all five benchmarks. No teacher candidates are regenerated, so this ablation evaluates the sensitivity of selection by BPR to boundary localization.

Student Setting GSM8K MATH SVAMP ASDiv MAWPS Avg
DeepSeek-Math-7B Original 83.6 47.1 83.9 90.1 95.3 80.0
DeepSeek-Math-7B Perturbed 83.8 46.6 83.6 89.4 94.9 79.7

In this single run, using the perturbed boundaries for BPR scoring and candidate reselection changes the average across five benchmarks by 0.3% on DeepSeek-Math-7B.

Reviewer quC2 · CommentOpenReview ↗

Thanks for the detailed rebuttal, this addresses my concerns.

  • W1 and Q1: the three-seed results settle the variance question for me; the margins over LEMMA clearly survive seed noise (though LEMMA still leads on MATH itself).
  • W2 and Q2: both analyses are convincing, and I appreciate you being upfront that this is a coverage control rather than a causal test of BPR.
  • W3 and Q3: the results of these two checks (basically no change) settle my concern, thanks.

I am glad the limitations discussion will move into the main text in a revision. My rating remains 5.

Reviewer eDRTOpenReview ↗
Rating
5/6
Confidence
4/5
Quality
2/4
Clarity
4/4
Significance
3/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This work addresses the central challenge of distribution mismatch in reasoning distillation. Building on the idea of constructing self-correction-style reasoning trajectories, the authors argue that effective corrective teacher trajectories should be determined jointly by what the student fails and what it can realistically learn. The paper proposes a well-motivated framework that combines failure profiling of student errors, targeted generation of correction candidates based on different error modes, and a branching-point-reachability-based trajectory selection mechanism to construct more suitable correction data for supervision. Experiments across multiple math reasoning benchmarks show improvements over baselines, particularly under out-of-distribution settings.

Strengths and weaknesses

Strengths:

  • Impressive writing quality and well-designed figures. I appreciate the authors’ effort in making the paper clear, accessible, and easy to follow.
  • Clear motivation and a well-motivated overall framework combining failure profiling and reachability-based trajectory selection.
  • The idea of characterizing distinct student failure modes and generating tailored corrective trajectories with diverse correction styles accordingly is insightful and technically interesting.

Weaknesses:

  1. One major weakness is that the paper does not seem to compare against a standard off-policy distillation baseline, where the teacher model (DeepSeek-V3.2) directly generates reasoning trajectories (with or without intermediate thinking tokens) for the training problems, followed by student SFT on these teacher-generated traces. Such a baseline is important for demonstrating the practical significance of the proposed distillation method, since the current approach also relies on teacher rollouts during data construction. In contrast, the current SFT baseline in Table 2 seems to only use trajectories from the original dataset rather than teacher-generated reasoning trajectories.
  2. The experiments currently rely on a single teacher model, DeepSeek-V3.2. The paper would benefit from additional experiments with diverse teacher models to better demonstrate the robustness and generalizability of the proposed method.
  3. I find the training setup somewhat unclear. It is not clear whether the proposed method trains only on samples where the student initially fails and receives corrective trajectories, or whether it is trained jointly with samples that the student already answers correctly.
    • If the former, could this lead to undesirable behavior such as over-triggering self-reflection even when the student is already capable of producing the correct answer? I also wonder whether the reported evaluation accuracy would count cases where the student initially reaches the correct answer but subsequently fails after unnecessarily entering the self-correction process.
    • If the latter, why does the training set have only 88.90k training samples, while the RFT baseline (use correct student trajectories) already contains 86.52k samples?
  4. I also have concerns regarding the efficiency of the current self-correction-style trajectory design. The corrective trajectory generated by the teacher (reflection + prefix + correction) is appended after the student’s original reasoning trajectory, which substantially increases the total generation length and therefore leads to higher inference cost. However, the efficiency trade-offs do not seem to be evaluated in the experiments.
Questions
  1. In Line 224, the reported total number of training problems (385K) is not consistent with the SFT sample size reported in Table 2 (394.99K). Some clarification on this discrepancy would be helpful.
  2. How are the training sets of different sizes in Figure 4 and Table 2 (e.g., the 62.74K and 65.76K variants) derived?
  3. I am curious whether the proposed self-correction-style reasoning distillation can generalize to improve the student model’s direct reasoning ability without triggering reflection.
  4. The related work section may benefit from covering additional work on reachable trajectory selection, such as GRAPE [1] (which is distinct from the "GRAPE" currently cited in the paper) and Rank-Surprisal Ratio [2].
  5. The prompt templates for adaptive correction generation may benefit from additional clarification. In particular, it seems that the prompt for inconsistent errors (Appendix D.2) requires multiple student reasoning attempts as input, whereas Line 154 states that only a single representative student error trajectory is sent to the teacher. Also, what does {trajectory_examples} represent in the prompt templates' input slots?

Additionally, if the off-policy distillation baseline (i.e., SFT on teacher trajectories) mentioned in the Weaknesses section has not already been evaluated, it would be helpful to include such a comparison, as it may influence my overall assessment of the paper.

[1] "The Best Instruction-Tuning Data are Those That Fit." 2025.
[2] "Which Reasoning Trajectories Teach Students to Reason Better? A Simple Metric of Informative Alignment." 2026.

Limitations

yes

Final justification

The rebuttal has addressed most of my concerns, especially my major concern regarding the off-policy distillation baseline (i.e., SFT on teacher trajectories). During the rebuttal, the authors provided substantial additional details on the data construction process and experimental settings, together with new experimental results and analyses, which collectively strengthen the paper. However, since some essential details (e.g., the 90/10 data format mixture and the two-pass data construction process) were only disclosed in the rebuttal, and a more comprehensive description of these components, together with further qualitative or quantitative analyses on how variations of these components affect the effectiveness of the proposed method, may still be needed, I retain some minor concerns regarding the validity of the experimental evaluation.

Overall, I believe the paper makes a meaningful contribution and can meet the acceptance standard after incorporating and refining the additional clarifications and analyses provided in the rebuttal. Therefore, I have updated my score to Accept.

Formatting concerns

None.

4 comments
Authors · RebuttalOpenReview ↗
Rebuttal

We thank the reviewer for recognizing the writing, motivation, and design that tailors corrections to each failure mode in S1 through S3. We first address the main comparison requested in W1 and Q6.

W1 and Q6: baseline using direct teacher traces. We agree that standard distillation from teacher traces generated off policy is an important comparison. We construct this baseline on the same problem sets used by our 62.74K Llama-3.1-8B and 65.76K DeepSeek-Math-7B configurations. For each problem, DeepSeek-V3.2 generates a direct solution with explicit reasoning steps, conditioned only on the question. We verify the final answer using the same answer checker as in our construction pipeline and resample an incorrect generation until a correct teacher trace is obtained. Thus, both methods use the same source problems, one verified correct training trajectory per problem, the same teacher and student models, and the same SFT training configuration. This comparison evaluates our complete supervision construction pipeline against standard SFT on direct teacher traces:

Llama-3.1-8B with 62.74K examples from the same problem set:

Method GSM8K MATH SVAMP ASDiv MAWPS Avg
Ours 85.5 33.9 86.4 84.9 93.9 76.9
Direct teacher trace SFT 84.0 32.4 82.0 82.1 88.5 73.8

DeepSeek-Math-7B with 65.76K examples from the same problem set:

Method GSM8K MATH SVAMP ASDiv MAWPS Avg
Ours 83.6 47.1 83.9 90.1 95.3 80.0
Direct teacher trace SFT 82.6 46.5 81.5 89.2 90.7 78.1

With the problem sets and numbers of training examples matched, our complete pipeline outperforms direct teacher trace SFT by 3.1% on Llama-3.1-8B and 1.9% on DeepSeek-Math-7B. This comparison evaluates the complete pipeline. Relative to direct teacher trace SFT, our supervision combines conditioning on student failures, the reflection, preserved prefix, and corrective continuation structure, candidate generation adapted to each failure mode, and BPR selection. The result is consistent with our motivation that correctness alone does not ensure that a teacher trace can be reliably reproduced by the student.

W2: single teacher. We repeat the construction with DeepSeek-V4-Flash, keeping the DeepSeek-Math-7B student, MetaMathQA source, 88.90K training examples, prompt templates, candidate budget, BPR configuration, and SFT training configuration unchanged.

DeepSeek-Math-7B with 88.90K constructed examples:

Teacher GSM8K MATH SVAMP ASDiv MAWPS Avg
DeepSeek-V3.2, original teacher 84.1 48.6 85.3 91.0 95.6 80.9
DeepSeek-V4-Flash 84.7 49.1 85.7 90.8 94.9 81.0

DeepSeek-V4-Flash achieves an average accuracy of 81.0%, comparable to 80.9% with DeepSeek-V3.2. Consistent with our original experiment, this result verifies the effectiveness of our method with a different teacher.

W3: training set composition and unnecessary reflection. The method trains only on problems for which the student produces at least one incorrect response during profiling, so α(q) > 0. Problems with α(q) = 0 have only correct sampled responses and are excluded. We therefore do not add a separate pool of problems for which all sampled student responses are correct.

The final SFT data use two input and target formats. For 90% of the examples, the input is the question and the representative erroneous student trace, while the target is the reflection, preserved prefix, and corrective continuation. For the remaining 10%, the input contains only the question, while the target is the complete corrected solution, comprising the full preserved prefix and corrective continuation without the reflection or erroneous trace. Thus, the target is a complete step by step answer rather than the corrective continuation alone.

The 10% of examples that use only the question are drawn from the same α(q) > 0 problem pool rather than from a separate α(q) = 0 pool. Their purpose is to expose the model to the input format used at evaluation, which contains only the question. The submission describes only the dominant error-conditioned format and omits this auxiliary SFT mixture. We will clarify the complete training mixture in the revised version.

At test time, the model receives only the question and generates a single solution. No erroneous trace is supplied, and no separate correction pass is invoked. Evaluation extracts the final answer from that solution. Therefore, if the model first reaches the correct answer but subsequently changes it to an incorrect one, the example is counted as incorrect.

The output audit reported in our response to Q3 further suggests that the model rarely revises its own reasoning explicitly at inference.

W4: efficiency and inference length. We first clarify that the erroneous student trajectory is used only as training context. It is not generated or appended at inference. At test time, the model receives only the question and produces a single solution. We evaluate the resulting inference length directly because it was not reported in the submission. On Llama-3.1-8B, the average number of generated tokens across the five benchmarks is 447 for Ours and 369 for the SFT baseline in Table 2. This is an increase of 78 tokens, or approximately 21%. It is far below the near doubling that would result from generating an initial trajectory and then appending a separate correction.

Q1: 385K versus 394.99K. Thank you for catching this. The value "385K" in Line 224 is a typo. MetaMathQA contains approximately 395K training examples, consistent with the 394.99K SFT size in Table 2. We will correct Line 224.

Q2: derivation of the 62.74K and 65.76K sets. The 62.74K and 65.76K sets are the complete outputs of the first construction pass for Llama-3.1-8B and DeepSeek-Math-7B, respectively, and are literal subsets of the corresponding final 88.90K corpora. In each pass, we independently sample student trajectories, retain problems with α(q) > 0 and at least one correct teacher candidate, and use BPR to select at most one trajectory per retained problem.

To reach 88.90K, we run a second pass with fresh student samples and teacher candidates, then merge it with the complete first pass while prioritizing previously unseen questions. A revisited question still yields a distinct example because its student error trace and teacher candidates are resampled. Thus, the statement in Section 3.5 that the pipeline produces one training example per problem applies within each construction pass. We will clarify this use of multiple passes.

Q3: generalization to direct reasoning without reflection. To examine whether the 88.90K trained models rely on explicit reflection at inference, an LLM judge labels 300 outputs per benchmark as REFLECTION when a solution overturns an earlier step and DIRECT otherwise. This definition concerns revision within a solution produced at test time, not the reflection field in the training target. We audit 1,500 outputs per student:

Student DIRECT share DIRECT acc REFLECTION share REFLECTION acc
Llama-3.1-8B 90.5% 81.9% 9.5% 33.1%
DeepSeek-Math-7B 95.3% 82.1% 4.7% 35.7%

Most outputs are DIRECT. Weighting the DIRECT and REFLECTION accuracies by their shares gives 77.3% (0.905 × 81.9% + 0.095 × 33.1%) and 79.9% (0.953 × 82.1% + 0.047 × 35.7%), broadly consistent with Table 2. This provides indirect evidence that training on corrective trajectories is compatible with standard inference from question to solution without routinely triggering explicit revision.

Q4: GRAPE 2025 and Rank Surprisal Ratio. Thank you for pointing us to these two works. We will add the cited 2025 GRAPE paper, which is distinct from the GRAPE already discussed in our submission, together with Rank Surprisal Ratio to Related Work. GRAPE selects candidate responses by normalized probability under the target model, supporting supervision matched to the student. Rank Surprisal Ratio combines token rank and surprisal to capture alignment and informativeness. Like BPR, both condition trajectory selection on the student. BPR differs by restricting scoring to the initial corrective steps after the first divergence rather than scoring the full trajectory. We will make this distinction explicit.

Q5: prompt input inconsistency and {trajectory_examples}. Thank you for identifying this ambiguity. The template in Appendix D.2 supports multiple student attempts. In our experiments, however, we use a compressed instantiation of its input slots to avoid repeatedly including K long reasoning chains in every teacher request.

Specifically, all K student samples are used in Stage 1 to compute the error rate α, error consistency κ, and the distribution of final answers. In Stage 2, {student_reasoning_attempts} is instantiated with the single representative erroneous trajectory τ_rep. The fields {num_samples}, {num_unique_answers}, and {answer_list} provide a summary of the answers across all K attempts. Thus, the teacher observes that the student's outcomes are unstable without receiving all K full reasoning chains, while τ_rep provides the concrete reasoning instance to be corrected. This preserves the use of a single representative reasoning trajectory described in the main text. We will revise Appendix D.2 to make this compact instantiation explicit.

{trajectory_examples} denotes a fixed block of 6 examples that demonstrate the reflection rr, preserved prefix pp, and corrective continuation cc. The same block is used across all three templates.

Reviewer eDRT · CommentOpenReview ↗

Thanks for the detailed rebuttal, which addressed some of my concerns. It's interesting that training on 90% self-correction style trajectories only leads to 10% trajectories containing reflection behavior during inference.

Some additional questions:

  • For Q2, it seems that the numbers of training samples and the data construction process are still a bit confusing.

    • Did you mean that the second construction pass is not a complete pass and only a subset of questions are used for resampling? What's the criteria on selecting the questions for the second pass and is there any reason for ultimately using 88.90k samples for training (since you allow multiple examples for one question, it's flexible to construct more or less samples)?
    • Are the training sets of different sizes in Figure 4 derived by some kinds of down sampling?
    • For RFT, which trains on student's correct self-generated reasoning trajectories, there are only 86.52k samples. This probably means that the number of problems for which the student produces at least one incorrect response (and can be used to construct the training data using this paper's method) should be at least 395k - 86.52k = 308.5k, not just 62.74k / 65.76k.
    • Also, it may be beneficial to provide details on the data construction process for other baseline methods (like does ISC / GPTAug / RefAug / LEMMA share the same training questions with the paper's method?). These may help further demonstrate the fairness of the comparison in Table 2 and provide better support for the paper's main results.
  • For Q5, if the {student_reasoning_attempts} is instantiated with the single representative erroneous trajectory in the prompt for inconsistent errors (Appendix D.2), then it seems impossible for the teacher model to "Preserve any common correct prefix" and "Diagnose the divergence point" (which are the first and second requirements listed in the prompt). Further clarification may be appreciated.

Authors · CommentOpenReview ↗

Thank you for the follow-up.

Q2:

(1) We rerun the pipeline on all 394.99K instances but merge only part of the second-pass output. When merging it into the complete first pass, our criterion is to prioritize previously unseen problems, i.e., those not already represented, and we stop once the corpus reaches 88.90K. Fresh sampling surfaces additional usable problems. A revisited problem still yields a distinct example because its error trace and candidates are resampled. The 88.90K size is a budget we deliberately chose to match LEMMA, our most closely related baseline, for a data-matched comparison. We agree that the corpus size is flexible under our construction.

(2) This estimate does not hold, for two reasons.

(i) The relevant base is the deduplicated problem set, not 394.99K. MetaMathQA's 394.99K instances contain many exact-duplicate questions; deduplicating leaves 146K distinct problems. RFT retains at most one correct trajectory per distinct question, and our own first-pass corpus, constructed by profiling all 394.99K instances, likewise retains at most one example per distinct question, so both operate at the distinct-problem scale rather than on repeated instances. RFT's 86.52K correct trajectories thus come from ~146K distinct problems, and the subtraction should be taken against 146K: 146K-86.52K$\approx$60K distinct problems on which the student fails to yield a correct trace, which is the same order as our first-pass error-problem count (62.74K/65.76K), not 308.5K.

(ii) "At least one correct" and "At least one incorrect" are not complementary. Under K-sample profiling, a single problem can produce both a correct and an incorrect response, so it contributes a correct trace to RFT while also having α(q)>0\alpha(q)>0 and being usable by our method. The two sets overlap.

(3) Baseline construction and fairness of the comparison.

All comparison methods trace back to the same source problems as our method, the GSM8K and MATH training sets. They fall into two groups by how each constructs its supervision, which also determines the problem set it operates on:

Recipes applied to the training corpus (MetaMathQA): SFT, RFT, S³C-Math, and Ours. MetaMathQA is itself an augmentation of the GSM8K+MATH problems. SFT trains on it directly; S³C-Math injects step-level mistakes into it; RFT rejection-samples the student on it and keeps one correct trace per distinct question; and our method profiles the student on it and constructs corrections.

Methods that build their own supervision from the source problems: GPTAug, RefAug, ISC, and LEMMA expand the GSM8K+MATH problems into several examples per problem by their own recipes.

All methods ultimately trace to the same GSM8K and MATH source problems, while their exact training questions and supervision depend on their construction recipes, which we keep rather than re-implementing each method on our augmentation, since that would change the method.

This leaves a structural difference: we augment the questions (MetaMathQA variants), whereas the source-augmenting methods augment the supervision per question. Two controls show it does not drive our results:

(i) Same data, different supervision. Several of these supervision styles also appear as controls on our identical problem set, and our full method beats each: GPTAug's direct teacher solution is our off-policy teacher-trace baseline (76.9/80.0 vs. 73.8/78.1); a generic single-strategy correction, close to ISC's, is our combined ablation with a uniform prompt and global scoring (76.9 vs. 67.5); and replacing BPR with random selection still loses (76.9/80.0 vs. 74.5/79.0). SFT, RFT, and S³C-Math likewise use the same MetaMathQA.

(ii) Shared source. Mapping ours and LEMMA to their original problems and training each on the identical 12,217 problems (one example each) removes both our question breadth and LEMMA's answer depth, and we still lead (77.1 vs. 75.7; W2/Q2).

The comparison is therefore fair, these controls reduce the concern that the ranking is driven solely by differences in question coverage or question-level augmentation. We will add this construction summary to the appendix.

Q5: {student_reasoning_attempts} is a list-valued input slot designed to support either one or multiple trajectories.

When multiple trajectories are provided, the teacher identifies their shared correct prefix and the point where their reasoning begins to diverge. When only one trajectory is provided, the shared correct prefix reduces to that trajectory's longest correct prefix, and the divergence point refers to its first departure from correct reasoning.

In our experiments, this slot is instantiated as a singleton list containing τ_rep. The teacher identifies its correct prefix and first erroneous step from the problem, τ_rep, and the correct answer. We will revise Appendix D.2 to make both supported cases and the singleton instantiation explicit.

Reviewer eDRT · CommentOpenReview ↗

Thanks for providing the additional information and explanation. These details further strengthen the paper, and I will update my overall assessment accordingly.

I have some additional follow-up questions (not major concerns):

Regarding Q2 (the numbers of training samples and the data construction process), I understand that "At least one correct" and "At least one incorrect" are not complementary events. Therefore, 146K-86.52K$\approx$60K represents the number of questions for which all student answers are incorrect and serves as the lower bound on the number of questions satisfying “At least one incorrect”.

  • Does this imply that the number of questions receiving both correct and incorrect student answers is only around 3K or 6K (62.74K/65.76K - 60k)?
  • Why are the RFT sample sizes for both Llama-3.1-8B and DeepSeek-Math-7B exactly 86.52K? I would expect different student models to have different numbers of questions with at least one correct answer.
  • It may be helpful to provide the distribution of α(q) for each student model in the appendix, along with more details about the complete data construction pipeline.
  • Are the training sets of different sizes in Figure 4 generated via some form of downsampling? I assume this is the case, but further explanation would make the experimental setup clearer.

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Missing a submission?

Loading the discussion…