Unleashing LLM Reasoning Capability via Scalable Question Synthesis from Scratch

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Ding, Yuyang, Shi, Xinyu, Liang, Xiaobo, Li, Juntao, Tu, Zhaopeng, Zhu, Qiaoming, Zhang, Min
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866908380935749632
author Ding, Yuyang
Shi, Xinyu
Liang, Xiaobo
Li, Juntao
Tu, Zhaopeng
Zhu, Qiaoming
Zhang, Min
author_facet Ding, Yuyang
Shi, Xinyu
Liang, Xiaobo
Li, Juntao
Tu, Zhaopeng
Zhu, Qiaoming
Zhang, Min
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2410_18693
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Unleashing LLM Reasoning Capability via Scalable Question Synthesis from Scratch
Ding, Yuyang
Shi, Xinyu
Liang, Xiaobo
Li, Juntao
Tu, Zhaopeng
Zhu, Qiaoming
Zhang, Min
Computation and Language
Artificial Intelligence
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.
title Unleashing LLM Reasoning Capability via Scalable Question Synthesis from Scratch
topic Computation and Language
Artificial Intelligence
url https://arxiv.org/abs/2410.18693