MuMath-Code: Combining Tool-Use Large Language Models with Multi-perspective Data Augmentation for Mathematical Reasoning
On the map: LLM reasoning → Mathematical reasoning
also in 1 more
Abstract (arXiv)
The tool-use Large Language Models (LLMs) that integrate with external Python interpreters have significantly enhanced mathematical reasoning capabilities for open-source LLMs, while tool-free methods chose another track: augmenting math reasoning data. However, a great method to integrate the above two research paths and combine their advantages remains to be explored. In this work, we firstly include new math questions via multi-perspective data augmenting methods and then synthesize code-nested solutions to them. The open LLMs (i.e., Llama-2) are finetuned on the augmented dataset to get the resulting models, MuMath-Code (μ-Math-Code). During the inference phase, our MuMath-Code generates code and interacts with the external python interpreter to get the execution results. Therefore, MuMath-Code leverages the advantages of both the external tool and data augmentation. To fully leverage the advantages of our augmented data, we propose a two-stage training strategy: In Stage-1, we finetune Llama-2 on pure CoT data to get an intermediate model, which then is trained on the code-nested data in Stage-2 to get the resulting MuMath-Code. Our MuMath-Code-7B achieves 83.8 on GSM8K and 52.4 on MATH, while MuMath-Code-70B model achieves new state-of-the-art performance among open methods -- achieving 90.7% on GSM8K and 55.1% on MATH. Extensive experiments validate the combination of tool use and data augmentation, as well as our two-stage training strategy. We release the proposed dataset along with the associated code for public use.
Key facts. Cited by 22 papers in the map (data through 14 Oct 2026). Placed in Mathematical reasoning, one of 17 directions in LLM reasoning. Builds on 31 of its 45 references that are in the map. First posted on arXiv 13 May 2024.
Builds on
31 of 45 references.
Closest ancestors · 7
Same direction, newest first
- 2024Common 7B Language Models Already Possess Strong Math Capabilities7 Mar
- 2023MuggleMath: Assessing the Impact of Query and Response Augmentation on Math Reasoning9 Oct
- 2023MathCoder: Seamless Code Integration in LLMs for Enhanced Mathematical Reasoning5 Oct
- 2023ToRA: A Tool-Integrated Reasoning Agent for Mathematical Problem Solving29 Sep
- 2023WizardMath: Empowering Mathematical Reasoning for Large Language Models via Reinforced Evol-Instruct18 Aug
- 2023Forward-Backward Reasoning in Large Language Models for Mathematical Verification15 Aug
- 2023Scaling Relationship on Learning Mathematical Reasoning with Large Language Models3 Aug
Other references · 24
- 2023GPT-4 Technical Reportcited by 18,396
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
- 2021Training Verifiers to Solve Math Word Problemscited by 10,109
- 2021Evaluating Large Language Models Trained on Codecited by 8,320
- 2021Measuring Mathematical Problem Solving With the MATH Datasetcited by 5,371
- 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,326
- 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,899
- 2023Code Llama: Open Foundation Models for Codecited by 2,139
- 2023PaLM 2 Technical Reportcited by 1,162
- 2023WizardLM: Empowering large pre-trained language models to follow complex instructionscited by 1,125
12 more
- 2022Program of Thoughts Prompting: Disentangling Computation from Reasoning for Numerical Reasoning Taskscited by 1,076
- 2023The Flan Collection: Designing Data and Methods for Effective Instruction Tuningcited by 739
- 2023MetaMath: Bootstrap Your Own Mathematical Questions for Large Language Modelscited by 735
- 2023WizardCoder: Empowering Code Large Language Models with Evol-Instructcited by 733
- 2022Large Language Models Can Self-Improvecited by 664
- 2022PAL: Program-aided Language Modelscited by 652
- 2023MAmmoTH: Building Math Generalist Models through Hybrid Instruction Tuningcited by 487
- 2022Large Language Models Are Reasoning Teacherscited by 329
- 2022Teaching Small Language Models to Reasoncited by 284
- 2023Specializing Smaller Language Models towards Multi-Step Reasoningcited by 251
- 2022Explanations from Large Language Models Make Small Reasoners Bettercited by 124
- 2023Chain-of-Thought Hub: A Continuous Effort to Measure Large Language Models' Reasoning Performancecited by 102
Built on by
Citing papers per year: 2024: 4; 2025: 15; 2026: 3.
22 papers.
Sort:
By area:
- 2025A Survey of Context Engineering for Large Language Modelscited by 126
- 2025A Survey of Frontiers in LLM Reasoning: Inference Scaling, Learning to Reason, and Agentic Systemscited by 111
- 2025Towards System 2 Reasoning in LLMs: Learning How to Think With Meta Chain-of-Thoughtcited by 109
- 2024Formal Mathematical Reasoning: A New Frontier in AIcited by 81
- 2025Long-Short Chain-of-Thought Mixture Supervised Fine-Tuning Eliciting Efficient Reasoning in Large Language Modelscited by 39
- 2024ErrorRadar: Benchmarking Complex Mathematical Reasoning of Multimodal Large Language Models Via Error Detectioncited by 37
- 2024Unleashing LLM Reasoning Capability via Scalable Question Synthesis from Scratchcited by 24
- 2025Drag-and-Drop LLMs: Zero-Shot Prompt-to-Weightscited by 20
- 2025Reasoning Beyond Limits: Advances and Open Problems for LLMscited by 16
- 2025Advancing Mathematical Reasoning in Language Models: The Impact of Problem-Solving Data, Data Synthesis Methods, and Training Stagescited by 13
- 2025A Survey on Mathematical Reasoning and Optimization with Large Language Modelscited by 12
- 2024ControlMath: Controllable Data Generation Promotes Math Generalist Modelscited by 9
10 more
- 2025Teaching LLMs According to Their Aptitude: Adaptive Reasoning for Mathematical Problem Solvingcited by 4
- 2025"To Survive, I Must Defect": Jailbreaking LLMs via the Game-Theory Scenarioscited by 3
- 2025Can Large Models Teach Student Models to Solve Mathematical Problems Like Human Beings? A Reasoning Distillation Method via Multi-LoRA Interactioncited by 2
- 2025Can Large Reasoning Models Improve Accuracy on Mathematical Tasks Using Flawed Thinking?cited by 2
- 2025Small Models, Smarter Learning: The Power of Joint Task Trainingcited by 1
- 2025Distilling Tool Knowledge into Language Models via Back-Translated Tracescited by 1
- 2026Think-Augmented Function Calling: Improving LLM Parameter Accuracy Through Embedded Reasoningcited by 1
- 2025Reasoning About Reasoning: Towards Informed and Reflective Use of LLM Reasoning in HCIcited by 0
- 2026Learning to Solve Complex Problems via Dataset Decompositioncited by 0
- 2026When Tokenization is Secretly Output Supervisioncited by 0
- 2026When Tokenization is Secretly Output Supervision1 Sep 2026
- 2026Learning to Solve Complex Problems via Dataset Decomposition23 Feb 2026
- 2026Think-Augmented Function Calling: Improving LLM Parameter Accuracy Through Embedded Reasoning26 Jan 2026
- 2025Can Large Reasoning Models Improve Accuracy on Mathematical Tasks Using Flawed Thinking?18 Dec 2025
- 2025"To Survive, I Must Defect": Jailbreaking LLMs via the Game-Theory Scenarios20 Nov 2025
- 2025Reasoning About Reasoning: Towards Informed and Reflective Use of LLM Reasoning in HCI27 Oct 2025
- 2025Can Large Models Teach Student Models to Solve Mathematical Problems Like Human Beings? A Reasoning Distillation Method via Multi-LoRA Interaction18 Aug 2025
- 2025A Survey of Context Engineering for Large Language Models17 Jul 2025
- 2025Distilling Tool Knowledge into Language Models via Back-Translated Traces23 Jun 2025
- 2025Drag-and-Drop LLMs: Zero-Shot Prompt-to-Weights19 Jun 2025
- 2025Small Models, Smarter Learning: The Power of Joint Task Training23 May 2025
- 2025Long-Short Chain-of-Thought Mixture Supervised Fine-Tuning Eliciting Efficient Reasoning in Large Language Models6 May 2025
10 more
- 2025A Survey of Frontiers in LLM Reasoning: Inference Scaling, Learning to Reason, and Agentic Systems12 Apr 2025
- 2025Reasoning Beyond Limits: Advances and Open Problems for LLMs26 Mar 2025
- 2025A Survey on Mathematical Reasoning and Optimization with Large Language Models22 Mar 2025
- 2025Teaching LLMs According to Their Aptitude: Adaptive Reasoning for Mathematical Problem Solving17 Feb 2025
- 2025Advancing Mathematical Reasoning in Language Models: The Impact of Problem-Solving Data, Data Synthesis Methods, and Training Stages23 Jan 2025
- 2025Towards System 2 Reasoning in LLMs: Learning How to Think With Meta Chain-of-Thought8 Jan 2025
- 2024Formal Mathematical Reasoning: A New Frontier in AI20 Dec 2024
- 2024Unleashing LLM Reasoning Capability via Scalable Question Synthesis from Scratch24 Oct 2024
- 2024ErrorRadar: Benchmarking Complex Mathematical Reasoning of Multimodal Large Language Models Via Error Detection6 Oct 2024
- 2024ControlMath: Controllable Data Generation Promotes Math Generalist Models20 Sep 2024
- 2025A Survey of Frontiers in LLM Reasoning: Inference Scaling, Learning to Reason, and Agentic Systemscited by 111
- 2025Towards System 2 Reasoning in LLMs: Learning How to Think With Meta Chain-of-Thoughtcited by 109
- 2024Formal Mathematical Reasoning: A New Frontier in AIcited by 81
- 2025Long-Short Chain-of-Thought Mixture Supervised Fine-Tuning Eliciting Efficient Reasoning in Large Language Modelscited by 39
- 2024ErrorRadar: Benchmarking Complex Mathematical Reasoning of Multimodal Large Language Models Via Error Detectioncited by 37
- 2024Unleashing LLM Reasoning Capability via Scalable Question Synthesis from Scratchcited by 24
- 2025Reasoning Beyond Limits: Advances and Open Problems for LLMscited by 16
- 2025Advancing Mathematical Reasoning in Language Models: The Impact of Problem-Solving Data, Data Synthesis Methods, and Training Stagescited by 13
- 2025A Survey on Mathematical Reasoning and Optimization with Large Language Modelscited by 12
- 2024ControlMath: Controllable Data Generation Promotes Math Generalist Modelscited by 9
- 2025Teaching LLMs According to Their Aptitude: Adaptive Reasoning for Mathematical Problem Solvingcited by 4
- 2025Can Large Models Teach Student Models to Solve Mathematical Problems Like Human Beings? A Reasoning Distillation Method via Multi-LoRA Interactioncited by 2
12 most cited of 15 All 15 (JSON)
- 2026Think-Augmented Function Calling: Improving LLM Parameter Accuracy Through Embedded Reasoning26 Jan 2026
- 2025Can Large Reasoning Models Improve Accuracy on Mathematical Tasks Using Flawed Thinking?18 Dec 2025
- 2025Reasoning About Reasoning: Towards Informed and Reflective Use of LLM Reasoning in HCI27 Oct 2025
- 2025Can Large Models Teach Student Models to Solve Mathematical Problems Like Human Beings? A Reasoning Distillation Method via Multi-LoRA Interaction18 Aug 2025
- 2025Long-Short Chain-of-Thought Mixture Supervised Fine-Tuning Eliciting Efficient Reasoning in Large Language Models6 May 2025
- 2025A Survey of Frontiers in LLM Reasoning: Inference Scaling, Learning to Reason, and Agentic Systems12 Apr 2025
- 2025Reasoning Beyond Limits: Advances and Open Problems for LLMs26 Mar 2025
- 2025A Survey on Mathematical Reasoning and Optimization with Large Language Models22 Mar 2025
- 2025Teaching LLMs According to Their Aptitude: Adaptive Reasoning for Mathematical Problem Solving17 Feb 2025
- 2025Advancing Mathematical Reasoning in Language Models: The Impact of Problem-Solving Data, Data Synthesis Methods, and Training Stages23 Jan 2025
- 2025Towards System 2 Reasoning in LLMs: Learning How to Think With Meta Chain-of-Thought8 Jan 2025
- 2024Formal Mathematical Reasoning: A New Frontier in AI20 Dec 2024
12 newest of 15 All 15 (JSON)
- 2025A Survey of Context Engineering for Large Language Modelscited by 126
- 2025Drag-and-Drop LLMs: Zero-Shot Prompt-to-Weightscited by 20
- 2025Small Models, Smarter Learning: The Power of Joint Task Trainingcited by 1
- 2025Distilling Tool Knowledge into Language Models via Back-Translated Tracescited by 1
- 2026Learning to Solve Complex Problems via Dataset Decompositioncited by 0
- 2026When Tokenization is Secretly Output Supervisioncited by 0
- 2026When Tokenization is Secretly Output Supervision1 Sep 2026
- 2026Learning to Solve Complex Problems via Dataset Decomposition23 Feb 2026
- 2025A Survey of Context Engineering for Large Language Models17 Jul 2025
- 2025Distilling Tool Knowledge into Language Models via Back-Translated Traces23 Jun 2025
- 2025Drag-and-Drop LLMs: Zero-Shot Prompt-to-Weights19 Jun 2025
- 2025Small Models, Smarter Learning: The Power of Joint Task Training23 May 2025
Similar, not cited
Close in wording, no citation either way
- 2024MARIO: MAth Reasoning with code Interpreter Output -- A Reproducible Pipeline
- 2025A Toolbox, Not a Hammer -- Multi-TAG: Scaling Math Reasoning with Multi-Tool Aggregation
- 2024MATHSENSEI: A Tool-Augmented Large Language Model for Mathematical Reasoning
- 2024MindStar: Enhancing Math Reasoning in Pre-trained LLMs at Inference Time
- 2024SIaM: Self-Improving Code-Assisted Mathematical Reasoning of Large Language Models
- 2024DotaMath: Decomposition of Thought with Code Assistance and Self-correction for Mathematical Reasoning
- 2025MegaMath: Pushing the Limits of Open Math Corpora
- 2025Do LLMs Overthink Basic Math Reasoning? Benchmarking the Accuracy-Efficiency Tradeoff in Language Models