DotaMath: Decomposition of Thought with Code Assistance and Self-correction for Mathematical Reasoning
On the map: LLM reasoning → Mathematical reasoning
Abstract (arXiv)
Large language models (LLMs) have made impressive progress in handling simple math problems, yet they still struggle with more challenging and complex mathematical tasks. In this paper, we introduce a series of LLMs that employs the Decomposition of thought with code assistance and self-correction for mathematical reasoning, dubbed as DotaMath. DotaMath models tackle complex mathematical tasks by decomposing them into simpler logical subtasks, leveraging code to solve these subtasks, obtaining fine-grained feedback from the code interpreter, and engaging in self-reflection and correction. By annotating diverse interactive tool-use trajectories and employing query evolution on GSM8K and MATH datasets, we generate an instruction fine-tuning dataset called DotaMathQA with 574K query-response pairs. We train a series of base LLMs using imitation learning on DotaMathQA, resulting in DotaMath models that achieve remarkable performance compared to open-source LLMs across various in-domain and out-of-domain benchmarks. Notably, DotaMath-deepseek-7B showcases an outstanding performance of 64.8% on the competitive MATH dataset and 86.7% on GSM8K. Besides, DotaMath-deepseek-7B maintains strong competitiveness on a series of in-domain and out-of-domain benchmarks (Avg. 80.1%). Looking forward, we anticipate that the DotaMath paradigm will open new pathways for addressing intricate mathematical problems. Our code is publicly available at https://github.com/ChengpengLi1003/DotaMath.
Key facts. Cited by 19 papers in the map (data through 7 Oct 2026). Placed in Mathematical reasoning, one of 17 directions in LLM reasoning. Builds on 27 of its 59 references that are in the map. First posted on arXiv 4 Jul 2024.
Builds on
27 of 59 references.
Closest ancestors · 5
Same direction, newest first
- 2024Key-Point-Driven Data Synthesis with its Enhancement on Mathematical Reasoning4 Mar
- 2023Llemma: An Open Language Model For Mathematics16 Oct
- 2023MuggleMath: Assessing the Impact of Query and Response Augmentation on Math Reasoning9 Oct
- 2023WizardMath: Empowering Mathematical Reasoning for Large Language Models via Reinforced Evol-Instruct18 Aug
- 2023Scaling Relationship on Learning Mathematical Reasoning with Large Language Models3 Aug
Other references · 22
- 2023GPT-4 Technical Reportcited by 18,132
- 2022Training language models to follow instructions with human feedbackcited by 15,712
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
- 2021Training Verifiers to Solve Math Word Problemscited by 9,743
- 2021Evaluating Large Language Models Trained on Codecited by 8,053
- 2023Let's Verify Step by Stepcited by 3,598
- 2023Qwen Technical Reportcited by 3,273
- 2024Mixtral of Expertscited by 1,785
- 2023PaLM 2 Technical Reportcited by 1,154
- 2023Teaching Large Language Models to Self-Debugcited by 963
- 2023The Flan Collection: Designing Data and Methods for Effective Instruction Tuningcited by 734
10 more
- 2023WizardCoder: Empowering Code Large Language Models with Evol-Instructcited by 728
- 2023MetaMath: Bootstrap Your Own Mathematical Questions for Large Language Modelscited by 724
- 2023MAmmoTH: Building Math Generalist Models through Hybrid Instruction Tuningcited by 483
- 2023Is ChatGPT Good at Search? Investigating Large Language Models as Re-Ranking Agentscited by 356
- 2024We-Math: Does Your Large Multimodal Model Achieve Human-like Mathematical Reasoning?cited by 281
- 2024MAmmoTH2: Scaling Instructions from the Webcited by 143
- 2024Self-play with Execution Feedback: Improving Instruction-following Capabilities of Large Language Modelscited by 73
- 2023Making Language Models Better Tool Learners with Execution Feedbackcited by 69
- 2024SciInstruct: a Self-Reflective Instruction Annotated Dataset for Training Scientific Language Modelscited by 38
- 2024CS-Bench: A Comprehensive Benchmark for Large Language Models towards Computer Science Masterycited by 30
Built on by
Citing papers per year: 2024: 4; 2025: 11; 2026: 4.
19 papers.
Sort:
By area:
- 2024Qwen2.5-Math Technical Report: Toward Mathematical Expert Model via Self-Improvementcited by 1,057
- 2025Towards Large Reasoning Models: A Survey of Reinforced Reasoning with Large Language Modelscited by 291
- 2025Agentic Reinforced Policy Optimizationcited by 166
- 2024A Survey of Mathematical Reasoning in the Era of Multimodal Large Language Model: Benchmark, Method & Challengescited by 55
- 2025Solver-Informed RL: Grounding Large Language Models for Authentic Optimization Modelingcited by 44
- 2025Agentic Entropy-Balanced Policy Optimizationcited by 39
- 2025TIGeR: Tool-Integrated Geometric Reasoning in Vision-Language Models for Roboticscited by 27
- 2025LEMMA: Learning from Errors for MatheMatical Advancement in LLMscited by 20
- 2024S^3cMath: Spontaneous Step-level Self-correction Makes Large Language Models Better Mathematical Reasonerscited by 17
- 2025Toward Effective Tool-Integrated Reasoning via Self-Evolved Preference Learningcited by 17
- 2025Scaling Code-Assisted Chain-of-Thoughts and Instructions for Model Reasoningcited by 10
- 2024Toward General Instruction-Following Alignment for Retrieval-Augmented Generationcited by 9
7 more
- 2025Evaluating Mathematical Reasoning Across Large Language Models: A Fine-Grained Approachcited by 8
- 2025A Short Survey on Small Reasoning Models: Training, Inference, Applications and Research Directionscited by 4
- 2026ET-Agent: Incentivizing Effective Tool-Integrated Reasoning Agent via Behavior Calibrationcited by 4
- 2026PruneTIR: Inference-Time Tool Call Pruning for Effective yet Efficient Tool-Integrated Reasoningcited by 2
- 2025Parrot: A Training Pipeline Enhances Both Program CoT and Natural Language CoT for Reasoningcited by 0
- 2026Bidirectional Curriculum Generation: A Multi-Agent Framework for Data-Efficient Mathematical Reasoningcited by 0
- 2026SelfDR: Self-Distillation from Reasoning for LLM-Based Recommendationcited by 0
- 2026SelfDR: Self-Distillation from Reasoning for LLM-Based Recommendation3 Sep 2026
- 2026PruneTIR: Inference-Time Tool Call Pruning for Effective yet Efficient Tool-Integrated Reasoning11 May 2026
- 2026Bidirectional Curriculum Generation: A Multi-Agent Framework for Data-Efficient Mathematical Reasoning5 Mar 2026
- 2026ET-Agent: Incentivizing Effective Tool-Integrated Reasoning Agent via Behavior Calibration11 Jan 2026
- 2025Parrot: A Training Pipeline Enhances Both Program CoT and Natural Language CoT for Reasoning29 Oct 2025
- 2025Agentic Entropy-Balanced Policy Optimization16 Oct 2025
- 2025TIGeR: Tool-Integrated Geometric Reasoning in Vision-Language Models for Robotics8 Oct 2025
- 2025Scaling Code-Assisted Chain-of-Thoughts and Instructions for Model Reasoning5 Oct 2025
- 2025Toward Effective Tool-Integrated Reasoning via Self-Evolved Preference Learning27 Sep 2025
- 2025Agentic Reinforced Policy Optimization26 Jul 2025
- 2025Solver-Informed RL: Grounding Large Language Models for Authentic Optimization Modeling17 May 2025
- 2025A Short Survey on Small Reasoning Models: Training, Inference, Applications and Research Directions12 Apr 2025
7 more
- 2025LEMMA: Learning from Errors for MatheMatical Advancement in LLMs21 Mar 2025
- 2025Evaluating Mathematical Reasoning Across Large Language Models: A Fine-Grained Approach13 Mar 2025
- 2025Towards Large Reasoning Models: A Survey of Reinforced Reasoning with Large Language Models16 Jan 2025
- 2024A Survey of Mathematical Reasoning in the Era of Multimodal Large Language Model: Benchmark, Method & Challenges16 Dec 2024
- 2024Toward General Instruction-Following Alignment for Retrieval-Augmented Generation12 Oct 2024
- 2024Qwen2.5-Math Technical Report: Toward Mathematical Expert Model via Self-Improvement18 Sep 2024
- 2024S^3cMath: Spontaneous Step-level Self-correction Makes Large Language Models Better Mathematical Reasoners3 Sep 2024
- 2025Agentic Reinforced Policy Optimizationcited by 166
- 2024A Survey of Mathematical Reasoning in the Era of Multimodal Large Language Model: Benchmark, Method & Challengescited by 55
- 2025TIGeR: Tool-Integrated Geometric Reasoning in Vision-Language Models for Roboticscited by 27
- 2025LEMMA: Learning from Errors for MatheMatical Advancement in LLMscited by 20
- 2024S^3cMath: Spontaneous Step-level Self-correction Makes Large Language Models Better Mathematical Reasonerscited by 17
- 2025Toward Effective Tool-Integrated Reasoning via Self-Evolved Preference Learningcited by 17
- 2025Scaling Code-Assisted Chain-of-Thoughts and Instructions for Model Reasoningcited by 10
- 2025Evaluating Mathematical Reasoning Across Large Language Models: A Fine-Grained Approachcited by 8
- 2025A Short Survey on Small Reasoning Models: Training, Inference, Applications and Research Directionscited by 4
- 2026ET-Agent: Incentivizing Effective Tool-Integrated Reasoning Agent via Behavior Calibrationcited by 4
- 2026PruneTIR: Inference-Time Tool Call Pruning for Effective yet Efficient Tool-Integrated Reasoningcited by 2
- 2025Parrot: A Training Pipeline Enhances Both Program CoT and Natural Language CoT for Reasoningcited by 0
12 most cited of 14 All 14 (JSON)
- 2026SelfDR: Self-Distillation from Reasoning for LLM-Based Recommendation3 Sep 2026
- 2026PruneTIR: Inference-Time Tool Call Pruning for Effective yet Efficient Tool-Integrated Reasoning11 May 2026
- 2026Bidirectional Curriculum Generation: A Multi-Agent Framework for Data-Efficient Mathematical Reasoning5 Mar 2026
- 2026ET-Agent: Incentivizing Effective Tool-Integrated Reasoning Agent via Behavior Calibration11 Jan 2026
- 2025Parrot: A Training Pipeline Enhances Both Program CoT and Natural Language CoT for Reasoning29 Oct 2025
- 2025TIGeR: Tool-Integrated Geometric Reasoning in Vision-Language Models for Robotics8 Oct 2025
- 2025Scaling Code-Assisted Chain-of-Thoughts and Instructions for Model Reasoning5 Oct 2025
- 2025Toward Effective Tool-Integrated Reasoning via Self-Evolved Preference Learning27 Sep 2025
- 2025Agentic Reinforced Policy Optimization26 Jul 2025
- 2025A Short Survey on Small Reasoning Models: Training, Inference, Applications and Research Directions12 Apr 2025
- 2025LEMMA: Learning from Errors for MatheMatical Advancement in LLMs21 Mar 2025
- 2025Evaluating Mathematical Reasoning Across Large Language Models: A Fine-Grained Approach13 Mar 2025
12 newest of 14 All 14 (JSON)
- 2025Agentic Entropy-Balanced Policy Optimizationcited by 39
- 2025Agentic Entropy-Balanced Policy Optimization16 Oct 2025
Similar, not cited
Close in wording, no citation either way
- 2023MathCoder: Seamless Code Integration in LLMs for Enhanced Mathematical Reasoning
- 2024MATHSENSEI: A Tool-Augmented Large Language Model for Mathematical Reasoning
- 2024MindStar: Enhancing Math Reasoning in Pre-trained LLMs at Inference Time
- 2025Do LLMs Overthink Basic Math Reasoning? Benchmarking the Accuracy-Efficiency Tradeoff in Language Models
- 2023VerityMath: Advancing Mathematical Reasoning by Self-Verification Through Unit Consistency
- 2024PARAMANU-GANITA: Can Small Math Language Models Rival with Large Language Models on Mathematical Reasoning?
- 2024SIaM: Self-Improving Code-Assisted Mathematical Reasoning of Large Language Models
- 2024ChatGLM-Math: Improving Math Problem-Solving in Large Language Models with a Self-Critique Pipeline