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

Qwen2.5-Math 技术报告:通过自我改进迈向数学专家模型

Qwen2.5-Math Technical Report: Toward Mathematical Expert Model via Self-Improvement

Alibaba Group(阿里巴巴集团)
An Yang, Beichen Zhang, Binyuan Hui, Bofei Gao, Bowen Yu, Chengpeng Li, Dayiheng Liu, Jianhong Tu, Jingren Zhou, Junyang Lin, Keming Lu, Mingfeng Xue, Runji Lin… 展开作者

An Yang, Beichen Zhang, Binyuan Hui, Bofei Gao, Bowen Yu, Chengpeng Li, Dayiheng Liu, Jianhong Tu, Jingren Zhou, Junyang Lin, Keming Lu, Mingfeng Xue, Runji Lin, Tianyu Liu, Xingzhang Ren, Zhenru Zhang

AI总结:

本报告提出 Qwen2.5-Math 系列数学专用模型,通过预训练、后训练和推理阶段的全流程自我改进,利用奖励模型迭代优化数据与强化学习,在 10 个中英文数学数据集上展现出先进推理能力。

摘要:

在本报告中,我们介绍了一系列数学专用大型语言模型:Qwen2.5-Math 和 Qwen2.5-Math-Instruct-1.5B/7B/72B。Qwen2.5 系列的核心创新在于将自我改进的理念贯穿整个流程,从预训练、后训练到推理:(1) 在预训练阶段,利用 Qwen2-Math-Instruct 生成大规模、高质量的数学数据。(2) 在后训练阶段,我们通过对 Qwen2-Math-Instruct 进行大量采样来开发奖励模型(RM)。该 RM 随后被应用于监督微调(SFT)中数据的迭代演化。借助更强的 SFT 模型,可以迭代训练和更新 RM,进而指导下一轮 SFT 数据迭代。在最终的 SFT 模型上,我们使用最终的 RM 进行强化学习,从而得到 Qwen2.5-Math-Instruct。(3) 此外,在推理阶段,RM 被用于指导采样,优化模型的性能。Qwen2.5-Math-Instruct 支持中文和英文,并具备先进的数学推理能力,包括思维链(CoT)和工具集成推理(TIR)。我们在英文和中文的 10 个数学数据集上评估了我们的模型,例如 GSM8K、MATH、GaoKao、AMC23 和 AIME24,涵盖了从小学水平到数学竞赛问题的各种难度。

英文摘要:

In this report, we present a series of math-specific large language models: Qwen2.5-Math and Qwen2.5-Math-Instruct-1.5B/7B/72B. The core innovation of the Qwen2.5 series lies in integrating the philosophy of self-improvement throughout the entire pipeline, from pre-training and post-training to inference: (1) During the pre-training phase, Qwen2-Math-Instruct is utilized to generate large-scale, high-quality mathematical data. (2) In the post-training phase, we develop a reward model (RM) by conducting massive sampling from Qwen2-Math-Instruct. This RM is then applied to the iterative evolution of data in supervised fine-tuning (SFT). With a stronger SFT model, it's possible to iteratively train and update the RM, which in turn guides the next round of SFT data iteration. On the final SFT model, we employ the ultimate RM for reinforcement learning, resulting in the Qwen2.5-Math-Instruct. (3) Furthermore, during the inference stage, the RM is used to guide sampling, optimizing the model's performance. Qwen2.5-Math-Instruct supports both Chinese and English, and possess advanced mathematical reasoning capabilities, including Chain-of-Thought (CoT) and Tool-Integrated Reasoning (TIR). We evaluate our models on 10 mathematics datasets in both English and Chinese, such as GSM8K, MATH, GaoKao, AMC23, and AIME24, covering a range of difficulties from grade school level to math competition problems.

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

↑