PromptCoT: Synthesizing Olympiad-level Problems for Mathematical Reasoning in Large Language Models

Xueliang Zhao, Wei Wu, Jian Guan, Lingpeng Kong

Abstract

The ability of large language models to solve complex mathematical problems has progressed significantly, particularly for tasks requiring advanced reasoning. However, the scarcity of sufficiently challenging problems, particularly at the Olympiad level, hinders further advancements. In this work, we introduce PromptCoT, a novel approach for automatically generating high-quality Olympiad-level math problems. The proposed method synthesizes complex problems based on mathematical concepts and the rationale behind problem construction, emulating the thought processes of experienced problem designers. We provide a theoretical analysis demonstrating that an optimal rationale should maximize both the likelihood of rationale generation given the associated concepts and the likelihood of problem generation conditioned on both the rationale and the concepts. Our method is evaluated on standard benchmarks including GSM8K, MATH-500, and AIME2024, where it consistently outperforms existing problem generation methods. Furthermore, we demonstrate that PromptCoT exhibits superior scalability, consistently maintaining high performance as the dataset size increases, outperforming the baselines.

1. Introduction

Large Language Models (LLMs) have reached a "data ceiling" in mathematical reasoning. While they excel at grade-school math, achieving Olympiad-level performance requires training on extremely challenging problems that are scarce in existing datasets. Previous synthesis methods, such as simple rephrasing or "evolving" problems, often produce noisy data lacking coherent logical structure. We address this by introducing PromptCoT, a framework that treats problem generation as a structured, three-step process designed to emulate human expertise.

2. The PromptCoT Framework

The core innovation of PromptCoT is the use of "design rationales" to bridge the gap between abstract concepts and complex problems. The process consists of three main stages:

  1. Concept Extraction: Foundational mathematical concepts (e.g., Modular Arithmetic, Prime Numbers) are extracted from a small set of "seed" problems sourced from the Art of Problem Solving (AoPS) platform.
  2. Rationale Generation: Instead of generating a problem directly, the system first creates a rationale—a step-by-step design plan explaining how to combine the extracted concepts into a difficult question.
  3. Model Training & Rejection Sampling: A problem generator model (e.g., Llama-3.1-8B) is fine-tuned on these (concept, rationale, problem) triples. To ensure high quality, we use iterative rejection sampling, where generated problems must be validated by independent LLM evaluators.
Overview of the PromptCoT rationale and problem generation pipeline.

3. Key Results and Scalability

PromptCoT was evaluated on standard benchmarks including GSM8K, MATH-500, and AIME2024.

3.1 Performance Gains

The framework demonstrates significant improvements over existing synthetic data methods. For example, PromptCoT-DS-7B (distilled from DeepSeek-r1) achieved 60.0% accuracy on the AIME2024 benchmark, a substantial leap from the base model's 43.3%. In the "short-CoT" setting, PromptCoT-Qwen-7B outperformed baselines like Evol-Instruct and NuminaMath by significant margins.

3.2 Superior Scalability

A standout feature of PromptCoT is its scalability. While other synthetic data methods often see performance plateaus as dataset size increases, PromptCoT shows a consistent upward trend. As the dataset size grew from 200k to 800k problems, model accuracy continued to improve, significantly outperforming baselines like OpenMathInstruct.

Comparative scalability of PromptCoT and OpenMathInstruct across varying dataset sizes.

4. Conclusion

PromptCoT provides a robust, scalable pipeline for generating the high-quality, reasoning-heavy data necessary for the next generation of mathematical LLMs. By incorporating explicit design rationales, the framework produces problems that are more logically sound and challenging than those generated by traditional methods. Future work will explore scaling the generation to tens of millions of problems and adapting the framework to other complex domains such as physics and coding.

Summary updated

BibTeX
@inproceedings{zhao2025promptcot,
  author = {Xueliang Zhao and Wei Wu and Jian Guan and Lingpeng Kong},
  title = {{PromptCoT: Synthesizing Olympiad-level Problems for Mathematical Reasoning in Large Language Models}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2025},
  url = {https://openreview.net/forum?id=66DS2n730V},
}
Figure