{"url":"/method/dart","slug":"dart","name":"DART","full_name":null,"full_name_withheld":false,"description_markdown":"# 🎯 DART-Math\r\n\r\n> Difficulty-Aware Rejection Tuning for Mathematical Problem-Solving\r\n\r\n📝 [Paper@arXiv](https://arxiv.org/abs/2407.13690) | 🤗 [Datasets&Models@HF](https://huggingface.co/collections/hkust-nlp/dart-math-665704599b35de59f8fdf6c1) | 🐱 [Code@GitHub](https://github.com/hkust-nlp/dart-math)\r\n\r\n🐦 [Thread@X(Twitter)](https://x.com/tongyx361/status/1811413243350454455) | 🐶 [中文博客@知乎](https://zhuanlan.zhihu.com/p/708371895) | 📊 [Leaderboard@PapersWithCode](https://paperswithcode.com/paper/dart-math-difficulty-aware-rejection-tuning#results) | 📑 [BibTeX](https://github.com/hkust-nlp/dart-math?tab=readme-ov-file#citation)\r\n\r\n## Datasets: `DART-Math`\r\n\r\n`DART-Math` datasets are the **state-of-the-art** and **data-efficient** **open-source** instruction tuning datasets for mathematical reasoning.\r\n\r\n`DART-Math-Hard` contains \\~585k mathematical QA pair samples constructed by applying `DARS-Prop2Diff` to the query set from MATH and GSK8K training sets, achieves **SOTA** on many challenging mathematical reasoning benchmarks. It introduces a **deliberate bias towards hard queries**, opposite to vanilla rejection sampling.\r\n\r\nPerformance produced by  `DART-Math-Hard` is usually but not necessarily **slightly better (\\~1% absolutely)** than `DART-Math-Uniform`, which contains \\~591k samples constructed by applying `DARS-Uniform`.\r\n\r\n### Comparison between Mathematical Instruction Tuning Datasets\r\n\r\nMost of previous datasets are **constructed with ChatGPT**, and many of them are **not open-source**, especially for ones of the best performance.\r\n\r\n| Math SFT Dataset                                                                   | # of Samples | [MATH](https://huggingface.co/datasets/hendrycks/competition_math) | [GSM8K](https://huggingface.co/datasets/gsm8k) | [College](https://github.com/hkust-nlp/dart-math/tree/main/data/eval-dsets/mwpbench/college-math-test.jsonl) | Synthesis Agent(s)      |                                 Open-Source                                 |\r\n| :--------------------------------------------------------------------------------- | -----------: | -----------------------------------------------------------------: | ---------------------------------------------: | -----------------------------------------------------------------------------------------------------------: | :---------------------- | :-------------------------------------------------------------------------: |\r\n| [WizardMath](https://arxiv.org/abs/2308.09583)                                     |          96k |                                                               32.3 |                                           80.4 |                                                                                                         23.1 | GPT-4                   |                                      ✗                                      |\r\n| [MetaMathQA](https://arxiv.org/abs/2309.12284)                                     |         395k |                                                               29.8 |                                           76.5 |                                                                                                         19.3 | GPT-3.5                 |          [✓](https://huggingface.co/datasets/meta-math/MetaMathQA)          |\r\n| [MMIQC](https://arxiv.org/abs/2401.09003)                                          |    **2294k** |                                                               37.4 |                                           75.4 |                                                                                                       _28.5_ | **GPT-4+GPT-3.5+Human** |           [**✓**](https://huggingface.co/datasets/Vivacem/MMIQC)            |\r\n| [Orca-Math](https://arxiv.org/abs/2402.14830)                                      |         200k |                                                                 -- |                                             -- |                                                                                                           -- | GPT-4                   | [✓](https://huggingface.co/datasets/microsoft/orca-math-word-problems-200k) |\r\n| [Xwin-Math-V1.1](https://arxiv.org/abs/2403.04706)                                 |    **1440k** |                                                             _45.5_ |                                       **84.9** |                                                                                                         27.6 | **GPT-4**               |                                    **✗**                                    |\r\n| [KPMath-Plus](https://arxiv.org/abs/2403.02333)                                    |    **1576k** |                                                           **46.8** |                                           82.1 |                                                                                                           -– | **GPT-4**               |                                    **✗**                                    |\r\n| [MathScaleQA](https://arxiv.org/abs/2403.02884)                                    |        2021k |                                                               35.2 |                                           74.8 |                                                                                                         21.8 | GPT-3.5+Human           |                                      ✗                                      |\r\n| [`DART-Math-Uniform`](https://huggingface.co/datasets/hkust-nlp/dart-math-uniform) |     **591k** |                                                               43.5 |                                         _82.6_ |                                                                                                         26.9 | **DeepSeekMath-7B-RL**  |    [**✓**](https://huggingface.co/datasets/hkust-nlp/dart-math-uniform)     |\r\n| [`DART-Math-Hard`](https://huggingface.co/datasets/hkust-nlp/dart-math-hard)       |     **585k** |                                                             _45.5_ |                                           81.1 |                                                                                                     **29.4** | **DeepSeekMath-7B-RL**  |      [**✓**](https://huggingface.co/datasets/hkust-nlp/dart-math-hard)      |\r\n\r\n<sup>MATH and GSM8K are **in-domain**, while College(Math) is **out-of-domain**. Performance here are of models fine-tuned from [Mistral-7B](https://huggingface.co/mistralai/Mistral-7B-v0.1), except for Xwin-Math-V1.1 based on [Llama2-7B](https://huggingface.co/meta-llama/Llama-2-7b-hf). **Bold**/_Italic_ means the best/second best score here.</sup>\r\n\r\n## Dataset Construction: `DARS` - Difficulty-Aware Rejection Sampling\r\n\r\nPrevious works usually synthesize data from proprietary models to augment existing datasets, followed by instruction tuning to achieve top-tier results.\r\nHowever, our analysis of these datasets reveals **severe biases towards easy queries, with frequent failures to generate any correct response for the most challenging queries**.\r\n\r\nMotivated by the observation above, we propose to *Difficulty-Aware Rejection Sampling* (`DARS`), to collect more responses for more difficult queries.\r\nSpecifically, we introduce two strategies to increase the number of correct responses for difficult queries:\r\n\r\n1) **Uniform**, which involves sampling responses for each query until **each query accumulates $k_u$ correct\r\nresponses**, where $k_u$ is a preset hyperparameter determined by the desired size of the synthetic dataset;\r\n2) **Prop2Diff**, where we continue sampling responses until the number of correct responses for each\r\nquery is **proportional to its difficulty score**. The most challenging queries will receive $k_p$ responses\r\nand kp is a hyperparameter. This method introduces a deliberate bias in the opposite direction to\r\nvanilla rejection sampling, towards more difficult queries, inspired by previous works\r\nthat demonstrate **difficult samples can be more effective to enhance model capabilities** ([Sorscher et al.,\r\n2022](https://proceedings.neurips.cc/paper_files/paper/2022/hash/7b75da9b61eda40fa35453ee5d077df6-Abstract-Conference.html); [Liu et al., 2024b](https://openreview.net/forum?id=BTKAeLqLMw)).\r\n\r\nSee [Figure 1 (Right)](https://tongyx361.github.io/assets/dart-math/main-nresp-vs-query.png) for examples of `DART-Math-Uniform` by `DARS-Uniform` and `DART-Math-Hard` by `DARS-Prop2Diff`.\r\n\r\n## Citation\r\n\r\nIf you find our data, model or code useful for your work, please kindly cite [our paper](https://arxiv.org/abs/2407.13690):\r\n\r\n```latex\r\n@article{tong2024dartmath,\r\n  title={DART-Math: Difficulty-Aware Rejection Tuning for Mathematical Problem-Solving},\r\n  author={Yuxuan Tong and Xiwen Zhang and Rui Wang and Ruidong Wu and Junxian He},\r\n  year={2024},\r\n  eprint={2407.13690},\r\n  archivePrefix={arXiv},\r\n  primaryClass={cs.CL},\r\n  url={https://arxiv.org/abs/2407.13690},\r\n}\r\n```","description_state":"present","introduced_year":null,"introduced_by":{"title":null,"paper":null,"first_author":null,"n_authors":0,"url_abs":null,"archive_paper_url":null},"source":{"url":null,"title":null,"url_on_a_paper_host":false},"code_snippet_url":"https://github.com/hkust-nlp/dart-math?tab=readme-ov-file#-data-synthesis","code_snippet_url_on_a_code_host":true,"categories":[{"area":"Natural Language Processing","area_id":"natural-language-processing","collection":"Text Data Augmentation","url":"/methods/category/text-data-augmentation","pwc_aliases":[]}],"n_papers_tagged":32,"archive_num_papers":32,"papers_newest_first":[{"paper":null,"title":"DART: Distilling Autoregressive Reasoning to Silent Thought","date":"2025-06-13","arxiv_id":"2506.11752","n_code_links":0,"syntology":null},{"paper":"/paper/dart-differentiable-dynamic-adaptive-region","title":"DART: Differentiable Dynamic Adaptive Region Tokenizer for Vision Transformer and Mamba","date":"2025-06-12","arxiv_id":"2506.10390","n_code_links":1,"syntology":null},{"paper":null,"title":"TablePilot: Recommending Human-Preferred Tabular Data Analysis with Large Language Models","date":"2025-03-17","arxiv_id":"2503.13262","n_code_links":0,"syntology":null},{"paper":null,"title":"dARt Vinci: Egocentric Data Collection for Surgical Robot Learning at Scale","date":"2025-03-07","arxiv_id":"2503.05646","n_code_links":0,"syntology":null},{"paper":"/paper/stop-looking-for-important-tokens-in","title":"Stop Looking for Important Tokens in Multimodal Language Models: Duplication Matters More","date":"2025-02-17","arxiv_id":"2502.11494","n_code_links":1,"syntology":{"ran":7,"of":8,"unverified":1,"pointer_only":0}},{"paper":null,"title":"Text-Diffusion Red-Teaming of Large Language Models: Unveiling Harmful Behaviors with Proximity Constraints","date":"2025-01-14","arxiv_id":"2501.08246","n_code_links":0,"syntology":null},{"paper":null,"title":"Iterative Encoding-Decoding VAEs Anomaly Detection in NOAA's DART Time Series: A Machine Learning Approach for Enhancing Data Integrity for NASA's GRACE-FO Verification and Validation","date":"2024-12-20","arxiv_id":"2412.16375","n_code_links":0,"syntology":null},{"paper":null,"title":"From Point to probabilistic gradient boosting for claim frequency and severity prediction","date":"2024-12-19","arxiv_id":"2412.14916","n_code_links":0,"syntology":null},{"paper":null,"title":"DART: An AIGT Detector using AMR of Rephrased Text","date":"2024-12-16","arxiv_id":"2412.11517","n_code_links":0,"syntology":null},{"paper":null,"title":"An Extensive Evaluation of Factual Consistency in Large Language Models for Data-to-Text Generation","date":"2024-11-28","arxiv_id":"2411.19203","n_code_links":0,"syntology":null},{"paper":null,"title":"Label Distribution Shift-Aware Prediction Refinement for Test-Time Adaptation","date":"2024-11-20","arxiv_id":"2411.15204","n_code_links":0,"syntology":null},{"paper":null,"title":"Jal Anveshak: Prediction of fishing zones using fine-tuned LlaMa 2","date":"2024-11-15","arxiv_id":"2411.10050","n_code_links":0,"syntology":null},{"paper":null,"title":"DART: Denoising Autoregressive Transformer for Scalable Text-to-Image Generation","date":"2024-10-10","arxiv_id":"2410.08159","n_code_links":0,"syntology":null},{"paper":null,"title":"DartControl: A Diffusion-Based Autoregressive Motion Model for Real-Time Text-Driven Motion Control","date":"2024-10-07","arxiv_id":"2410.05260","n_code_links":0,"syntology":null},{"paper":null,"title":"DiSK: Differentially Private Optimizer with Simplified Kalman Filter for Noise Reduction","date":"2024-10-04","arxiv_id":"2410.03883","n_code_links":0,"syntology":null},{"paper":null,"title":"Impact of Model Size on Fine-tuned LLM Performance in Data-to-Text Generation: A State-of-the-Art Investigation","date":"2024-07-19","arxiv_id":"2407.14088","n_code_links":0,"syntology":null},{"paper":"/paper/dart-an-automated-end-to-end-object-detection","title":"DART: An Automated End-to-End Object Detection Pipeline with Data Diversification, Open-Vocabulary Bounding Box Annotation, Pseudo-Label Review, and Model Training","date":"2024-07-12","arxiv_id":"2407.09174","n_code_links":1,"syntology":null},{"paper":"/paper/dart-deep-adversarial-automated-red-teaming","title":"Automated Progressive Red Teaming","date":"2024-07-04","arxiv_id":"2407.03876","n_code_links":1,"syntology":null},{"paper":"/paper/dart-math-difficulty-aware-rejection-tuning-1","title":"DART-Math: Difficulty-Aware Rejection Tuning for Mathematical Problem-Solving","date":"2024-06-18","arxiv_id":"2407.13690","n_code_links":1,"syntology":{"ran":10,"of":12,"unverified":2,"pointer_only":0}},{"paper":null,"title":"Learning to Play Atari in a World of Tokens","date":"2024-06-03","arxiv_id":"2406.01361","n_code_links":0,"syntology":null},{"paper":null,"title":"WASH: Train your Ensemble with Communication-Efficient Weight Shuffling, then Average","date":"2024-05-27","arxiv_id":"2405.17517","n_code_links":0,"syntology":null},{"paper":"/paper/control-dag-constrained-decoding-for-non","title":"Control-DAG: Constrained Decoding for Non-Autoregressive Directed Acyclic T5 using Weighted Finite State Automata","date":"2024-04-10","arxiv_id":"2404.06854","n_code_links":1,"syntology":null},{"paper":null,"title":"Empowering Image Recovery_ A Multi-Attention Approach","date":"2024-04-06","arxiv_id":"2404.04617","n_code_links":0,"syntology":null},{"paper":null,"title":"Matrix-Transformation Based Low-Rank Adaptation (MTLoRA): A Brain-Inspired Method for Parameter-Efficient Fine-Tuning","date":"2024-03-12","arxiv_id":"2403.07440","n_code_links":0,"syntology":null},{"paper":null,"title":"Applicability of oculomics for individual risk prediction: Repeatability and robustness of retinal Fractal Dimension using DART and AutoMorph","date":"2024-03-11","arxiv_id":"2403.06950","n_code_links":0,"syntology":null},{"paper":null,"title":"DART: Implicit Doppler Tomography for Radar Novel View Synthesis","date":"2024-03-06","arxiv_id":"2403.03896","n_code_links":0,"syntology":null},{"paper":null,"title":"DART: Depth-Enhanced Accurate and Real-Time Background Matting","date":"2024-02-24","arxiv_id":"2402.15820","n_code_links":0,"syntology":null},{"paper":null,"title":"DART: A Principled Approach to Adversarially Robust Unsupervised Domain Adaptation","date":"2024-02-16","arxiv_id":"2402.11120","n_code_links":0,"syntology":null},{"paper":null,"title":"Gazebo Plants: Simulating Plant-Robot Interaction with Cosserat Rods","date":"2024-02-04","arxiv_id":"2402.02570","n_code_links":0,"syntology":null},{"paper":"/paper/self-training-from-self-memory-in-data-to","title":"Self-training from Self-memory in Data-to-text Generation","date":"2024-01-19","arxiv_id":"2401.10567","n_code_links":1,"syntology":null}],"papers_shown":30,"tasks":[{"task":"/task/text-generation","name":"Text Generation","papers":6},{"task":"/task/data-to-text-generation","name":"Data-to-Text Generation","papers":4},{"task":"/task/image-generation","name":"Image Generation","papers":2},{"task":"/task/large-language-model","name":"Large Language Model","papers":2},{"task":"/task/object-detection","name":"Object Detection","papers":2},{"task":"/task/pseudo-label","name":"Pseudo Label","papers":2},{"task":"/task/red-teaming","name":"Red Teaming","papers":2},{"task":"/task/object-detection-1","name":"object-detection","papers":2},{"task":"/task/active-learning","name":"Active Learning","papers":1},{"task":"/task/adversarial-robustness","name":"Adversarial Robustness","papers":1},{"task":"/task/anomaly-detection","name":"Anomaly Detection","papers":1},{"task":"/task/arithmetic-reasoning","name":"Arithmetic Reasoning","papers":1},{"task":"/task/bayesian-inference","name":"Bayesian Inference","papers":1},{"task":"/task/computational-efficiency","name":"Computational Efficiency","papers":1},{"task":"/task/continual-learning","name":"Continual Learning","papers":1},{"task":"/task/decoder","name":"Decoder","papers":1},{"task":"/task/denoising","name":"Denoising","papers":1},{"task":"/task/domain-adaptation","name":"Domain Adaptation","papers":1},{"task":"/task/edge-computing","name":"Edge-computing","papers":1},{"task":"/task/image-classification","name":"Image Classification","papers":1}],"tasks_shown":20,"n_tasks":55,"usage_by_year":[{"year":"2023","papers":2},{"year":"2024","papers":24},{"year":"2025","papers":6}],"row_source":"methods_table","archive":{"source":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","archive_url":"https://paperswithcode.com/method/dart"},"syntology_read_at":"2026-09-24T18:15:14+00:00"}