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

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

2 Oct 2024arXiv:2410.01560archive 2025-07-28

Shubham Toshniwal, Wei Du, Ivan Moshkov, Branislav Kisacanin, Alexan Ayrapetyan, Igor Gitman

Mathematical reasoning continues to be a critical challenge in large language model (LLM) development with significant interest. However, most of the cutting-edge progress in mathematical reasoning with LLMs has become \emph{closed-source} due to lack of access to training data. This lack of data access limits researchers from understanding the impact of different choices for synthesizing and utilizing the data. With the goal of creating a high-quality finetuning (SFT) dataset for math reasoning, we conduct careful ablation experiments on data synthesis using the recently released \texttt{Llama3.1} family of models. Our experiments show that: (a) solution format matters, with excessively verbose solutions proving detrimental to SFT performance, (b) data generated by a strong teacher outperforms equally-sized data generated by a weak student model, (c) SFT is robust to low-quality solutions, allowing for imprecise data filtering, and (d) question diversity is crucial for achieving data scaling gains. Based on these insights, we create the OpenMathInstruct-2 dataset, which consists of 14M question-solution pairs (≈ 600K unique questions), making it nearly eight times larger than the previous largest open-source math reasoning dataset. Finetuning the \texttt{Llama-3.1-8B-Base} using OpenMathInstruct-2 outperforms \texttt{Llama3.1-8B-Instruct} on MATH by an absolute 15.9\% (51.9\% → 67.8\%). Finally, to accelerate the open-source efforts, we release the code, the finetuned models, and the OpenMathInstruct-2 dataset under a commercially permissive license.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2410.01560")

Code

Syntology Ran 0 of 15 code samples harvested from 1 repository linked to this paper; 15 have no recorded run.

By repository: community (archive-listed): 15 samples from 1 repository, 0 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

NVIDIA/NeMo-Skills mentioned on GitHubApache-2.0 report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

15 samples harvested; 0 ran; 0 honoured the contract we drafted; 15 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

15unverified

Licence: 0 of the 15 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from NVIDIA/NeMo-Skills. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

calculate_chunk_indices NVIDIA/NeMo-Skills/nemo_skills/file_utils.py community (archive-listed) unverified Apache-2.0 (permissive) · 2e7aafbc230cb972 · report
count_newlines NVIDIA/NeMo-Skills/nemo_skills/file_utils.py community (archive-listed) unverified Apache-2.0 (permissive) · 5b3c40e3214faf87 · report
determine_proof_status NVIDIA/NeMo-Skills/nemo_skills/code_execution/proof_utils.py community (archive-listed) unverified Apache-2.0 (permissive) · dfb61cd2ac2b564a · report
extract_code_output NVIDIA/NeMo-Skills/nemo_skills/code_execution/utils.py community (archive-listed) unverified Apache-2.0 (permissive) · b4bbfbf06bb92de6 · report
extract_code_to_execute NVIDIA/NeMo-Skills/nemo_skills/code_execution/utils.py community (archive-listed) unverified Apache-2.0 (permissive) · b75a1053974f21ce · report
extract_proof_only NVIDIA/NeMo-Skills/nemo_skills/code_execution/proof_utils.py community (archive-listed) unverified Apache-2.0 (permissive) · df5a88c92c8f57ce · report
format_code_output NVIDIA/NeMo-Skills/nemo_skills/code_execution/utils.py community (archive-listed) unverified Apache-2.0 (permissive) · b2186409cb2b7dfb · report
get_logger_name NVIDIA/NeMo-Skills/nemo_skills/utils.py community (archive-listed) unverified Apache-2.0 (permissive) · 364d75dfb259e939 · report
import_score_module NVIDIA/NeMo-Skills/nemo_skills/evaluation/compute_group_score.py community (archive-listed) unverified Apache-2.0 (permissive) · 28ecc1878ccced7c · report
init_wandb NVIDIA/NeMo-Skills/nemo_skills/utils.py community (archive-listed) unverified Apache-2.0 (permissive) · a2afdfc356abe1d1 · report
jload NVIDIA/NeMo-Skills/nemo_skills/file_utils.py community (archive-listed) unverified Apache-2.0 (permissive) · 8c48543062658550 · report
load_config NVIDIA/NeMo-Skills/nemo_skills/conversion/hf_to_nemo_llama.py community (archive-listed) unverified Apache-2.0 (permissive) · e74354657e62b51d · report
load_config NVIDIA/NeMo-Skills/nemo_skills/conversion/hf_to_nemo_qwen.py community (archive-listed) unverified Apache-2.0 (permissive) · de5cce096268a65e · report
load_metric_files NVIDIA/NeMo-Skills/nemo_skills/evaluation/compute_group_score.py community (archive-listed) unverified Apache-2.0 (permissive) · 6f55869f2815d973 · report
setup_logging NVIDIA/NeMo-Skills/nemo_skills/utils.py community (archive-listed) unverified Apache-2.0 (permissive) · 4261064eb4ec7756 · report

Tasks

Arithmetic ReasoningLarge Language ModelMathMath Word Problem SolvingMathematical Reasoning

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
Arithmetic Reasoning GSM8K OpenMath2-Llama3.1-70B (majority@256) Accuracy 96.0 #5 of 164 Archive leaderboard report
Arithmetic Reasoning GSM8K OpenMath2-Llama3.1-70B Accuracy 94.9 #9 of 164 Archive leaderboard report
Arithmetic Reasoning GSM8K OpenMath2-Llama3.1-8B (majority@256) Accuracy 94.1 #12 of 164 Archive leaderboard report
Arithmetic Reasoning GSM8K OpenMath2-Llama3.1-8B Accuracy 91.7 #17 of 164 Archive leaderboard report
Math Word Problem Solving MATH OpenMath2-Llama3.1-70B (majority@256) Accuracy 79.6 #10 of 135 Archive leaderboard report
Math Word Problem Solving MATH OpenMath2-Llama3.1-8B (majority@256) Accuracy 76.1 #11 of 135 Archive leaderboard report
Math Word Problem Solving MATH OpenMath2-Llama3.1-70B Accuracy 71.9 #15 of 135 Archive leaderboard report
Math Word Problem Solving MATH OpenMath2-Llama3.1-8B Accuracy 67.8 #19 of 135 Archive leaderboard report

Ranks are positions in the archive's leaderboards as they stood at the 2025-07-28 snapshot. Results published since then are not among these rows, so a rank here is not a current standing.

Methods

SFT

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections