acceptodds
Published as a conference paper at NeurIPS 2026

Anchoring Reasoning Distillation via Syntactic Constraints

Zehua Cheng, Wei Dai, Jiahao Sun

Abstract

Distilling "System 2" reasoning into compact student models is bottlenecked by the scarcity of fully-correct teacher traces: as task difficulty grows, rejection sampling discards an increasingly large fraction of teacher generations. "Wrong" (W) traces are abundant, but training on them indiscriminately causes *policy poisoning* the student internalises the teacher's hallucinated arithmetic alongside any useful reasoning structure. We propose **Atomic Reasoning Units (ARU)**, a framework that resolves this trade-off via strict syntactic constraints. ARU enforces a Backus–Naur-Form (BNF) grammar that decomposes each reasoning step into a Premise, an Operation, and a Result, algorithmically disentangling reasoning planning from arithmetic execution. *Counterfactual Logic Verification* (CLV) symbolically re-executes W-traces to recover the that have valid plans but faulty arithmetic, and *Syntactic Loss Masking* (SLM) trains the student on this verified structure while suppressing the gradient on hallucinated result tokens. Across the grid we evaluate ( B Qwen3 students eight benchmarks six baselines), ARU is the strongest method in every cell, improving GSM8K by and MATH-500 by over the closest baseline at  B; on the held-out AIME competition set ARU's Maj@ is versus for PoT (the closest baseline). We further document a small-scale capability gap in which ARU at  B matches Gold-SFT at  B on GSM8K (paired-bootstrap after Bonferroni correction), with a pre-registered ProofWriter control showing the gap collapses on pure-logic reasoning—consistent with arithmetic offloading as the dominant mechanism, though we do not claim the control uniquely isolates it. The code is available at https://anonymous.4open.science/r/ARU-286D.

Keywords:
Sydney, Main Track

Reviews

Among:
Shape:
123456this paper, Bottom 49%
Figure 1. Mean review rating of the reviewed papers at NeurIPS 2026. This paper averages 4.33 over 3 reviews, above 49% of the others.
Reviewer_27psOpenReview ↗
Rating
5
Clarity
3
Confidence
3
Originality
3
Quality
3
Significance
3
Read review
Summary

The paper studies how to use teacher reasoning traces that end with a wrong answer. These traces may still contain a useful solution plan. However, direct training on them may also teach wrong arithmetic.

The authors propose Atomic Reasoning Units, or ARU. Each reasoning step is rewritten into three fields: Premise, Operation, and Result. Counterfactual Logic Verification re-executes the operation sequence with a symbolic solver. A trace is kept when the corrected execution reaches the gold answer. Syntactic Loss Masking then trains the student on the premise, operation, and structural tokens. It does not train on the wrong numerical result. The solver-corrected result is still used as the input context for later reasoning steps.

The authors verified the effectiveness of the methods by experiments using small Qwen3 students and various mathematical and STEM benchmarks.

Strengths and weaknesses

Overall, I like this paper.

Strengths:

  • The problem is useful and practically important. Rejection sampling can waste many teacher generations. Direct training on wrong traces can also damage the student. Recovering useful supervision from these traces is therefore valuable, especially for small models.
  • The main method is convicing, straightforward, and easy to understand.
  • The experimental coverage is broad. The paper uses several model sizes and several evaluation datasets. It includes both in-distribution and out-of-distribution benchmarks. It also evaluates CLV with human labels and with a second teacher model. Finally, the full set of ablation studies is also conducted.
  • I think structuring the model outputs into BNF style itself contributes to transparency and explainability.

Weaknesses:

  • CLV may accept a wrong or irrelevant plan that reaches the correct answer by coincidence.

  • A baseline is missing? If I understand the paper correctly, ...

CLV already produces solver-corrected intermediate results. The training pipeline also uses these corrected values as context for later steps. A direct baseline is therefore full SFT on the completely corrected trace. This baseline would train on the corrected Result values instead of masking them.

