Abstract
Large Language Models (LLMs) have exhibited strong reasoning capabilities and achieved remarkable performance in mathematical problem-solving tasks. Recently, distilling reasoning ability from long-form Chains-of-Thought (CoTs) has emerged as a promising approach for enhancing Small Language Models (SLMs). Existing studies typically treat SLMs as student models and use long-form CoTs as supervision signals for Supervised Fine-Tuning (SFT) to transfer reasoning ability. However, such long-form CoT teachers are usually unaware of the student model's capacity, which limits the effective utilization of the provided reasoning traces. To overcome this limitation, we propose errOr-aware self-ReflectION (ORION), a framework that refines teacher CoTs through an Error-Aware Reflection process. ORION enables the student model to construct more tailored teacher CoTs by refining teacher CoTs and incorporating its own reasoning errors. Experiments on multiple mathematical reasoning benchmarks demonstrate that ORION consistently improves performance by more than 2% over all baselines. Further analysis reveals that the CoTs constructed by ORION exhibit higher coherence and logical consistency, thereby serving as more effective supervision signals for SFT.
Introduction: The Distillation Capability Gap
The advent of Large Reasoning Models (RLMs) like DeepSeek-R1 has revolutionized mathematical problem-solving through extensive, long-form Chain-of-Thought (CoT) reasoning. A primary goal in the field is to "distill" these complex reasoning capabilities into smaller, more efficient Small Language Models (SLMs) through Supervised Fine-Tuning (SFT).
However, a significant "capability gap" often hinders this process. Teacher models frequently generate reasoning traces that are overly complex, repetitive, or excessively long for an SLM to internalize effectively. Traditional distillation methods treat the teacher's output as an absolute truth, failing to account for the student model's specific cognitive limitations or common failure modes. This mismatch often results in "overthinking"—where the student mimics the verbose style of the teacher without grasping the underlying logical structure—leading to unstable training and suboptimal performance.
Methodology: The ORION Framework
To bridge this gap, we introduce errOr-aware self-ReflectION (ORION). Unlike passive distillation, ORION employs an active, error-aware refinement process designed to create "model-fit" reasoning traces. The framework operates in three distinct stages:
- Error Exposure via Response Sampling: The student model attempts to solve training problems multiple times. Instances where the student fails are collected to form a dataset of "self-made errors," highlighting the model's specific reasoning weaknesses.
- Reasoning Refinement: In this critical phase, the student model analyzes the original problem, its own incorrect attempt, and the teacher's long-form CoT. It performs an Error Analysis to identify the root cause of its failure and then generates a Refined Reasoning trace. This trace is designed to be correct, concise, and specifically structured to avoid the previously identified pitfalls.
- Supervised Fine-Tuning (SFT): The student model is fine-tuned using these tailored, refined reasoning traces. By training on data that explicitly addresses its own errors, the student receives supervision signals that are better aligned with its actual capacity.
Experimental Results and Insights
ORION was evaluated across several rigorous mathematical benchmarks, including GSM-Hard, MATH500, and competition-level sets like AIME24 and AMC23. The training utilized 10,000 samples from the OpenR1-Math-220k dataset.
Performance Gains
ORION consistently outperformed standard SFT and "Wrong-of-Thought" baselines across multiple backbone models (Qwen2.5-7B, Qwen3-8B, and Llama3.1-8B). On average, accuracy improved by over 2% across all benchmarks. Notably, on the high-difficulty AIME24 benchmark, ORION (using Qwen3-8B) achieved 26.67% accuracy, significantly surpassing the 23.33% achieved by standard long-form CoT distillation.
Qualitative Improvements
Beyond raw accuracy, ORION-refined CoTs offer several qualitative advantages:
- Conciseness: Refined traces were typically 30-40% shorter than the original teacher outputs, suggesting that much of the "long-form" reasoning in RLMs is redundant for distillation purposes.
- Stability: Models trained with ORION showed lower entropy variance, indicating a more stable learning process when correcting one's own mistakes compared to memorizing complex teacher traces.
- Logical Clarity: When evaluated by GPT-4, ORION’s outputs were preferred twice as often as baseline methods due to superior clarity and logical flow.
Conclusion
ORION demonstrates that the most effective "teacher" for a small model is not necessarily the most powerful one, but the one whose explanations are tailored to the student's current level. By incorporating error-aware self-reflection into the distillation pipeline, ORION enables SLMs to achieve higher reasoning accuracy with more concise and logically consistent thought processes.
All codes are available at https://github.com/NEUIR/ORION.git.
Summary updated