SAND-Math: Using LLMs to Generate Novel, Difficult and Useful Mathematics Questions and Answers
Chaitanya Manem, Pratik Prabhanjan Brahma, Prakamya Mishra, Zicheng Liu, Emad Barsoum
TL;DR
SAND-Math addresses the bottleneck of scarce high-quality math training data for LLMs by introducing a fully automated data-generation pipeline that synthesizes novel, challenging problems and solutions. A key innovation is Difficulty Hiking, which systematically increases problem complexity and improves downstream reasoning capabilities, evidenced by significant gains when used for augmentation on strong baselines. The pipeline incorporates multiple filtering stages (self-consistency, de-duplication, decontamination, difficulty rating, novelty) and demonstrates competitive standalone performance as well as data-efficient improvements in augmentation settings on AIME/AMC/MATH500 benchmarks. The work highlights practical scalability and provides a foundation for generating reasoning-focused datasets across scientific domains, with future gains anticipated from larger teacher models and expanded post-training.
Abstract
The demand for Large Language Models (LLMs) at multiple scales, capable of sophisticated and sound mathematical reasoning, continues to grow. However, the development of performant mathematical LLMs is often bottlenecked by the scarcity of useful training data containing problems with significant complexity. We introduce \textbf{SAND-Math} (\textbf{S}ynthetic \textbf{A}ugmented \textbf{N}ovel and \textbf{D}ifficult Mathematics problems and solutions), a pipeline that addresses this by first synthesizing high-quality problems from scratch and then systematically elevating their complexity via a our newly proposed \textbf{Difficulty Hiking} step. We demonstrate the effectiveness of our approach through two key findings: \textbf{(1)} Augmenting a strong post-training baseline with a small 500-sample SAND-Math dataset significantly boosts performance, outperforming the next-best synthetic dataset by $\uparrow$ 17.85 absolute points on AIME25 benchmark. \textbf{(2)} In a dedicated ablation study, we show the effectiveness of our Difficulty Hiking process in increasing average problem difficulty from 5.02 to 5.98. This step consequently lifts AIME25 results from 46.38\% to 49.23\%. The full generation pipeline, final dataset, and a fine-tuned model form a practical and scalable toolkit for building capable and efficient mathematical reasoning LLMs.
