atlas

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

MathScale: Scaling Instruction Tuning for Mathematical Reasoning

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

Proposes MathScale, which extracts topics and knowledge points from seed math questions, builds a concept graph, and random-walks it to prompt GPT-3.5 into generating 2M math QA pairs (MathScaleQA), used to instruction-tune LLaMA-2 and Mistral models evaluated on the new 10-dataset MwpBench.

Problem

Open-source LLMs lack mathematical reasoning ability, and existing math instruction data is small and augmentation-based methods produce examples too similar to seeds; evaluation is also inconsistent across math benchmarks.

Approach

Concept-graph-guided synthesis: extract topics and knowledge points from seed questions (concept compression), build a co-occurrence concept graph, sample concept compositions via random walks (connection forging), and prompt a frontier LLM to write new questions from them, enabling scaling to millions of examples.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
fine-tune LLaMA-2 7B with MathScaleQA instead of MetaMath's training dataLLaMA-2 7B · MwpBenchmicro average accuracy: 24.5 -> 35.0Helped
fine-tune LLaMA-2 7B with MathScaleQA instead of MetaMath's training dataLLaMA-2 7B · MwpBenchmacro average accuracy: 26.1 -> 37.5Helped
remove 50% of the seed questions (ablation)MathScale · MwpBenchmacro average accuracy: 14.5 -> 14.0; -2.9%Hurt
restrict seed questions to GSM8K and MATH training sets (ablation)MathScale · MwpBenchmacro average accuracy: 14.5 -> 13.9; -3.5%Hurt
add a diverse set of seed questions (ablation)MathScale · MwpBenchmacro average accuracy: 13.9 -> 14.5; 14.0 -> 14.5Helped
remove 50% of the topics (ablation)MathScale · MwpBenchmacro average accuracy: 14.5 -> 14.1; -2.3%Hurt
add the full set of topics rather than removing 50% (ablation)MathScale · MwpBenchmacro average accuracy: 14.1 -> 14.5; -2.3%Helped
remove 50% of the knowledge points (ablation)MathScale · MwpBenchmacro average accuracy: 14.5 -> 13.2; -8.6%Hurt
retain the full set of knowledge points rather than removing 50% (ablation)MathScale · MwpBenchmacro average accuracy: 13.2 -> 14.5; -8.6%Helped
replace 26% of GPT-3.5 solutions with GPT-4-corrected solutions (ablation)MathScale data generation · MwpBenchmicro average accuracy: 10.6 -> 10.2Hurt
replace 26% of GPT-3.5 solutions with GPT-4-corrected solutions (ablation)MathScale data generation · MwpBenchmacro average accuracy: 11.5 -> 11.1Hurt
replace all GPT-3.5 solutions with GPT-4 solutions (ablation)MathScale data generation · MwpBenchmicro average accuracy: 10.6 -> 9.8Hurt

Surprising findings

Limitations

Experimental setup

Datasets: GSM8K MATH TAL-SCQ Math23k Ape210k GaokaoBench-Math AGIEval CollegeMath

Benchmarks: MwpBench GSM8K MATH CollegeMath TAL-SCQ Math23k Ape210k GaokaoBench-Math AGIEval-Gaokao-Math AGIEval-SAT-Math AGIEval-Math Fresh-GaokaoMath-2023

Metrics: accuracy micro average accuracy macro average accuracy

Baselines: WizardMath MetaMath MAmmoTH GAIR-Abel GPT-3.5-Turbo GPT-4 LLaMA-2

Builds on: Alpaca open-instruct WizardMath (evol-instruct) MetaMath

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