atlas

Research map / Large language models / Agents, code and math

Advancing Mathematical Reasoning in Language Models: The Impact of Problem-Solving Data, Data Synthesis Methods, and Training Stages

ICLR 2025 · Large language models › Agents, code and math · approach: Mathematical and structural reasoning benchmarks · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Studies whether problem-solving data is more useful than math corpora during continued pre-training (CPT), compares four synthetic data methods, and contrasts CPT vs SFT, culminating in the MathGPT-8B base model trained from Llama3-8B.

Problem

Math-specific LLMs rely on continued pre-training with math corpora, which gives smaller gains than SFT; it is unclear whether problem-solving data, synthetic variants of it, and the CPT vs SFT stage choice can yield better mathematical reasoning.

Approach

Use problem-solving data (with reasoning steps) during CPT rather than general math corpora, and compare four synthesis methods (response diversification, query expansion, retrospective enhancement, tutorship amplification) where a teacher model checks and corrects student solutions; analyze CPT vs SFT differences by data distribution and difficulty.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Replace some mathematical-corpus data with problem-solving data during CPT (ablation)Llama2 · GSM8K, MATH, GAOKAO, ZHONGKAOaverage accuracy: 19.11 -> 39.88Helped
Increase the problem-solving data proportion to a 3:7 math-corpus-to-problem-solving ratio (ablation)Test1 CPT · GSM8K, MATH, GAOKAO, ZHONGKAOaverage accuracy: 37.72 -> 39.88Helped
Use only problem-solving data as math data (ablation)Llama2 CPT · GSM8K, MATH, GAOKAO, ZHONGKAOaverage accuracy: 19.11 -> 40.80Helped
Add response diversification synthetic data (ablation)Base2 CPT · GSM8Kaccuracy: 47.84 -> 52.99Helped
Add query expansion synthetic data (ablation)Base2 CPT · GAOKAOaccuracy: 22.98 -> 27.23Helped
Add retrospective enhancement synthetic data (ablation)Base2 CPT · GSM8Kaccuracy: 47.84 -> 45.11Hurt
Add tutorship amplification synthetic data (ablation)Base2 CPT · GSM8Kaccuracy: 47.84 -> 64.44Helped
Move problem-solving data training from CPT to SFTLlama2 · GSM8K, MATH, GAOKAO, ZHONGKAOmathematical reasoning gainHurt
Increase SFT problem-solving data from 1% to 100% (ablation)Base1 · GSM8K, MATH, GAOKAO, ZHONGKAOaverage accuracy: 23.73 -> 35.62Helped
Use CPT rather than SFT for middle-school data (ablation)Base1 · ZHONGKAOaccuracy: 52.28 (+21.60) -> 54.71 (+24.03)Helped
Use CPT rather than SFT for high-school data (ablation)Base1 · GAOKAOaccuracy: 16.60 (+8.51) -> 22.98 (+14.89)Helped
Use high-difficulty instead of easy problem-solving data (ablation)Base1 CPT · GSM8K, MATH, GAOKAO, ZHONGKAOaverage accuracy: 30.79 -> 41.51Helped

Surprising findings

Limitations

Experimental setup

Datasets: RedPajama AlgebraicStack StarCoder OpenWebMath NuminaMath Lila GSM8K MATH GAOKAO ZHONGKAO

Benchmarks: GSM8K MATH GAOKAO ZHONGKAO MMLU

Metrics: accuracy average accuracy over four datasets

Baselines: LLEMMA-7B DeepSeekMath-Base-7B Qwen2-Math-7B Qwen2-Math-72B Qwen2.5-Math-7B Qwen2.5-Math-72B Llama3-8B Llama3-70B Qwen2.5-7B Qwen2-72B

Builds on: Llama2 Llama3 RedPajama OpenWebMath Physics of LLM

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy