Unleashing LLM Reasoning Capability via Scalable Question Synthesis from Scratch
Yuyang Ding, Xinyu Shi, Xiaobo Liang, Juntao Li, Zhaopeng Tu, Qiaoming Zhu, Min Zhang
TL;DR
ScaleQuest addresses the shortage of open-source, high-quality mathematical reasoning data by enabling lightweight 7B-scale models to generate 1M diverse problem-solution pairs from scratch. The authors introduce a two-stage question-tuning pipeline (QFT and QPO) and a multi-faceted filtering and reward framework to produce high-quality questions and solutions at low cost. Empirical results show ScaleQuest outperforms existing open-source data synthesis baselines on in-domain and out-of-domain benchmarks and scales favorably with more data, with notable gains in code and long-chain-of-thought tasks. The work provides a practical, open-source path to improve mathematical reasoning in LLMs, while acknowledging limitations on larger models and room for further improvement in question preference alignment.
Abstract
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.
