Papers › AIMO-2 Winning Solution: Building State-of-the-Art Mathematical Reasoning Models with...

AIMO-2 Winning Solution: Building State-of-the-Art Mathematical Reasoning Models with OpenMathReasoning dataset

23 Apr 2025arXiv:2504.16891archive 2025-07-28

Ivan Moshkov, Darragh Hanley, Ivan Sorokin, Shubham Toshniwal, Christof Henkel, Benedikt Schifferer, Wei Du, Igor Gitman

This paper presents our winning submission to the AI Mathematical Olympiad - Progress Prize 2 (AIMO-2) competition. Our recipe for building state-of-the-art mathematical reasoning models relies on three key pillars. First, we create a large-scale dataset comprising 540K unique high-quality math problems, including olympiad-level problems, and their 3.2M long-reasoning solutions. Second, we develop a novel method to integrate code execution with long reasoning models through iterative training, generation, and quality filtering, resulting in 1.7M high-quality Tool-Integrated Reasoning solutions. Third, we create a pipeline to train models to select the most promising solution from many candidates. We show that such generative solution selection (GenSelect) can significantly improve upon majority voting baseline. Combining these ideas, we train a series of models that achieve state-of-the-art results on mathematical reasoning benchmarks. To facilitate further research, we release our code, models, and the complete OpenMathReasoning dataset under a commercially permissive license.

PaperPDFCodeCode Syntology ran

In Syntology View this paper on Syntology: its repositories, every harvested function with whether it ran, its licence and the call to fetch it.

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="2504.16891")

Code

Syntology Ran 12 of 15 code samples harvested from 1 repository linked to this paper; 3 have no recorded run. Of those that ran: 12 ran with no contract checked.

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

kipok/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; 12 ran; 0 honoured the contract we drafted; 3 have no recorded run. Read from Syntology's graph 2026-09-25; that is when this build read the record, not when the samples ran.

12ran
3unverified

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 kipok/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 kipok/nemo-skills/nemo_skills/file_utils.py community (archive-listed) ran Apache-2.0 (permissive) · 2e7aafbc230cb972 · report
determine_proof_status kipok/nemo-skills/nemo_skills/code_execution/proof_utils.py community (archive-listed) ran Apache-2.0 (permissive) · dfb61cd2ac2b564a · report
extract_code_output kipok/nemo-skills/nemo_skills/code_execution/utils.py community (archive-listed) ran Apache-2.0 (permissive) · b4bbfbf06bb92de6 · report
extract_code_to_execute kipok/nemo-skills/nemo_skills/code_execution/utils.py community (archive-listed) ran Apache-2.0 (permissive) · b75a1053974f21ce · report
extract_proof_only kipok/nemo-skills/nemo_skills/code_execution/proof_utils.py community (archive-listed) ran fingerprinted Apache-2.0 (permissive) · df5a88c92c8f57ce · report
format_code_output kipok/nemo-skills/nemo_skills/code_execution/utils.py community (archive-listed) ran Apache-2.0 (permissive) · b2186409cb2b7dfb · report
get_logger_name kipok/nemo-skills/nemo_skills/utils.py community (archive-listed) ran fingerprinted Apache-2.0 (permissive) · 364d75dfb259e939 · report
import_score_module kipok/nemo-skills/nemo_skills/evaluation/compute_group_score.py community (archive-listed) ran Apache-2.0 (permissive) · 28ecc1878ccced7c · report
init_wandb kipok/nemo-skills/nemo_skills/utils.py community (archive-listed) ran Apache-2.0 (permissive) · a2afdfc356abe1d1 · report
jload kipok/nemo-skills/nemo_skills/file_utils.py community (archive-listed) ran Apache-2.0 (permissive) · 8c48543062658550 · report
load_metric_files kipok/nemo-skills/nemo_skills/evaluation/compute_group_score.py community (archive-listed) ran Apache-2.0 (permissive) · 6f55869f2815d973 · report
setup_logging kipok/nemo-skills/nemo_skills/utils.py community (archive-listed) ran Apache-2.0 (permissive) · 4261064eb4ec7756 · report
count_newlines kipok/nemo-skills/nemo_skills/file_utils.py community (archive-listed) unverified Apache-2.0 (permissive) · 5b3c40e3214faf87 · report
load_config kipok/nemo-skills/nemo_skills/conversion/hf_to_nemo_llama.py community (archive-listed) unverified Apache-2.0 (permissive) · e74354657e62b51d · report
load_config kipok/nemo-skills/nemo_skills/conversion/hf_to_nemo_qwen.py community (archive-listed) unverified Apache-2.0 (permissive) · de5cce096268a65e · report

Tasks

MathMathematical Reasoning

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

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