atlas

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

OpenMathInstruct-2: Accelerating AI for Math with Massive Open-Source Instruction Data

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

Builds OpenMathInstruct-2, a 14M-pair commercially permissive math SFT dataset synthesized with Llama3.1-405B-Instruct, with ablations on CoT format, teacher choice, noise, and question diversity; fine-tuned Llama3.1 8B/70B base models reach 67.8% and 71.9% on MATH.

Problem

Math reasoning SFT data is largely closed-source or generated with restrictive-license GPT models, and the design choices (solution format, teacher model, filtering, question diversity) that drive SFT performance are poorly understood.

Approach

Use an open-weight frontier model (Llama3.1-405B-Instruct) to both augment solutions for MATH/GSM8K questions and synthesize new questions, guided by controlled ablations (OpenMath CoT format, coverage matching, noise injection) and LLM-based paraphrase decontamination.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use OpenMath CoT rather than Llama CoT (ablation)SFT data for Llama3.1-8B-Base · MATH validationaccuracy: 40.6 ± 0.6 -> 44.5 ± 0.8Helped
Use OpenMath CoT rather than Llama CoT (ablation)SFT data for Llama3.1-8B-Base · MATH validationmean solution length (tokens): 331.3 -> 237.0Helped
Generate SFT solutions with Llama3.1-405B-Instruct rather than Llama3.1-8B-Base (ablation)Llama3.1-8B-Base SFT · MATH validationaccuracy: 30.1 ± 0.6 -> 37.9 ± 0.6Helped
Filter low-quality solutions with LLM-as-a-Judge Prompt 1 (ablation)Llama3.1-8B-Base SFT · MATH validationaccuracy: 43.6 ± 1.7 -> 43.6 ± 0.1No clear effect
Filter low-quality solutions with LLM-as-a-Judge Prompt 2 (ablation)Llama3.1-8B-Base SFT · MATH validationaccuracy: 43.6 ± 1.7 -> 43.0 ± 0.8No clear effect
Filter solutions using Nemotron helpfulness ≥ 3 (ablation)Llama3.1-8B-Base SFT · MATH validationaccuracy: 43.6 ± 1.7 -> 43.8 ± 0.4No clear effect
Filter solutions using Nemotron correctness ≥ 3 (ablation)Llama3.1-8B-Base SFT · MATH validationaccuracy: 43.6 ± 1.7 -> 43.1 ± 0.4No clear effect
Include up to 20% incorrect solutions during SFT (ablation)Llama3.1-8B-Base SFT · MATH validationaccuracyNo clear effect
Increase unique questions from 1K to 6.5K while holding SFT pair count fixed (ablation)Llama3.1-8B-Base SFT · MATH validationaccuracy: +10.5%Helped
Set the minimum majority-vote threshold to 8 rather than 0 (ablation)Question-solution augmented SFT data · MATH validationaccuracy: 50.1 -> 49.2Hurt
Set the minimum majority-vote threshold to 16 rather than 0 (ablation)Question-solution augmented SFT data · MATH validationaccuracy: 50.1 -> 44.4Hurt
Set the minimum majority-vote threshold to 24 rather than 0 (ablation)Question-solution augmented SFT data · MATH validationaccuracy: 50.1 -> 42.0Hurt

Surprising findings

Limitations

Experimental setup

Datasets: MATH training set GSM8K training set AMC 2023 AIME 2024 Omni-MATH synthesized questions from MATH and GSM8K

Benchmarks: GSM8K MATH AMC 2023 AIME 2024 Omni-MATH

Metrics: accuracy (greedy) maj@256 accuracy

Baselines: Llama3.1-8B-Instruct Llama3.1-70B-Instruct NuminaMath-7B-CoT NuminaMath-72B-CoT Qwen2.5-Math-7B-Instruct Qwen2.5-Math-72B-Instruct Mathstral-7B DS-Coder-V2-Lite-Instruct

Builds on: NuminaMath OpenMathInstruct-1 MetaMathQA Llama 3.1 Nemotron-4-340B-Reward

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