Reason, Reward, Refine: Step-Level Errors Corrections with Structured Feedback for Physics Reasoning in Small Language Models

Raj Jaiswal, Dhruv Jain, Rishabh Dhawan, Sree Krishna Uppalapati, Shin'ichi Satoh, Tanuja Ganu, Rajiv Ratn ShaharXiv 2026

TL;DR

Small language models (SLMs) struggle with physics reasoning because a single early mistake propagates downstream, corrupting the entire solution. This paper introduces a novel reinforcement learning framework that identifies the first reasoning error, provides targeted structured feedback based on the error type, and trains the model to self-correct without requiring expensive human-annotated preference data. The approach yields substantial accuracy gains of 17–20% over Chain-of-Thought prompting across multiple benchmarks.

What Problem Does This Paper Address?

Physics problem-solving is inherently sequential: each step builds critically on the correctness of the previous one. While large language models can leverage massive parameter scales to avoid pitfalls, small language models (SLMs, <4B parameters) suffer from structural failures. A minor calculation or conceptual error in step one cascades, leading to a completely derailed final answer.

Existing alignment techniques like Supervised Fine-Tuning (SFT) and Direct Preference Optimization (DPO) treat the entire response as a single unit. They fail to pinpoint exactly where the reasoning went wrong. Conversely, existing step-level reward methods require labor-intensive, human-annotated step-by-step preference datasets, which are prohibitively expensive to produce for specialized scientific domains.

Methods

The authors propose a three-stage training pipeline that operates entirely without exposing the model to ground-truth solutions as generation targets:

  1. Stage 1: SFT Warm-up: The SLM is fine-tuned on structured physics problems using seven specific XML tags (e.g., <principle>, <governing_equation>, <calculation>) to enforce a clean separation between physical reasoning and algebraic execution.
  2. Stage 2: Step-Level Reward Mechanism: An external verifier (GPT-4o, used strictly at training time) evaluates the model's initial output ($y_1$) against the ground truth ($y^*$). It identifies the index of the first error step ($e_{\text{first}}$). The step-level reward is calculated using a position-based formula: $$r = \frac{e_{\text{first}}}{n + 1}$$ where $n$ is the total number of steps. This heavily penalizes earlier reasoning failures.

  3. Stage 3: Structured Feedback & Policy Update: Based on the first error, the framework routes the problem to a specialized feedback channel:

  4. Problem Miscomprehension (MC): Prompts the model to re-read the text.
  5. Conceptual Misapplication (CM): Involves a Retrieval-Augmented Generation (RAG) query against a physics formula database.
  6. Calculation Error (CE): Generates and executes Python code to provide the correct math.

The model then generates a revised solution ($y_2$), and the policy is updated via policy gradient with KL regularization to prevent the model from drifting too far from its initial training.

Figure 1: Step-Level Reward Penalizes Earlier Failures More Heavily; Feedback Targets the Precise Point of Failure. πθ generates y1, receives error-type-conditioned feedback p1 from GPT-4o, and revises to y2; reward r = efirst/(n + 1) drives policy gradient update. Discussed §3.

Datasets

  • Training Dataset: A curated corpus of 2,494 physics problems sourced from Indian IIT-JEE preparation materials, spanning Mechanics, Electromagnetism, Thermodynamics, Waves & Optics, and Modern Physics.
  • Evaluation Benchmarks: Five distinct datasets were used to test generalization:
  • SciEval Static (164 questions, introductory to intermediate)
  • MMLU High School Physics (170 questions)
  • MMLU College Physics (118 questions, undergraduate level)
  • JEEBench (123 questions, highly advanced multi-concept problems)
  • PhysicsQA (370 problems with verified step-level solutions)
Figure 3: Common Topic Distributions Confirm Data similarity Across Training and Benchmarks. Topic distribution (%) across the SFT training corpus and evaluation benchmarks; the same five domains appear in both but at substantially different proportions.

Key Insights and Ideas

  • The "First Error" Focus: Instead of grading the whole essay, the framework stops at the first broken link in the logical chain. Penalizing early mistakes forces the model to build a more stable foundation before proceeding to downstream calculations.
  • Standard DPO Can Harm Reasoning: The authors found that standard DPO actually increased conceptual errors (up to 83.9% in Qwen 2.5 1.5B). Because DPO looks at the whole response, it often rewards models for surface-level formatting compliance while masking deep conceptual flaws.
  • Modality-Specific Feedback Matters: Treating all errors the same is inefficient. Fixing a math typo requires a code execution tool (Python), whereas fixing a misunderstood concept requires a textbook formula lookup (RAG).
Figure 2: Targeted Feedback at the First Error Step Enables the Model to Reason Toward a Correct Solution. Each column shows one Baseline responses on the same problem; red annotations mark the first error step and type, green checkmarks in <final_answer> indicate correct quantities. Structured feedback on the identified error step progressively corrects reasoning across revision passes. Discussed in §5.3 & §6.1

Key Results

The framework was evaluated across four open-source SLMs (Qwen 2.5 1.5B, LLaMA 3.2 1B/3B, and Phi 3.5 Mini 3.8B).

  • Accuracy Boost: The proposed framework consistently achieved the highest average accuracy across all conditions, outperforming standard Chain-of-Thought (CoT) prompting by 17–20% and outperforming the strongest baselines by 10–16%.
  • Peak Performance: On the highly challenging JEEBench dataset, the framework achieved a peak accuracy gain of 27.1% for LLaMA 3.2 3B compared to standard CoT.
  • Error Reduction: In the best observed cases, calculation errors plummeted from 56.9% to 23.5%, and problem miscomprehension dropped from 22.3% to 12.0%. Conceptual misapplications dropped from 89.7% to 68.7%, remaining the most stubborn failure mode.
Table 1: Our Framework Achieves the Highest Av- erage Accuracy Across All Conditions. Per-model average (%) across five benchmarks; Cell shading indi- cates per-row rank across conditions. Discussed in §5.

Limitations and Future Work

  • Language and Domain Constraints: The evaluation was strictly limited to English-language physics problems. It remains unverified if this taxonomy maps cleanly to other scientific fields (like chemistry or biology) or non-English corpora.
  • Verifier Dependency: The framework relies heavily on a larger model (GPT-4o) to act as the training-time verifier. Any systematic biases or classification errors from the teacher model will directly corrupt the reward signal and feedback quality.
  • Formatting Sensitivity: The step-level reward relies on rigid regex-based parsing of XML tags. If an SLM generates non-standard formatting, the system defaults to a minimal reward, potentially skipping viable training samples.

Summary updated

BibTeX
@misc{jaiswal2026reason,
  author = {Raj Jaiswal and Dhruv Jain and Rishabh Dhawan and Sree Krishna Uppalapati and Shin'ichi Satoh and Tanuja Ganu and Rajiv Ratn Shah},
  title = {{Reason, Reward, Refine: Step-Level Errors Corrections with Structured Feedback for Physics Reasoning in Small Language Models}},
  year = {2026},
  eprint = {2607.05199},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2607.05199},
}
Figure