Unleashing Reasoning Capability of LLMs via Scalable Question Synthesis from Scratch

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

High-quality reasoning data is the cornerstone of modern Large Language Model (LLM) performance. While proprietary models like OpenAI’s o1 demonstrate exceptional reasoning, the open-source community often faces a "data bottleneck." High-quality datasets are either closed-source or prohibitively expensive to generate using top-tier APIs.

Researchers from Soochow University and Tencent AI Lab have introduced ScaleQuest, a framework that enables lightweight 7B-scale models to synthesize their own high-quality mathematical reasoning datasets from scratch. By moving away from seed-based mutations and proprietary teachers, ScaleQuest offers a cost-effective and scalable path to enhancing LLM reasoning.

The ScaleQuest Framework

ScaleQuest addresses two primary limitations of current synthetic data methods: dependency on human-written seed data and the high cost of proprietary models. Instead of mutating existing questions, ScaleQuest transforms a standard problem-solving model into a Question Generator (QGen) through a two-stage process.

The ScaleQuest pipeline: from model activation via QFT and QPO to large-scale question generation and filtering.

1. Question Fine-Tuning (QFT)

The process begins by fine-tuning a base model (e.g., Qwen2-Math-7B) on a small set of approximately 15,000 problems. This stage "activates" the model's latent ability to generate diverse questions when prompted with a simple "User:" prefix, effectively turning it into a "Base Problem Writer."

2. Question Preference Optimization (QPO)

To ensure the generated questions are both solvable and sufficiently challenging, the researchers employ Question Preference Optimization. Inspired by Direct Preference Optimization (DPO), this stage uses a stronger model to suggest optimized versions of questions. The 7B model is then trained to prefer these higher-quality versions, evolving into an "Expert & Advanced Problem Designer."

Data Synthesis and Filtering

ScaleQuest utilizes a rigorous pipeline to refine 2 million raw synthetic questions into a high-quality dataset of 1 million pairs:

  • Language and Solvability Filtering: Non-English content is removed, and an LLM verifies if each problem is actually answerable.
  • Difficulty Scoring: A specialized model predicts the difficulty of each question, allowing for balanced sampling.
  • Response Generation: For the final selection, five candidate solutions are generated for each problem. A reward model selects the most accurate solution, ensuring a high-quality "answer key."

Experimental Results and Scaling

The impact of ScaleQuest is most evident in its scaling performance. Unlike many synthetic datasets that plateau, ScaleQuest shows a consistent upward trend in accuracy as the volume of training data increases.

Scaling performance of ScaleQuest compared to baselines on MATH (In-Domain) and Olympiad Bench (Out-Of-Domain) benchmarks.

Key Performance Metrics

  • Benchmark Excellence: A Qwen2-Math-7B model trained on ScaleQuest data achieved 73.4% on the MATH benchmark, matching the performance of GPT-4 Turbo.
  • Superiority over Baselines: ScaleQuest consistently outperformed established synthetic datasets like NuminaMath and DART-Math, providing gains of 5.6% to 11.5% across different base models (Mistral, Llama3).
  • Cost-Effectiveness: Synthesizing 1 million samples cost roughly **$680** in cloud GPU rentals—a fraction of the cost compared to using GPT-4o (~$6,000) or GPT-4 (~$24,000).

Conclusion

ScaleQuest demonstrates that small, open-source models can serve as highly effective teachers for their own reasoning capabilities. By generating data "from scratch," the framework achieves greater diversity and better scaling than traditional rephrasing methods. This work paves the way for the open-source community to develop frontier-level reasoning models without the financial burden of proprietary APIs.

Summary updated

BibTeX
@inproceedings{ding2025unleashing,
  author = {Yuyang Ding and Xinyu Shi and Xiaobo Liang and Juntao Li and Qiaoming Zhu and Min Zhang},
  title = {{Unleashing Reasoning Capability of LLMs via Scalable Question Synthesis from Scratch}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2025},
}
Figure