This comparison would use the same teacher traces, grammar, verifier, and symbolic solver. The only difference would be the loss on the corrected numerical results. It would directly test whether SLM is better than ordinary training on corrected traces.

The current ablation without SLM is not enough if it trains on the original wrong Result values. The paper should also include Gold-only SFT in the BNF format. This would separate the effect of the structured format from the effect of adding verified wrong traces.

Questions
  • What is the process-level precision of CLV? A rough estimate would help readers.
  • Do we need the baseline described in my weaknesses section?
Limitations

yes

Paper formatting concerns

No

Reviewer_9xw4OpenReview ↗
Rating
4
Clarity
2
Confidence
3
Originality
3
Quality
3
Significance
3
Read review
Summary

The authors of this paper propose a technique called Automatic Reasoning Units (ARU), which is used for reasoning distillation, from a strong teacher model to a smaller student model. This is a new framework for reasoning distillation. The idea is to decompose reasoning into discrete units, including Premise, Operation, and Result. This enables the separation between planning and execution. The approach uses a syntactic approach based on a formal grammar. The proposed technique, called Syntactic Loss Masking (SLM), makes a model learn the structure of thought using traces.

Strengths and weaknesses

Strengths

  • The paper presents a very interesting research direction of using grammar-based constraint decoding for improved reasoning capabilities.

  • The approach of using counterfactual logic verification in this context is a new and interesting direction.

  • The evaluation results look very promising, compared to several competing approaches.

Weaknesses

  • The paper could be written in a clearer style. Figure 1 is quite informative, but the text describing the figure's content is not well structured. Section 3 could be better if it connects back clearly to Figure 1, and also presents it in the same order. See also some more comments below.

  • Some parts of the text do not convey the deeper meaning of the approach. For example, section 3.2 stops at a syntactic level and does not discuss the semantic aspects.

Other comments

Related work: This section is a bit on the shorter end, but it still gives a quite good overview of related work and how it relates directly to the contribution of ARU. If space allows, it would be good to expand on the related work part, to make it a bit more detailed and gentle.

Clarity: Some parts of the paper are very hard to understand. The abstract could be significantly improved by clearly stating the problem and providing intuition for the proposed solution. Currently, the abstract contains so many details that it is hard to grasp the overall idea until you have actually read the whole paper. By contrast, the introduction is much better and accessible, except for the contribution bullets. Instead of making the bullets extremely dense with data, try to capture the intuition of the contributions and why they matter.

It would be good to be a bit more precise with definitions, even if they may be thought of as standard. For instance, in 3.1, define explicitly what \theta, x, and y are. Similar in 3.2. It defines a unit u_k to be a tuple (P_k, O_k, R_k), but P_k, O_k, and R_k are not explicitly defined when the tuple is defined. The explanations of P_k etc. come later in the subsection, making the flow less clear.

The grammar rules before line 173 do not provide too much information. Basically, you can see that the premises have values and ID, operations have calls, and the result is an ID with a value. But the interesting aspects of how this actually works technically are not really explained more precisely. That is, not only the syntax, but the actual semantics have to be explained more precisely to make the work understandable and reproducible. As it is now, it is a bit too high-level from a technical point of view.

Since policy poisoning is central to the work, especially as explained in section 3.3, it would be useful to have a precise formal definition given within the paper.

Line 204 says "while ignoring the noise". Please explain a bit more precisely which noise you refer to.

Line 267 says "but does not recover the planning gains...". Please elaborate and explain more precisely what you mean by this statement, since it compares with PoT, which is the closest best alternative. Also, in section 2, it would be good to explain in more detail how PoT works and how it technically differs from the proposed approach.

The evaluation is quite comprehensive, covering several competitive techniques and relevant benchmarks.

