InfinityMATH: A Scalable Instruction Tuning Dataset in Programmatic Mathematical Reasoning
On the map: LLM reasoning → Mathematical reasoning
Abstract (arXiv)
Recent advancements in Chain-of-Thoughts (CoT) and Program-of-Thoughts (PoT) methods have greatly enhanced language models' mathematical reasoning capabilities, facilitating their integration into instruction tuning datasets with LLMs. However, existing methods for large-scale dataset creation require substantial seed data and high computational costs for data synthesis, posing significant challenges for scalability. We introduce InfinityMATH, a scalable instruction tuning dataset for programmatic mathematical reasoning. The construction pipeline emphasizes decoupling numbers from mathematical problems to synthesize number-independent programs, enabling efficient and flexible scaling while minimizing dependency on specific numerical values. Fine-tuning experiments with open-source language and code models, such as Llama2 and CodeLlama, demonstrate the practical benefits of InfinityMATH. These fine-tuned models, showed significant relative improvements on both in-domain and out-of-domain benchmarks, ranging from 184.7% to 514.3% on average. Additionally, these models exhibited high robustness on the GSM8K+ and MATH+ benchmarks, which are enhanced version of test sets with simply the number variations. InfinityMATH ensures that models are more versatile and effective across a broader range of mathematical problems. The data is available at https://huggingface.co/datasets/flagopen/InfinityMATH.
Key facts. Cited by 15 papers in the map (data through 7 Oct 2026). Placed in Mathematical reasoning, one of 17 directions in LLM reasoning. Builds on 23 of its 27 references that are in the map. First posted on arXiv 9 Aug 2024.
Builds on
23 of 27 references.
Closest ancestors · 2
Same direction, newest first
- 2024OpenMathInstruct-1: A 1.8 Million Math Instruction Tuning Dataset15 Feb
- 2022NumGLUE: A Suite of Fundamental yet Challenging Mathematical Reasoning Tasks12 Apr
Other references · 21
- 2023GPT-4 Technical Reportcited by 18,132
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
- 2021Training Verifiers to Solve Math Word Problemscited by 9,743
- 2020Measuring Massive Multitask Language Understandingcited by 7,768
- 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,601
- 2021Measuring Mathematical Problem Solving With the MATH Datasetcited by 5,203
- 2023Code Llama: Open Foundation Models for Codecited by 2,105
- 2024Mixtral of Expertscited by 1,785
- 2022Program of Thoughts Prompting: Disentangling Computation from Reasoning for Numerical Reasoning Taskscited by 1,057
- 2021Are NLP Models really able to Solve Simple Math Word Problems?cited by 861
- 2023StarCoder: may the source be with you!cited by 790
- 2023WizardCoder: Empowering Code Large Language Models with Evol-Instructcited by 728
9 more
- 2023MetaMath: Bootstrap Your Own Mathematical Questions for Large Language Modelscited by 724
- 2023AGIEval: A Human-Centric Benchmark for Evaluating Foundation Modelscited by 701
- 2019MathQA: Towards Interpretable Math Word Problem Solving with Operation-Based Formalismscited by 653
- 2017Program Induction by Rationale Generation : Learning to Solve and Explain Algebraic Word Problemscited by 642
- 2023MAmmoTH: Building Math Generalist Models through Hybrid Instruction Tuningcited by 483
- 2019Analysing Mathematical Reasoning Abilities of Neural Modelscited by 331
- 2021A Diverse Corpus for Evaluating and Developing English Math Word Problem Solverscited by 314
- 2019Deep Learning for Symbolic Mathematicscited by 266
- 2022Making Large Language Models Better Reasoners with Step-Aware Verifiercited by 231
Built on by
Citing papers per year: 2024: 3; 2025: 8; 2026: 4.
15 papers.
Sort:
By area:
- 2024OpenMathInstruct-2: Accelerating AI for Math with Massive Open-Source Instruction Datacited by 194
- 2025AIMO-2 Winning Solution: Building State-of-the-Art Mathematical Reasoning Models with OpenMathReasoning datasetcited by 165
- 2025FineVision: Open Data Is All You Needcited by 51
- 2025Infinity Instruct: Scaling Instruction Selection and Synthesis to Enhance Language Modelscited by 49
- 2026LocateAnything: Fast and High-Quality Vision-Language Grounding with Parallel Box Decodingcited by 20
- 2025DeepDistill: Enhancing LLM Reasoning Capabilities via Large-Scale Difficulty-Graded Data Trainingcited by 17
- 2025LocateAnything3D: Vision-Language 3D Detection with Chain-of-Sightcited by 8
- 2026Do Instruction-Tuned Models Always Perform Better Than Base Models? Evidence from Math and Domain-Shifted Benchmarkscited by 4
- 2024CoinMath: Harnessing the Power of Coding Instruction for Math LLMscited by 2
- 2024Transferable Post-training via Inverse Value Learningcited by 1
- 2025MAMUT: A Novel Framework for Modifying Mathematical Formulas for the Generation of Specialized Datasets for Language Model Trainingcited by 1
- 2025Exploring the Potential of Offline RL for Reasoning in LLMs: A Preliminary Studycited by 1
- 2026LocateAnything: Fast and High-Quality Vision-Language Grounding with Parallel Box Decoding26 May 2026
- 2026Xuanwu: Evolving General Multimodal Models into an Industrial-Grade Foundation for Content Ecosystems31 Mar 2026
- 2026Do Instruction-Tuned Models Always Perform Better Than Base Models? Evidence from Math and Domain-Shifted Benchmarks19 Jan 2026
- 2026SongSage: A Large Musical Language Model with Lyric Generative Pre-training3 Jan 2026
- 2025LocateAnything3D: Vision-Language 3D Detection with Chain-of-Sight25 Nov 2025
- 2025The PLLuM Instruction Corpus21 Nov 2025
- 2025FineVision: Open Data Is All You Need20 Oct 2025
- 2025Infinity Instruct: Scaling Instruction Selection and Synthesis to Enhance Language Models9 Jun 2025
- 2025Exploring the Potential of Offline RL for Reasoning in LLMs: A Preliminary Study4 May 2025
- 2025DeepDistill: Enhancing LLM Reasoning Capabilities via Large-Scale Difficulty-Graded Data Training24 Apr 2025
- 2025AIMO-2 Winning Solution: Building State-of-the-Art Mathematical Reasoning Models with OpenMathReasoning dataset23 Apr 2025
- 2025MAMUT: A Novel Framework for Modifying Mathematical Formulas for the Generation of Specialized Datasets for Language Model Training28 Feb 2025
- 2024OpenMathInstruct-2: Accelerating AI for Math with Massive Open-Source Instruction Datacited by 194
- 2025AIMO-2 Winning Solution: Building State-of-the-Art Mathematical Reasoning Models with OpenMathReasoning datasetcited by 165
- 2025DeepDistill: Enhancing LLM Reasoning Capabilities via Large-Scale Difficulty-Graded Data Trainingcited by 17
- 2025Exploring the Potential of Offline RL for Reasoning in LLMs: A Preliminary Studycited by 1
- 2025Exploring the Potential of Offline RL for Reasoning in LLMs: A Preliminary Study4 May 2025
- 2025DeepDistill: Enhancing LLM Reasoning Capabilities via Large-Scale Difficulty-Graded Data Training24 Apr 2025
- 2025AIMO-2 Winning Solution: Building State-of-the-Art Mathematical Reasoning Models with OpenMathReasoning dataset23 Apr 2025
- 2024OpenMathInstruct-2: Accelerating AI for Math with Massive Open-Source Instruction Data2 Oct 2024
- 2025Infinity Instruct: Scaling Instruction Selection and Synthesis to Enhance Language Modelscited by 49
- 2025LocateAnything3D: Vision-Language 3D Detection with Chain-of-Sightcited by 8
- 2026Do Instruction-Tuned Models Always Perform Better Than Base Models? Evidence from Math and Domain-Shifted Benchmarkscited by 4
- 2024CoinMath: Harnessing the Power of Coding Instruction for Math LLMscited by 2
- 2024Transferable Post-training via Inverse Value Learningcited by 1
- 2025MAMUT: A Novel Framework for Modifying Mathematical Formulas for the Generation of Specialized Datasets for Language Model Trainingcited by 1
- 2025The PLLuM Instruction Corpuscited by 1
- 2026SongSage: A Large Musical Language Model with Lyric Generative Pre-trainingcited by 0
- 2026Xuanwu: Evolving General Multimodal Models into an Industrial-Grade Foundation for Content Ecosystemscited by 0
- 2026Xuanwu: Evolving General Multimodal Models into an Industrial-Grade Foundation for Content Ecosystems31 Mar 2026
- 2026Do Instruction-Tuned Models Always Perform Better Than Base Models? Evidence from Math and Domain-Shifted Benchmarks19 Jan 2026
- 2026SongSage: A Large Musical Language Model with Lyric Generative Pre-training3 Jan 2026
- 2025LocateAnything3D: Vision-Language 3D Detection with Chain-of-Sight25 Nov 2025
- 2025The PLLuM Instruction Corpus21 Nov 2025
- 2025Infinity Instruct: Scaling Instruction Selection and Synthesis to Enhance Language Models9 Jun 2025
- 2025MAMUT: A Novel Framework for Modifying Mathematical Formulas for the Generation of Specialized Datasets for Language Model Training28 Feb 2025
- 2024CoinMath: Harnessing the Power of Coding Instruction for Math LLMs16 Dec 2024
- 2024Transferable Post-training via Inverse Value Learning28 Oct 2024
Similar, not cited
Close in wording, no citation either way
- 2024Dual Instruction Tuning with Large Language Models for Mathematical Reasoning
- 2024System-2 Mathematical Reasoning via Enriched Instruction Tuning
- 2024MathScale: Scaling Instruction Tuning for Mathematical Reasoning
- 2024MAmmoTH2: Scaling Instructions from the Web
- 2024Skywork-Math: Data Scaling Laws for Mathematical Reasoning in Large Language Models -- The Story Goes On
- 2026ISA-Bench: A Benchmark for Computational Reasoning Across Instruction Set Architectures
- 2024Scheherazade: Evaluating Chain-of-Thought Math Reasoning in LLMs with Chain-of-Problems
- 2024ConceptMath: A Bilingual Concept-wise Benchmark for Measuring Mathematical Reasoning of Large Language Models