CLApr 1, 2024

Exploring the Mystery of Influential Data for Mathematical Reasoning

Tsinghua
arXiv:2404.01067v214 citationsh-index: 17Has Code
Originality Incremental advance
AI Analysis

This work addresses data selection for mathematical reasoning, a domain-specific problem, with incremental improvements in method and benchmark performance.

The paper tackles the problem of selecting influential data for fine-tuning on mathematical reasoning tasks, proposing a Quality-aware Diverse Selection (QaDS) strategy and an optimal mixture called OpenMathMix, achieving a state-of-the-art 48.8% accuracy on the MATH benchmark with a 7B base model.

Selecting influential data for fine-tuning on downstream tasks is a key factor for both performance and computation efficiency. Recent works have shown that training with only limited data can show a superior performance on general tasks. However, the feasibility on mathematical reasoning tasks has not been validated. To go further, there exist two open questions for mathematical reasoning: how to select influential data and what is an influential data composition. For the former one, we propose a Quality-aware Diverse Selection (QaDS) strategy adaptable for mathematical reasoning. A comparison with other selection strategies validates the superiority of QaDS. For the latter one, we first enlarge our setting and explore the influential data composition. We conduct a series of experiments and highlight: scaling up reasoning data, and training with general data selected by QaDS is helpful. Then, we define our optimal mixture as OpenMathMix, an influential data mixture with open-source data selected by QaDS. With OpenMathMix, we achieve a state-of-the-art 48.8% accuracy on MATH with 7B base model. Additionally, we showcase the use of QaDS in creating efficient fine-tuning mixtures with various selection ratios, and analyze the quality of a wide range of open-source datasets, which can perform as a reference for future works on mathematical reasoning tasks.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes