记忆定理而非实例:通过数学推理探究SFT泛化
Memorize Theorems, Not Instances: Probing SFT Generalization through Mathematical Reasoning
AI总结:
针对监督微调(SFT)损害推理泛化的问题,提出Theorem-SFT方法,通过显式定理应用训练,在多个基准上取得显著提升,并揭示前馈层是推理规则的主要存储位置。
摘要:
监督微调(SFT)广泛用于任务特定适配,但近期工作表明它会系统性地削弱推理泛化。我们认为根本原因不在于记忆本身,而在于其目标:标准SFT驱动模型利用并记忆问题-答案对中的虚假表面相关性,使其对表面输入变化脆弱。为解决此问题,我们提出Theorem-SFT,通过教授模型规则如何被调用而非答案看起来像什么,将监督重新导向显式定理应用。Theorem-SFT在多个基准和模型家族上取得一致提升:在MATH上(LLaMA3.2-3B-Instruct)提升8.8%,在GeoQA上(Qwen2.5-VL-7B-Instruct)提升20.27%,无需特定模态的重新训练。仅微调MLP层即可达到全层性能,表明前馈组件是推理规则的主要存储位置。我们的发现重新定义了争论:泛化失败并非源于记忆机制本身,而是源于记忆了错误的归纳目标。
英文摘要:
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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。