Abstract
NVIDIA researchers have developed a state-of-the-art approach to competitive mathematics by combining a massive new dataset, OpenMathReasoning, with an iterative pipeline for Tool-Integrated Reasoning (TIR) and a generative solution selection method called GenSelect. This methodology powered the winning entry for the AI Mathematical Olympiad (AIMO-2), demonstrating that open-weight models can achieve elite-level performance in mathematical reasoning. The approach bridges the gap between raw model capability and competition success through superior data distillation and intelligent answer selection.
Introduction
Solving Olympiad-level math problems is a "grand challenge" for AI. While Large Language Models (LLMs) have improved at Chain-of-Thought (CoT) reasoning, they still struggle with two major hurdles: the effective integration of computational tools and the selection of the correct answer from multiple generated candidates. Standard "majority voting" often fails to capture the best solution when errors are consistent. This work aims to overcome these limitations through a combination of high-quality reasoning data and advanced inference-time strategies.
Methodology
The researchers built their solution on three key pillars:
Large-Scale Long-Reasoning Data
They created the OpenMathReasoning dataset by distilling 3.2M long-reasoning solutions from top-tier models like DeepSeek-R1 and QwQ-32B across 540K unique problems. This dataset provides the foundational reasoning capabilities required for complex mathematics.
Iterative Tool-Integrated Reasoning (TIR)
Rather than simple prompting, an iterative training loop was used to filter for "significant" code usage. This ensures models learn to use Python for complex calculations or brute-force approaches rather than trivial arithmetic. A novel state-tracking method allows the model to manage its "thinking budget" by tracking remaining code executions.
Generative Solution Selection (GenSelect)
To improve upon majority voting, the team developed GenSelect. This method trains models to act as judges that evaluate candidate solution summaries to identify the most mathematically sound path.
Datasets and Benchmarks
- OpenMathReasoning: A core contribution featuring 540K unique problems and millions of reasoning traces, released under a commercially permissive license.
- Comp-Math-24-25: A new validation set of 256 problems from recent (2024-2025) AIME and HMMT competitions, designed to minimize data contamination.
- External Evaluation: The models were also tested on AIME24, AIME25, and HLE-Math benchmarks.
Key Results
The methodology led to a first-place finish in the AIMO-2 competition, solving 34 out of 50 problems on the private test set.
As shown in the results, the OpenMath-Nemotron-32B model achieved a staggering 93.3% accuracy on AIME24 when utilizing the full TIR and GenSelect pipeline. Even smaller models showed significant gains; for instance, the 1.5B model's accuracy jumped from 31.6% (pass@1) to 65.6% on the competition benchmark. To meet strict competition time limits, the team utilized TensorRT-LLM and Speculative Decoding (ReDrafter), achieving inference speeds of 554 tokens/second on 4x L4 GPUs.
Discussion and Limitations
A key insight from this work is that code should be used as a reasoning shortcut, not a crutch for basic arithmetic. Furthermore, GenSelect proved superior to majority voting by recognizing logically sound but less frequent solution paths.
However, challenges remain. GenSelect performance can become unstable when evaluating more than 32 solutions simultaneously due to context window constraints. Additionally, the high variance in leaderboard scores on small problem sets makes research prioritization difficult. Future work will focus on "Generative Reward Models" to further refine solution selection and judgment.
Summary updated