atlas

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

JiuZhang3.0: Efficiently Improving Mathematical Reasoning by Training Small Data Synthesis Models

NeurIPS 2024 · Large language models › Agents, code and math · approach: Mathematical and structural reasoning benchmarks · 3 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.

Distills GPT-4's math problem synthesis ability into a 7B model (DeepSeekMath-7B), uses it with gradient-based data value estimation to synthesize 6M math problems (4.6B tokens) for pre-training JiuZhang3.0 models that reach SOTA among open-source LLMs on math reasoning benchmarks.

Problem

Math reasoning in LLMs typically needs either huge math corpora for pre-training or massive synthetic problems from strong, expensive LLMs such as GPT-4, which makes training and synthesis costly.

Approach

Train a small data-synthesis LLM by distilling GPT-4 on education-stage prompts and gradient-influence-selected math texts, then use that small model to synthesize pre-training data at a fraction of the GPT-4 API cost.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
use the 7B trained synthesis model and synthetic pre-training dataJiuZhang3.0-7B · MATH, natural language reasoningaccuracy: 50.2 -> 52.8Helped
replace the crafted prompt set with a simple prompt (ablation)JiuZhang3.0 · GSM8K, efficient ablation testaccuracy: 78.6 -> 76.9Hurt
replace the crafted prompt set with a simple prompt (ablation)JiuZhang3.0 · MATH, efficient ablation testaccuracy: 32.8 -> 27.8Hurt
add math-related texts as synthesis inputs (ablation)JiuZhang3.0 · MATH, efficient ablation testaccuracy: 28.6 -> 32.8Helped
add boosting retraining of the synthesis model (ablation)JiuZhang3.0 · MATH, efficient ablation testaccuracy: 31.6 -> 32.8Helped
use value estimation rather than random sampling for data selection (ablation)JiuZhang3.0 · MATH, efficient ablation testaccuracy: 31.0 -> 32.8Helped
regenerate selected high-value instances with GPT-4 for boosting (ablation)JiuZhang3.0 · MATH, efficient ablation testaccuracy: 28.4 -> 32.8Helped
replace the trained synthesis model with ChatGPT (ablation)JiuZhang3.0 · MATH, efficient ablation testaccuracy: 32.8 -> 26.6Hurt
replace the trained synthesis model with Mixtral-8×7B (ablation)JiuZhang3.0 · MATH, efficient ablation testaccuracy: 32.8 -> 26.8Hurt
replace the trained synthesis model with DeepSeekMath-RL-7B (ablation)JiuZhang3.0 · MATH, efficient ablation testaccuracy: 32.8 -> 27.2Hurt
replace the trained synthesis model with LLaMA-3-8B-Instruct (ablation)JiuZhang3.0 · MATH, efficient ablation testaccuracy: 32.8 -> 26.2Hurt
replace gradient-based selection with random sampling (ablation)JiuZhang3.0 · MATH, efficient ablation testaccuracy: 32.8 -> 31.0Hurt

Surprising findings

Limitations

Experimental setup

Datasets: OpenWebText Mathpile-textbook Mathpile-arXiv MMIQC StackExchange Mathpile-Wikipedia GSM8k MATH MetaMATH MMIQC Math-Shepherd Orca-MATH PRM800k

Benchmarks: GSM8k MATH SVAMP ASDiv MAWPS CARP TabMWP AQuA SAT-Math MMLU-STEM OCW-Math GSM-Hard

Metrics: accuracy

Baselines: GPT-4 ChatGPT DeepSeekMath-7B-RL MAmmoTH2-8x7B-Plus KPMath-DSMath-7B Rho-1-Math-7B OpenMath-Mistral-7B ToRA-7B-Code

Builds on: DeepSeekMath LoRA MAmmoTH2 Rho-1 Mistral-7B

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