arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2308.09583cs.CLcs.AIcs.LG
收藏

WizardMath:通过强化 Evol-Instruct 增强大语言模型的数学推理能力

WizardMath: Empowering Mathematical Reasoning for Large Language Models via Reinforced Evol-Instruct

Shenzhen International Graduate School, Tsinghua University(清华大学深圳国际研究生院);Microsoft Corporation(微软公司);Shenzhen Institute of Advanced Technology, Chinese Academy of Sciences(中国科学院深圳先进技术研究院)

Haipeng Luo, Qingfeng Sun, Can Xu, Pu Zhao, Jianguang Lou, Chongyang Tao, Xiubo Geng, Qingwei Lin, Shifeng Chen, Yansong Tang, Dongmei Zhang

AI总结:

WizardMath 通过 RLEIF 方法在不依赖外部 Python 工具的情况下提升大语言模型的数学推理能力,在 GSM8k 和 MATH 基准上超越多个顶级开源及商用模型。

摘要:

大语言模型(LLMs),如 GPT-4,在自然语言处理(NLP)任务中表现卓越,包括具有挑战性的数学推理。然而,大多数现有开源模型仅在大规模互联网数据上进行了预训练,缺乏数学相关的优化。本文提出 WizardMath,通过将我们提出的 Evol-Instruct 反馈强化学习(RLEIF)方法应用于数学领域,在不使用外部 Python 工具的情况下增强 LLMs 的数学思维链(CoT)推理能力。通过在两个数学推理基准 GSM8k 和 MATH 上的大量实验,我们揭示了该模型的非凡能力。值得注意的是,WizardMath-Mistral 7B 以更高的数据效率大幅超越顶级开源 LLMs。此外,WizardMath 70B 甚至优于 GPT-3.5-Turbo、Claude 2、Gemini Pro 和 GPT-4 早期版本。我们的初步探索还强调了指令进化和过程监督在实现卓越数学性能中的关键作用。更多细节请参见 https://github.com/nlpxucan/WizardLM。

英文摘要:

Large language models (LLMs), such as GPT-4, have shown remarkable performance in natural language processing (NLP) tasks, including challenging mathematical reasoning. However, most existing open-source models are only pre-trained on large-scale internet data and without math-related optimization. In this paper, we present WizardMath, which enhances the mathematical CoT reasoning abilities of LLMs without using external python tools, by applying our proposed Reinforcement Learning from Evol-Instruct Feedback (RLEIF) method to the domain of math. Through extensive experiments on two mathematical reasoning benchmarks, namely GSM8k and MATH, we reveal the extraordinary capabilities of our model. Remarkably, WizardMath-Mistral 7B surpasses top-tier open-source LLMs by a substantial margin with higher data efficiency. Furthermore, WizardMath 70B even outperforms GPT-3.5-Turbo, Claude 2, Gemini Pro and GPT-4-early-version. Additionally, our preliminary exploration highlights the pivotal role of instruction evolution and process supervision in achieving exceptional math performance. For more details refer to https://github.com/nlpxucan/WizardLM

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

↑