arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2503.04813cs.LGcs.AIcs.CL
收藏

用于增强小型语言模型数学推理能力的自进化偏好优化

Self-Evolved Preference Optimization for Enhancing Mathematical Reasoning in Small Language Models

Microsoft Research, India(微软研究院(印度));IIT Delhi, India(印度德里理工学院)

Joykirat Singh, Tanmoy Chakraborty, Akshay Nambi

AI总结:

本文提出自进化数据生成流水线SPHERE,通过自我生成、自我纠正和多样性诱导三个阶段迭代优化推理链,显著提升小型语言模型的数学推理能力,并在多个数学基准上达到或超越GPT-4o。

摘要:

大型语言模型(LLMs)的推理能力已显著提升,但在复杂的多步数学问题求解中仍面临困难,原因包括误差传播、缺乏自我纠正能力以及对不同推理风格的适应性有限。现有方法依赖静态微调或提示工程,无法在不同问题复杂度之间泛化,而高质量偏好数据的稀缺进一步阻碍了可靠推理。我们提出SPHERE,一种自进化数据生成流水线,通过迭代生成、纠正和多样化推理链来增强小型语言模型(SLMs)的推理能力。SPHERE分三个阶段运行:(i)自我生成,模型自主构建问题求解步骤;(ii)自我纠正,使模型能够识别并修正错误;(iii)多样性诱导,通过多条有效推理轨迹提高鲁棒性。这种自进化机制加强了数学推理能力并提升了模型可靠性。在MATH 500、GSM8K、AIME、AMC和Olympiad上的评估表明,经SPHERE训练的模型相比其基础版本取得了显著提升,并在某些基准上达到或超过GPT-4o。我们的研究结果表明,自进化模型能够缩小SLMs与最先进LLMs之间的推理差距,使数学AI更加可靠、可扩展和高效。

英文摘要:

Large language models (LLMs) have significantly improved their reasoning capabilities; however, they still struggle with complex multi-step mathematical problem-solving due to error propagation, lack of self-correction, and limited adaptability to diverse reasoning styles. Existing methods rely on static fine-tuning or prompt engineering, which fail to generalize across problem complexities, while the scarcity of high-quality preference data further hinders reliable reasoning. We introduce SPHERE, a self-evolving data generation pipeline that enhances reasoning in small language models (SLMs) by iteratively generating, correcting, and diversifying reasoning chains. SPHERE operates in three stages: (i) Self-Generation, where the model autonomously constructs problem-solving steps; (ii) Self-Correction, enabling it to identify and rectify errors; and (iii) Diversity Induction, improving robustness through multiple valid reasoning trajectories. This self-evolution mechanism strengthens mathematical reasoning and enhances model reliability. Evaluations on MATH 500, GSM8K, AIME, AMC, and Olympiad show that SPHERE-trained models achieve significant gains over their base versions and match/surpass GPT-4o on certain benchmarks. Our findings demonstrate that self-evolving models can close the reasoning gap between SLMs and state-of-the-art LLMs, making mathematical AI more reliable, scalable, and efficient.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