Exploring the Mystery of Influential Data for Mathematical Reasoning

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.

Paper

Similar papers

Reviewer gRx84/10 · confidence 4/52024-05-09

Summary

This paper mainly studies data selection for supervised instruction tuning of LLMs, targeted at math reasoning. Specifically, it follows existing data selection work that selects supervised tuning data based on the combination of its diversity and quality. Experiments on large-scale open-source data show that the proposed data selection approaches outperform (not by a big margin) both random selection and other baseline data selection approaches.

Rating

4

Confidence

4

Ethics flag

1

Reasons to accept

1. The experiment on math reasoning is solid, as it evaluates the proposed data selection from multiple perspectives. 2. The paper is relatively easy to understand.

Reasons to reject

1. My primary concern is the motivation behind the paper, specifically the research question addressing the math reasoning task. While the paper focuses on math reasoning, the proposed method appears universally applicable to various tasks. After a thorough review, I found no clear motivation or adaptation of the method specifically for the challenges in math reasoning. An interesting idea might involve a compositional aspect, such as whether different combinations of formulas could lead to improvements. 2. The reported improvements in results are quite marginal. It is unclear what a ~1.5-2% improvement in math reasoning signifies in this context. Such modest gains might be overshadowed by the capabilities of a base model, such as LLAMA 70B. Consequently, the effectiveness of the proposed approach remains ambiguous.

Reviewer YKSQ7/10 · confidence 4/52024-05-12

Summary

This paper focuses on selecting influential training data for improving LLMs' mathematical reasoning ability. The authors propose a quality-aware diverse selection strategy (QaDS) over other selection strategies and also define an OpenMathMix which is a data mixture selected by QaDS. The experiments show advantages of the proposed strategy and the paper is comprehensive.

Rating

7

Confidence

4

Ethics flag

1

Reasons to accept

* Proposed a reasonable way of selecting high-quality data (one-shot better than zero-shot) * Define an influential data mixture with open-source data selected by QaDS

Reasons to reject

* Lack of further analysis of the selection strategy, e.g., more than one-shot

Questions to authors

Could this strategy be applied to other tasks than the mathematical reasoning?

Reviewer oJ7q7/10 · confidence 4/52024-05-13

Summary

__Summary__ 1. Propose a quality-aware diverse selection approach for mathematical reasoning. This approach aims to integrate both quality and diversity in selecting influential data. 2. Diversity: sampling by maximizing the minimum distance between the data points, which are encoding by embeddings. 3. Quality: the average times that one-shot performance is better than the zero-shot performamce. 1. They further train a quality scorer for that to reduce the intractable computational cost. 4. Then they can select the instance by the QS score. 5. Construct two settings $S_{base}$ and $S_{large}$ and different selection scheme to verify the effectiveness of QaDS, try to better demonstrate the effectiveness of QaDS

Rating

7

Confidence

4

Ethics flag

1

Reasons to accept

1. Motivation is clear and reasonable to incorporate both diversity and quality. The underlying approach is also solid. 2. Experiments demonstrate improvements with QaDS selection, also better performance compared to DeepSeek, which is the base model.

Reasons to reject

1. In Table 4, althouh QaDS-$S_{large}-4.7M$ achieves the best performance $\mathbf{48.8}$, but according to Table 2, this OpenMathMix set contains all data for mathematical reasoning, only the "General" is selected by QaDS. Thus, it is confusing that the motivation is to improve mathematical reasoning, but we actually use all the corpus there. 1. And Table 4 only shows the performance of one dataset. 2. Although QaDS-$S_{large}-5M$ is worse, but again, we only perform QaDS on "General" according to Table 2, readers will be concerning about what's really improving here.

Questions to authors

Refer to "Reasons to Reject".

Reviewer rr876/10 · confidence 3/52024-05-13

Summary

This paper aims to propose the data curation method which identifies highly influential data within a large-scale mathematical reasoning dataset. ### Quality The paper is generally clear and effectively communicates the problem it addresses. However, it lacks a crucial discussion on the computational costs involved in curating the dataset using the proposed method. ### Clarity The paper is well-written, but some sections may be challenging to grasp on first reading. ### Originality The application of the K-center Greedy method is not particularly novel, as it adapts an existing approach to a new problem. Nonetheless, the introduction of a quality scoring system using a zero-shot and one-shot inference appears to be a novel contribution. ### Significance The approach to curating the training dataset is significant. This paper addresses the important issue of fine-tuning language models for reasoning datasets.

Rating

6

Confidence

3

Ethics flag

1

Reasons to accept

