Knowledge Distillation from Large Reasoning Models to Compact Student Models: A Case Study on the John O Bryan Mathematics Competition
This study addresses the challenge of efficiently transferring mathematical reasoning capabilities from large inference models to smaller student models while mitigating overfitting and preserving reasoning quality. Leveraging problems from the John O’Brien Mathematics Competition, the authors construct a chain-of-thought (CoT) training corpus generated by a dual-agent framework and perform knowledge distillation fine-tuning of Qwen2.5-7B using the MLX framework with LoRA adapters on Apple Silicon. The research reveals a strong positive correlation between reasoning response length and problem-solving accuracy and demonstrates that constraining training iterations effectively alleviates overfitting. The resulting model achieves an accuracy of 69.43% (+4.76%) on the competition dataset and generalizes to 73.1% accuracy on the MATH-500 benchmark, significantly enhancing complex reasoning performance in compact models.