Questions
  • Why is SFT used as the baseline in e.g., Table 2, and not e.g., PoT?

  • Can you explain more precisely the semantics (concrete the meaning) of the OpCall in the grammar, what and how is called, how and when the operations are defined or constructed?

  • Can you explain more technically how the symbolic execution is done, as part of the counterfactual logic verification?

Limitations

I cannot find any clear paragraph about limitations in the main paper, but Appendix D contains sufficient limitations.

Paper formatting concerns

No issues found.

Final justification

Given the author's response and reading the other reviews, I decided to keep my positive score. See also my last comment.

Reviewer_g1hnOpenReview ↗
Rating
4
Clarity
3
Confidence
4
Originality
3
Quality
3
Significance
3
Read review
Summary

The paper proposes a novel method for reasoning distillation. The motivation is that fully correct reasoning traces are rate, while wrong traces are common. The proposed ARU (atomic reasoning unit) breaks the traces into multiple steps, and checks whether a wrong trace has a valid plan but a wrong result, and during training, the method masks the wrong result tokens to train on the good subsets of the traces (e.g., good planning) to maximize the gains. The paper reports strong gains across various qwen3 family models through multiple benchmarks.

Strengths and weaknesses

The paper is technically sound. The main method is well defined and it fits the motivation. The method section is detailed enough for readers to understand easily. The authors have also provided many experimental results that strengthens the paper's claim, alongside thorough ablations.

I believe the significance of the paper is high as it addresses a common problem in reasoning distillation: how to use wrong traces without damaging the model's policy. I believe the idea of separating the planning from the verification is quite useful and would be able to make good use of costly reasoning data. To follow up on this, the method is also novel. While many ingredients are related to prior work, such as distillation, verifiable reasoning, and structured outputs. However, the specific combination of the methods' components is meaningful e.g., the premise/operation/result (p/o/r) structure can be used to decide what can we keep in a wrong trace (in comparison, previous works usually discarded these 'wrong paths'). The related work is mostly adequate, but the paper could better discuss on-policy distillation and earlier reasoning distillation methods, since these also study how models can learn from generated reasoning traces and mistakes.

One concern is the assumption of the p/o/r structure being universal (which is already mentioned in p23 as a limitation; but I believe this is an important item to be considered). I would like to hear more about what the authors think about this. Furthermore, Some of the broader interpretations, such as the small-scale capability gap and phase transition, could be stated more carefully. The experiments show strong gains, but it is hard to tell how much comes from separating reasoning planning from arithmetic execution versus how much comes from simply giving the model a cleaner structured format.

Questions

Please refer to the weaknesses section for more. Below are some additional questions.

  1. I'm concerned about the broad claims about “reasoning.” The method fits math problems well because the answer steps can be checked by running the calculation again. It is less clear how well this works for reasoning tasks where there is no such checker.

  2. Please clarify what is new compared with earlier work that also use wrong reasoning traces. My understanding is that the main contribution is not simply using wrongtraces, but the combination of the the components of the proposed method.

  3. How reliable is CLV on harder problems? The paper reports strong agreement on GSM8K traces, but for harder benchmarks, the evidence mostly comes from final accuracy. A small human check of accepted traces would help show whether they really have valid plans

Limitations

Yes

Paper formatting concerns

NA

Final justification

Overall, the method remains technically interesting and empirically promising, so reasons to accept slightly outweigh reasons to reject. However, the verifier’s reliability and the numerical inconsistency prevent a stronger recommendation. I therefore maintain my score of 4.

Comments on the paper

1 comment
Meta-review

The paper proposes Atomic Reasoning Units (ARU), a framework for using incorrect teacher reasoning traces in reasoning distillation. ARU constrains each reasoning step into a Premise–Operation–Result structure using a formal grammar. Counterfactual Logic Verification then re-executes incorrect traces to identify cases in which the reasoning plan is valid but the arithmetic result is wrong, while Syntactic Loss Masking trains the student on the verified structural components and suppresses the loss on erroneous result tokens. The method is evaluated across multiple Qwen3 student sizes, reasoning benchmarks, and competing distillation approaches, and reports consistently strong improvements.

