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

MAmmoTH:通过混合指令微调构建数学通用模型

MAmmoTH: Building Math Generalist Models through Hybrid Instruction Tuning

University of Waterloo(滑铁卢大学);The Ohio State University(俄亥俄州立大学);HKUST(香港科技大学);University of Edinburgh(爱丁堡大学)

Xiang Yue, Xingwei Qu, Ge Zhang, Yao Fu, Wenhao Huang, Huan Sun, Yu Su, Wenhu Chen

AI总结:

本研究提出面向通用数学求解的MAmmoTH开源大模型系列,基于融合CoT与PoT的MathInstruct数据集训练,在多数学推理数据集上显著超越现有开源模型,验证了混合推理与多样问题覆盖的价值。

摘要:

我们推出MAmmoTH,这是一系列专门针对通用数学问题求解定制的开源大语言模型(LLM)。MAmmoTH模型在MathInstruct(我们精心整理的指令微调数据集)上训练。MathInstruct由13个带有中间推理过程的数学数据集汇编而成,其中6个数据集的推理过程由我们新整理。该数据集独特地融合了思维链(chain-of-thought, CoT)和程序思维(program-of-thought, PoT)推理方式,还确保广泛覆盖数学的不同领域。CoT与PoT的混合不仅释放了工具使用的潜力,还允许针对不同数学问题采用不同的思维过程。因此,MAmmoTH系列在所有规模的9个数学推理数据集上均大幅优于现有开源模型,平均准确率提升16%至32%。值得注意的是,我们的MAmmoTH-7B模型在MATH(一个竞赛级数据集)上达到33%的准确率,比最佳开源7B模型(WizardMath)高出23%;而MAmmoTH-34B模型在MATH上实现了44%的准确率,甚至超过了GPT-4的CoT结果。我们的工作凸显了多样化问题覆盖和混合推理方式在开发更优数学通用模型中的重要性。

英文摘要:

We introduce MAmmoTH, a series of open-source large language models (LLMs) specifically tailored for general math problem-solving. The MAmmoTH models are trained on MathInstruct, our meticulously curated instruction tuning dataset. MathInstruct is compiled from 13 math datasets with intermediate rationales, six of which have rationales newly curated by us. It presents a unique hybrid of chain-of-thought (CoT) and program-of-thought (PoT) rationales, and also ensures extensive coverage of diverse fields in math. The hybrid of CoT and PoT not only unleashes the potential of tool use but also allows different thought processes for different math problems. As a result, the MAmmoTH series substantially outperform existing open-source models on nine mathematical reasoning datasets across all scales with an average accuracy gain between 16% and 32%. Remarkably, our MAmmoTH-7B model reaches 33% on MATH (a competition-level dataset), which exceeds the best open-source 7B model (WizardMath) by 23%, and the MAmmoTH-34B model achieves 44% accuracy on MATH, even surpassing GPT-4's CoT result. Our work underscores the importance of diverse problem coverage and the use of hybrid rationales in developing superior math generalist models.

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

↑