让模型学会批判错误答案,比模仿正确答案更有效提升推理能力。
Critique Fine-Tuning: Learning to Critique is More Effective than Learning to Imitate
- 训练模型批判错误回答,而非直接模仿正确答案。
- 在6个数学推理基准上,性能比传统微调高4%-10%。
- 仅用5万样本1小时训练,效果超越数百万样本的模型。
监督微调(SFT)通常用于训练语言模型模仿标注的响应以应对指令。本文提出批判微调(CFT),一种在推理任务中比SFT更有效的方法。与简单模仿正确答案不同,CFT让模型学习批判带有噪声的回答,灵感来自人类学习中强调批判性思维、深入分析和细腻理解的特点。为验证其有效性,我们构建了多个批判数据集(如WebInstruct、MetaMath、NuminaMath),其中GPT-4o作为教师生成([查询; 噪声回答], 批判)形式的反馈。实验表明,CFT在六个数学推理基准上持续领先SFT 4-10%,适用于Qwen2.5、Qwen2.5-Math和DeepSeek-Math等不同基础模型。值得注意的是,我们的Qwen2.5-Math-CFT模型仅需在8 x H100上训练1小时,处理5万条样本,即达到或超过使用超200万样本的Qwen2.5-Math-Instruct的效果,且媲美经过140倍更多计算量训练的SimpleRL(DeepSeek-r1复现)。在IF_Eval和MT-Bench上的实验进一步显示,CFT显著提升模型通用生成与指令遵循能力,大幅优于Qwen2.5-Math-Instruct。消融实验表明,CFT对噪声回答来源和教师批判模型具有鲁棒性。这些发现表明,CFT是提升语言模型推理能力的更优替代方案。
原文摘要 · Abstract (English)
Supervised Fine-Tuning (SFT) is commonly used to train language models to imitate annotated responses for given instructions. In this paper, we propose Critique Fine-Tuning (CFT), a method more effective than SFT for reasoning tasks. Instead of simply imitating correct responses, CFT trains models to critique noisy responses, inspired by human learning processes that emphasize critical thinking, deeper analysis, and nuanced understanding - traits often overlooked by standard SFT. To validate the effectiveness of CFT, we construct multiple critique datasets (e.g., WebInstruct, MetaMath, NuminaMath), where GPT-4o serves as the teacher to generate critiques in the form of ([query; noisy response], critique). Experiments on these datasets demonstrate that CFT consistently outperforms SFT by 4-10% across six mathematical reasoning benchmarks, and is effective across different base models including Qwen2.5, Qwen2.5-Math, and DeepSeek-Math. Notably, our model Qwen2.5-Math-CFT only requires 1 hour of training on 8 x H100 over the 50K examples, yet matches or outperforms strong competitors like Qwen2.5-Math-Instruct on most benchmarks, which use over 2M samples. Moreover, it matches the performance of SimpleRL, which is a DeepSeek-r1 replication trained with 140 x more compute. Experiments on IF_Eval and MT-Bench further demonstrate that CFT can significantly enhance the model's general generation and instruction-following capabilities, outperforming the Qwen2.5-Math-Instruct by a large margin. Ablation studies show that CFT is robust to noisy response sources and teacher critique models. These findings highlight that CFT offers a more effective alternative to advance the reasoning of language models.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。