The paper addresses an important problem in reasoning distillation. Fully correct teacher traces become increasingly scarce on difficult tasks, while discarding all incorrect traces wastes potentially useful reasoning structure. The proposed separation between planning and arithmetic execution is intuitive and provides a concrete mechanism for recovering useful supervision from partially incorrect trajectories.

The main strengths are the coherence of the method and the breadth of the empirical evaluation. The grammar-constrained representation, symbolic verification, and loss masking form a logically connected pipeline rather than an arbitrary collection of components. The experiments cover multiple student scales and benchmarks, include competitive baselines and extensive ablations, and show substantial and consistent gains. Both relevant reviewers viewed the method as technically sound and the specific use of structured incorrect traces as a meaningful contribution beyond simply training on wrong solutions.

The paper also explores an interesting research direction: instead of treating an incorrect trajectory as entirely unusable, it attempts to distinguish valid reasoning structure from faulty execution. This is potentially significant because it allows distillation to exploit a much larger proportion of teacher-generated data. The use of counterfactual verification and selective masking in this setting appears novel, even though individual ingredients such as structured generation, symbolic execution, and reasoning distillation are related to prior work.

The main concern is the scope of the Premise–Operation–Result decomposition. The method is naturally suited to mathematical reasoning where operations can be represented explicitly and results can be symbolically recomputed. It is less clear whether the same decomposition remains meaningful for commonsense reasoning, open-ended planning, scientific explanation, or tasks without executable intermediate operations. The paper acknowledges this limitation, but some of its broader claims about general “reasoning” should be narrowed accordingly.

A second concern is whether the method truly separates reasoning planning from arithmetic execution, rather than benefiting primarily from cleaner and more regular structured supervision. The reported ProofWriter control is suggestive, but does not uniquely identify the proposed mechanism. The claims about a small-scale capability gap, arithmetic offloading, or phase-transition-like behavior should therefore be presented more cautiously. The empirical gains are convincing, but the mechanistic interpretation is less conclusive.

The reliability of Counterfactual Logic Verification also requires further evidence. Agreement checks on GSM8K are useful, but harder mathematical traces may contain invalid assumptions, omitted dependencies, or semantically incorrect operations that nevertheless pass local symbolic execution. A small human audit of CLV-accepted traces on the more difficult benchmarks would help establish that the method is actually recovering valid plans rather than merely executable local structures.

The presentation could also be improved. Several definitions and implementation details are introduced only after they are used, and the semantic meaning of the grammar is not always sufficiently clear. In particular, the paper should define the Premise, Operation, and Result components more precisely, explain how operations are constructed and executed, and provide a formal definition of “policy poisoning.” The method section should follow the pipeline shown in Figure 1 more closely. The abstract and contribution bullets are also overly dense and would benefit from emphasizing the central intuition rather than listing many numerical results.

The related-work section should more clearly distinguish ARU from earlier reasoning distillation, on-policy distillation, program-of-thought, and methods that learn from incorrect or partially correct reasoning traces. In particular, the paper should clarify that the novelty is not simply the use of wrong traces, but the combination of grammar-based decomposition, counterfactual verification, and selective loss masking.

The author response could improve my assessment by clarifying the semantic and implementation details of CLV and the grammar, providing a human validation of accepted traces on harder benchmarks, narrowing the broad reasoning and mechanism claims, and more clearly differentiating ARU from prior methods that use incorrect reasoning traces. These concerns appear addressable and do not undermine the main empirical contribution.

Overall, the paper presents a technically coherent and practically useful method for extracting supervision from partially incorrect reasoning traces. Although the generality and mechanistic interpretation should be stated more carefully, the method is sufficiently novel, the experiments are strong, and the central contribution is meaningful.

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

Related papers

Loading the map…

Discussion (0)

Sign in to comment.