Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

DART-Math: Difficulty-Aware Rejection Tuning for Mathematical Problem-Solving

About

Solving mathematical problems requires advanced reasoning abilities and presents notable challenges for large language models. Previous works usually synthesize data from proprietary models to augment existing datasets, followed by instruction tuning to achieve top-tier results. However, our analysis of these datasets reveals severe biases towards easy queries, with frequent failures to generate any correct response for the most challenging queries. Hypothesizing that difficult queries are crucial to learn complex reasoning, we propose Difficulty-Aware Rejection Tuning (DART), a method that allocates difficult queries more trials during the synthesis phase, enabling more extensive training on difficult samples. Utilizing DART, we have created new datasets for mathematical problem-solving that focus more on difficult queries and are substantially smaller than previous ones. Remarkably, our synthesis process solely relies on a 7B-sized open-weight model, without reliance on the commonly used proprietary GPT-4. We fine-tune various base models on our datasets ranging from 7B to 70B in size, resulting in a series of strong models called DART-MATH. In comprehensive in-domain and out-of-domain evaluation on 6 mathematical benchmarks, DART-MATH outperforms vanilla rejection tuning significantly, being superior or comparable to previous arts, despite using much smaller datasets and no proprietary models. Furthermore, our results position our synthetic datasets as the most effective and cost-efficient publicly available resources for advancing mathematical problem-solving.

Yuxuan Tong, Xiwen Zhang, Rui Wang, Ruidong Wu, Junxian He• 2024

Related benchmarks

TaskDatasetResultRank
Mathematical ReasoningGSM8K
Accuracy86.8
1362
Mathematical ReasoningMATH
Accuracy58.8
882
Mathematical ReasoningGSM8K (test)
Accuracy90.4
770
Mathematical ReasoningMATH500 (test)
Accuracy50
514
Mathematical ReasoningMATH (test)
Overall Accuracy56.1
433
Mathematical ReasoningCollegeMATH
Accuracy45.4
276
Mathematical Problem SolvingMATH
Accuracy53.6
229
Mathematical Multimodal ReasoningMathVerse
Accuracy45.3
221
Multimodal Math ReasoningMathVision
Accuracy27.8
183
Multimodal Math ReasoningWeMath
Accuracy38.6
168
Showing 10 of 44 rows

Other info

Code

Follow for update