Lune

AAAI2026Top-tier venue

MathSmith: Towards Extremely Hard Mathematical Reasoning by Forging Synthetic Problems with a Reinforced Policy

Shaoxiong Zhan, Yanlin Lai, Ziyu Lu, Dahua Lin, Ziqing Yang, Fei Tan

Abstract

Large language models have achieved substantial progress in mathematical reasoning, yet their advancement is limited by the scarcity of high-quality, high-difficulty training data. Existing synthesis methods largely rely on transforming human-written templates, limiting both diversity and scalability. We propose MathSmith, a novel framework for synthesizing challenging mathematical problems to enhance LLM reasoning. Rather than modifying existing problems, MathSmith constructs new ones from scratch by randomly sampling concept-explanation pairs from PlanetMath, ensuring data independence and avoiding contamination. To increase difficulty, we design nine predefined strategies as soft constraints during rationales. We further adopts reinforcement learning to jointly optimize structural validity, reasoning complexity, and answer consistency. The length of the reasoning trace generated under autoregressive prompting is used to reflect cognitive complexity, encouraging the creation of more demanding problems aligned with long-chain-of-thought reasoning. Experiments across five benchmarks, categorized as easy & medium (GSM8K, MATH-500) and hard (AIME2024, AIME2025, OlympiadBench), show that MathSmith consistently outperforms existing baselines under both short and long CoT settings. Additionally, a weakness-focused variant generation module enables targeted improvement on specific concepts. Overall, MathSmith exhibits strong scalability, generalization, and transferability, highlighting the promise of high-difficulty synthetic data in advancing LLM reasoning capabilities. Our code and data are available at https: //github.com/Jasaxion/MathSmith .

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

5 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • BrokenMath: A Benchmark for Sycophancy in Theorem Proving with LLMs cites Let's Verify Step by Step
  • MAmmoTH: Building Math Generalist Models through Hybrid Instruction Tuning cites Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
  • MAmmoTH: Building Math Generalist Models through Hybrid Instruction Tuning cites MetaMath: Bootstrap Your Own Mathematical Questions for Large Language Models
  • MetaMath: Bootstrap Your Own Mathematical Questions for Large Language Models cites MAmmoTH: Building Math Generalist Models through Hybrid Instruction Tuning
  • Agentic Proposing: Enhancing Large language Model Reasoning via Compositional Skill Synthesis cites MetaMath: Bootstrap Your Own Mathematical Questions for Large Language Models
  • MathScale: Scaling Instruction Tuning for Mathematical Reasoning cites Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
  • MathScale: Scaling Instruction Tuning for Mathematical Reasoning cites MetaMath: Bootstrap Your Own Mathematical Questions for Large Language Models
  • Let's Verify Step by Step cites Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
  • Grouter: Decoupling Routing from Representation for Accelerated MoE Training cites 3ViewSense: Spatial and Mental Perspective Reasoning from Orthographic Views in Vision-Language Models
  • MetaMath: Bootstrap Your Own Mathematical Questions for Large Language Models cites Let's Verify Step by Step
  • MetaMath: Bootstrap Your Own Mathematical Questions for Large Language Models cites Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers5

  1. BrokenMath: A Benchmark for Sycophancy in Theorem Proving with LLMsIvo Petrov, Jasper Dekoninck, Martin VechevICML 2026 · 25 citations
  2. Agentic Proposing: Enhancing Large language Model Reasoning via Compositional Skill SynthesisZhengbo Jiao, Shaobo Wang, Zifan Zhang, Xuan Ren et al.ICML 2026 · 10 citations
  3. Grouter: Decoupling Routing from Representation for Accelerated MoE TrainingYuqi Xu, Rizhen Hu, zihan liu, Mou Sun et al.ICML 2026 · 7 citations
  4. 3ViewSense: Spatial and Mental Perspective Reasoning from Orthographic Views in Vision-Language ModelsShaoxiong Zhan, Yanlin Lai, Zheng Liu, Zijian Lin et al.ICML 2026 · 6 citations
  5. ReSURE: Regularizing Supervision Unreliability for Multi-turn Dialogue Fine-tuningYiming Du, Yifan Xiang, Bin Liang, Dahua Lin et al.EMNLP 2025 · 1 citation

Builds on22

  1. Chain-of-Thought Prompting Elicits Reasoning in Large Language ModelsJason Wei, Xuezhi Wang, Dale Schuurmans, Maarten Bosma et al.NeurIPS 2022 · 22,562 citations
  2. Let's Verify Step by StepHunter Lightman, Vineet Kosaraju, Yuri Burda, Harrison Edwards et al.ICLR 2024 · 3,045 citations
  3. MetaMath: Bootstrap Your Own Mathematical Questions for Large Language ModelsLonghui Yu, Weisen Jiang, Han Shi, Jincheng Yu et al.ICLR 2024 · 637 citations
  4. MAmmoTH: Building Math Generalist Models through Hybrid Instruction TuningXiang Yue, Xingwei Qu, Ge Zhang, Yao Fu et al.ICLR 2024 · 558 citations
  5. MathScale: Scaling Instruction Tuning for Mathematical ReasoningZhengyang Tang, Xingxing Zhang, Benyou Wang, Furu WeiICML 2024 · 163 citations

Related papers

  1. PromptCoT: Synthesizing Olympiad-level Problems for Mathematical Reasoning in Large Language ModelsXueliang Zhao, Wei Wu, Jian Guan, Lingpeng KongACL Findings 2025 · 4 citations
  2. MIND: Math Informed syNthetic Dialogues for Pretraining LLMsSyeda Nahida Akter, Shrimai Prabhumoye, John Kamalu, Sanjeev Satheesh et al.ICLR 2025
  3. WizardMath: Empowering Mathematical Reasoning for Large Language Models via Reinforced Evol-InstructHaipeng Luo, Qingfeng Sun, Can Xu, Pu Zhao et al.ICLR 2025
  4. FLAMES: Improving LLM Math Reasoning via a Fine-Grained Analysis of the Data Synthesis PipelineParker Seegmiller, Kartik Mehta, Soumya Saha, Chenyang Tao et al.EMNLP Findings 2025
  5. From Abstract to Contextual: What LLMs Still Cannot Do in MathematicsBowen Cao, Dongdong Zhang, Yixia Li, Junpeng Liu et al.ICLR 2026 · 1 citation
Dusk over the sea between two cliffs drawn in fine vertical lines