DotaMath: Decomposition of Thought with Code Assistance and Self-correction for Mathematical Reasoning
Chengpeng Li, Guanting Dong, Mingfeng Xue, Ru Peng, Xiang Wang,, Dayiheng Liu

TL;DR
DotaMath introduces a decomposition-based approach with code assistance and self-correction for complex mathematical reasoning in large language models, significantly improving performance on challenging benchmarks.
Contribution
The paper presents DotaMath, a novel framework that decomposes complex math problems, uses code for solutions, and incorporates self-correction, along with a large fine-tuning dataset and competitive results.
Findings
DotaMath models achieve 64.8% on MATH dataset.
DotaMath models reach 86.7% on GSM8K.
The approach outperforms open-source LLMs on various benchmarks.
Abstract
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…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsMathematics Education and Teaching Techniques · Intelligent Tutoring Systems and Adaptive Learning
MethodsBalanced Selection
