English

Memorize Theorems, Not Instances: Probing SFT Generalization through Mathematical Reasoning

Machine Learning 2026-05-26 v2 Artificial Intelligence

Abstract

Supervised Fine-Tuning (SFT) is widely used for task-specific adaptation, yet recent work shows it systematically undermines reasoning generalization. We argue the root cause is not memorization itself, but its target: vanilla SFT drives models to exploit and memorize spurious surface correlations in problem-solution pairs, leaving them brittle to superficial input variations. To address this, we propose Theorem-SFT, which reorients supervision toward explicit theorem application by teaching models how rules are invoked rather than what answers look like. Theorem-SFT yields consistent gains across benchmarks and model families: +8.8% on MATH (LLaMA3.2-3B-Instruct) and +20.27% on GeoQA (Qwen2.5-VL-7B-Instruct) without modality-specific re-training. Fine-tuning MLP layers alone matches full-layers performance, implicating feed-forward components as the primary locus of reasoning rules. Our findings reframe the debate: Generalization failures stem not from memorization as a mechanism, but from memorizing the wrong inductive targets.

Keywords

Cite

@article{arxiv.2605.09270,
  title  = {Memorize Theorems, Not Instances: Probing SFT Generalization through Mathematical Reasoning},
  author = {Ruiying Peng and Mengyu Yang and Jing Lei and Xiaohui Li and Xueyu Wu and Xinlei Chen},
  journal= {arXiv preprint arXiv:2605.09270},
  year   = {2026}
}
R2 v1 2026-07-01T13:01:07.089Z