- **Thorough analysis:** This paper introduces a strategy for selecting data for a mathematical reasoning dataset. It applies this method to two different dataset sizes, S_{base} and S_{large}, demonstrating that the proposed method outperforms existing baselines. Additionally, it provides insight into the relationship between estimated and actual quality scores, showing a strong correlation with the actual scores.

Reasons to reject

- **Needs clearer writing**: Some parts of the paper are difficult to follow. For example, it is not clear which dataset is referred to in Table 3. The explanation of the scoring method in Figure 1, particularly the bi-directional arrows between the one-shot and zero-shot score blocks, is also confusing. - **Insufficient discussion on computational costs**: The paper does not adequately address the computational costs required to embed data for diversity measurement and computing zero-shot and one-shot scores using LLMs like LLaMA-2 and Mistral. The cost implications of these computational demands, especially when seeking a modest accuracy improvement of 2% as shown in Table 4, need further discussion.

Authorsrebuttal2024-06-04

We greatly appreciate the time you've invested in reviewing our paper! Having submitted our rebuttal, we are eager to know if you have any remaining concerns or require further clarification. Since the discussion phase will end soon (June 6, 2024), we would greatly appreciate your support and valuable feedback! We are more than happy to answer any further questions you may have. Best, Submission310 Authors

Reviewer oJ7q2024-06-05

Response to authors

> General data can also be influential for reasoning: According to [1] and [2], other relevant tasks can also be helpful for reasoning. So we contain general data in our setting, and successfully selects the helpful general data by QaDS. But again, am I right that, QaDS-S_{large}-4.3M (48.8%)> QaDS-S_{large}-3M (45.2% ) (Table 4), here the only difference is that if the math data is selected by QaDS. But turns out using QaDS in this case is worse. AND, in the motivation, the goal seems to select data for mathematical reasoning. (Abstract below) > 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. Thus, I also expect QaDS to select influential data in math data, rather than we simply use all of them. 2. Thanks for the experiments on other datasets.

Authorsrebuttal2024-06-05

Author Follow-up to Reviewer oJ7q

Dear Reviewer oJ7q, Thank you for your follow-up questions. > In the motivation, the goal seems to select data for mathematical reasoning. We'd like to emphasize our goal: exploiting influential data on **a wide range** of data sources (**both reasoning and general data**) for mathematical reasoning. We will make a clearer statement in our future updates. > Here the only difference is that if the math data is selected by QaDS. But turns out using QaDS in this case is worse. We share ideas from two aspects to your concern: * As we mentioned in our previous response, there exists a common law that **mathematical reasoning consistently improves with increasing reasoning data amount** [1]. There is a **large** decrease of ~1.7M reasoning data from QaDS-*S_{large}*-4.3M to QaDS-*S_{large}*-2.6M, and thus it is reasonable to see a performance drop (from 44.2% to 42.6%), which is not caused by our strategy. However, with a decrease of ~0.3M general data from QaDS-*S_{large}*-5.0M to QaDS-*S_{large}*-4.7M, our QaDS successfully selects influential general data and achieves performance gains (from 45.6% to 48.8%), showing the effectiveness of our QaDS. **Kindly Note**: We show paper "Table 2" below for your convenience. | Task | *S_{large}*-4.3M | *S_{large}*-5.0M | *S_{large}*-2.6M | *S_{large}*-3.0M | *S_{large}*-4.7M | | :-------: | :--------------: | :--------------: | :--------------: | :--------------: | :--------------: | | Reasoning | All | All | Selected | Selected | All | | General | - | All | - | Selected | Selected | * When coming to the comparison with a fixed data size, our QaDS **significantly surpasses** random strategy, and reaches an improvement of 6.6% in paper "Figure 3" (48.8% vs 42.2%) in *S_{large}*-4.7M. In summary, our QaDS can be applied on a wide range of data (**not limited on reasoning data**) and exploit most influential data. Since we are the first to explore data selection for reasoning, we hope we can provide insights to the community and will explore more strategies in our future work. We hope that our response can address your concerns. Thanks! [1] How abilities in large language models are affected by supervised fine-tuning data composition. *arXiv preprint arXiv:2310.05492* (2023).

Reviewer oJ7q2024-06-05

Response to authors

Got it. I think I get your point, I will raise the score.

Authorsrebuttal2024-06-06

Call for Discussion

Dear reviewer gRx8, Thank you very much for taking the time to review our paper and provide valuable feedback. As the discussion period is coming to an end, we would like to ensure that our recent response satisfactorily addresses your concerns. If you have any further concerns, you are welcome to point them out, and we are happy to clarify them further. Thank you! Best, Submission310 Authors

Program Chairsdecision2024-07-10

Decision

Accept

© 2026 NYSGPT2525 LLC