DART-Math:面向数学问题求解的难度感知拒绝微调
DART-Math: Difficulty-Aware Rejection Tuning for Mathematical Problem-Solving
AI总结:
提出难度感知拒绝微调方法DART,通过为困难查询分配更多合成试验构建小规模数据集,仅用7B开放权重模型合成数据,微调出的DART-MATH在6个数学基准上表现优于或可比以往方法,提供了高效低成本的公开资源。
摘要:
解决数学问题需要高级推理能力,对大型语言模型提出了显著挑战。以往工作通常从专有模型合成数据以扩充现有数据集,随后进行指令微调以获得顶尖结果。然而,我们对这些数据集的分析揭示了对简单查询的严重偏向,在为最具挑战性的查询生成任何正确响应时频繁失败。假设困难查询对学习复杂推理至关重要,我们提出了难度感知拒绝微调(DART),该方法在合成阶段为困难查询分配更多试验,从而在困难样本上实现更广泛的训练。利用DART,我们创建了专注于困难查询且规模远小于以往数据集的数学问题求解新数据集。值得注意的是,我们的合成过程仅依赖一个7B大小的开放权重模型,不依赖常用的专有GPT-4。我们在数据集上微调了从7B到70B大小的各种基础模型,得到一系列名为DART-MATH的强大模型。在6个数学基准的全面域内和域外评估中,DART-MATH显著优于普通拒绝微调,尽管使用更小数据集且无专有模型,仍优于或可比以往最佳成果。此外,我们的结果将合成数据集定位为推进数学问题求解最有效且最具成本效益的公开资源。
英文摘要:
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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。