arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2410.18693cs.CLcs.AI
收藏

通过从头开始的可扩展问题合成释放LLM推理能力

Unleashing LLM Reasoning Capability via Scalable Question Synthesis from Scratch

Soochow University(苏州大学);Tencent AI Lab(腾讯AI实验室)

Yuyang Ding, Xinyu Shi, Xiaobo Liang, Juntao Li, Zhaopeng Tu, Qiaoming Zhu, Min Zhang

AI总结:

本文提出ScaleQuest方法,通过两阶段问题调优(QFT和QPO)利用7B模型从零生成百万级数学推理数据,显著提升LLM数学与代码推理能力,且数据规模增大时性能持续提升。

摘要:

提升大型语言模型(LLM)的数学推理能力对于推进人工智能至关重要。然而,获取广泛、多样且高质量的推理数据集仍然是一个重大挑战,尤其是对于开源社区而言。在本文中,我们提出了ScaleQuest,一种新颖、可扩展且成本效益高的数据合成方法,能够使用轻量级7B规模模型生成大规模数学推理数据集。ScaleQuest引入了一个两阶段的问题调优过程,包括问题微调(QFT)和问题偏好优化(QPO),以解锁问题求解模型的问题生成能力。通过从头开始生成多样化的题目——不依赖强大的专有模型或种子数据——我们生成了一个包含100万道问题-解答对的数据集。我们的实验表明,在领域内和领域外评估中,基于我们数据训练的模型优于现有的开源数据集。此外,我们的方法随着训练数据量的增加而持续提升性能,突显了其持续数据扩展的潜力。在代码推理任务中观察到的广泛改进证明了我们提出方法的泛化能力。我们的工作为开源社区提供了一个实用解决方案,以增强LLM的数学推理能力。

英文摘要:

Improving the mathematical reasoning capabilities of Large Language Models (LLMs) is critical for advancing artificial intelligence. However, access to extensive, diverse, and high-quality reasoning datasets remains a significant challenge, particularly for the open-source community. In this paper, we propose ScaleQuest, a novel, scalable, and cost-effective data synthesis method that enables the generation of large-scale mathematical reasoning datasets using lightweight 7B-scale models. ScaleQuest introduces a two-stage question-tuning process comprising Question Fine-Tuning (QFT) and Question Preference Optimization (QPO) to unlock the question generation capabilities of problem-solving models. By generating diverse questions from scratch -- without relying on powerful proprietary models or seed data -- we produce a dataset of 1 million problem-solution pairs. Our experiments demonstrate that models trained on our data outperform existing open-source datasets in both in-domain and out-of-domain evaluations. Furthermore, our approach shows continued performance improvement as the volume of training data increases, highlighting its potential for ongoing data scaling. The extensive improvements observed in code reasoning tasks demonstrate the generalization capabilities of our proposed method. Our work provides the open-source community with a practical solution to enhance the mathematical reasoning abilities of LLMs.

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

↑