2024-12-20 · 专家 · 机器学习 · 自然语言处理

AceMath: Advancing Frontier Math Reasoning with Post-Training and Reward Modeling

本文介绍了AceMath,一套前沿的数学推理模型,通过后训练和奖励模型显著提升了数学问题的解决能力。

更新于 2024-12-20。作者:Zihan Liu、Yang Chen、Mohammad Shoeybi、Bryan Catanzaro、Wei Ping。

中文摘要

在这篇论文中,我们介绍了AceMath,一套在解决复杂数学问题方面表现卓越的前沿数学模型,以及能够评估生成的解决方案并可靠识别正确答案的高度有效的奖励模型。为了开发指令调整的数学模型,我们提出了一种监督微调(SFT)过程,该过程首先在通用领域实现具有竞争力的性能,然后使用精心挑选的提示和合成的响应进行针对数学领域的定向微调。由此产生的模型AceMath-72B-Instruct在性能上大大超过了Qwen2.5-Math-72B-Instruct、GPT-4o和Claude-3.5 Sonnet。为了开发专门的数学奖励模型,我们首先构建了AceMath-RewardBench,这是一个综合且稳健的基准,用于评估不同问题和难度级别上的数学奖励模型。随后,我们提出了一种系统性的方法来构建我们的数学奖励模型。由此产生的模型AceMath-72B-RM在性能上始终优于最先进的奖励模型。此外,当将AceMath-72B-Instruct与AceMath-72B-RM结合使用时,我们在数学推理基准测试中实现了最高的平均rm@8分数。我们将发布模型权重、训练数据和评估基准,链接如下:https://research.nvidia.com/labs/adlr/acemath

英文摘要

In this paper, we introduce AceMath, a suite of frontier math models that excel in solving complex math problems, along with highly effective reward models capable of evaluating generated solutions and reliably identifying the correct ones. To develop the instruction-tuned math models, we propose a supervised fine-tuning (SFT) process that first achieves competitive performance across general domains, followed by targeted fine-tuning for the math domain using a carefully curated set of prompts and synthetically generated responses. The resulting model, AceMath-72B-Instruct greatly outperforms Qwen2.5-Math-72B-Instruct, GPT-4o and Claude-3.5 Sonnet. To develop math-specialized reward model, we first construct AceMath-RewardBench, a comprehensive and robust benchmark for evaluating math reward models across diverse problems and difficulty levels. After that, we present a systematic approach to build our math reward models. The resulting model, AceMath-72B-RM, consistently outperforms state-of-the-art reward models. Furthermore, when combining AceMath-72B-Instruct with AceMath-72B-RM, we achieve the highest average rm@8 score across the math reasoning benchmarks. We will release model weights, training data, and evaluation benchmarks at: https://research.nvidia.com/labs/adlr/acemath

解读

一句话总结

本文介绍了AceMath,一套前沿的数学推理模型,通过后训练和奖励模型显著提升了数学问题的解决能力。

问题1:这篇论文想要解决什么具体问题?

• 问题背景:数学推理是评估大型语言模型(LLM)复杂任务处理能力的关键指标。 • 现有方案不足:现有的数学推理模型在性能上仍有提升空间。 • 研究目标:通过后训练和奖励模型,提升数学推理模型的性能。

问题2:论文的核心创新点是什么?

• 技术创新:提出了一种监督微调(SFT)过程,先在通用领域实现竞争力,然后在数学领域进行针对性微调。 • 方法改进:构建了AceMath-RewardBench,用于评估数学奖励模型,并提出了一种系统性的方法来构建数学奖励模型。 • 优势:AceMath-72B-Instruct在多个数学推理基准测试中表现优于现有模型;AceMath-72B-RM在数学领域优于现有奖励模型。

问题3:实验结果如何验证了方法的有效性?

• 关键实验:在多个数学推理基准测试中评估AceMath模型的性能。 • 性能提升:AceMath-72B-Instruct在rm@8上的平均得分高于Qwen2.5-Math-72B-Instruct,并接近于10倍规模更大的Qwen2.5-Math-72B-Instruct。 • 对比结果:AceMath-72B-RM在AceMath-RewardBench上的rm@8平均得分优于Qwen2.5-Math-RM-72B。

问题4:这个研究的实际应用价值是什么?

• 应用场景:教育、科研、数据分析等领域。 • 实施建议:开源模型权重和训练数据,提供AceMath-RewardBench作为评估工具。 • 局限与展望:模型在处理某些特定类型的问题时可能存在局限性,未来可以进一步优化模型以适应更多场景。

来源