Summary
The paper investigates the mathematical capabilities of LLMs with a focus on GSM8K and MATH datasets. First, the authors show that with a large number of response generations (e.g., generating 1024 responses), the accuracy, measured by the probability of at least one generated response being correct (e.g., pass@1024), improves significantly. The paper claims that the presence of correct answers within these 1024 generated responses suggests that the model already possesses strong math abilities, and the observed performance issues are due to instability in extracting responses, which the paper refers to as a "ranking issue". To alleviate this, the authors propose using an external LLM (e.g., GPT-4) to generate synthetic data for finetuning, which can increase accuracy on various math benchmarks.
Strengths
1- Understanding reasoning capabilities of models, including mathematical capabilities, is an important research direction.
2- The paper is well-written and the arguments are presented well.
Weaknesses
1- The observation that increasing the number of generations improves the probability of obtaining a correct answer is not new to this work. For example, figure 4 from [1] reports the same observation on GSM8K.
2- Most importantly, the use of pass@1024 to claim a model's "capability" is methodologically questionable. Consider this extreme example for clarity: Imagine the target task is finding a path from start to end in a maze. If I write a program that randomly tests paths in the maze, with enough generations (depending on the maze size and difficulty), one of the outputs will be correct. Does that mean my program is capable of solving mazes? While LLMs don't output random tokens, and this is an extreme example for demonstration purposes, the overall situation is similar.
3- The paper assumes that higher accuracy on GSM8K indicates better 'mathematical reasoning' capabilities. Recent works such as [2] suggest that models do not understand mathematical concepts and rely on pattern matching and memorization, which could explain the reported improved results from using synthetic data for finetuning in this work. Note that the experiments in this paper does not provide any evidence for reasoning improvement, including the OOD experiments. For instance, the Hungarian National High School Math Exam is very similar to the MATH benchmark, and we observe from figure 2 that training on 120K synthetic examples from MATH leads to ~30% more accuracy than training on 480K synthetic examples from GSM8K. This raises questions about whether this benchmark is truly OOD for MATH, and whether the improvements reflect enhanced "mathematical reasoning" or simply exposure to similar questions in the synthetic data, especially given that we cannot rule out GPT-4's prior exposure to these questions.
4- Regarding the generation/use of synthetic data, there are no particularly new insights. There is no formal mechanism to guarantee the correctness of problems and solutions. In fact, Figure 8 of the paper (in Appendix) shows that the reasoning mistakes of the model increase as more synthetic data is used. This relates to my previous comments that there is no evidence (neither in the literature nor this work) that these LLMs possess "mathematical understanding/reasoning capabilities". However, there are several pieces of evidence, including this work, showing that the models rely on seeing similar questions and memorizing overall patterns to solve similar questions.
Overall, I find many of the paper's assumptions and claims to be incorrect, and the experiments do not adequately address these issues.
----
References:
[1] Shi, Chufan, et al. "A thorough examination of decoding methods in the era of llms." arXiv preprint arXiv:2402.06925 (2024).
[2] Mirzadeh, Iman, et al. "Gsm-symbolic: Understanding the limitations of mathematical reasoning in large language models." arXiv preprint arXiv:2410.05229 (2024).
[3] Zhang, Hugh, et al. "A careful examination of large language model performance on grade school arithmetic." arXiv preprint arXiv:2405.00332 (2024).
Questions
1- For generating new questions, the authors use an LLM via prompts in the appendix, but it's unclear where the seed/original questions come from. For instance, for GSM8K, do the original questions come from the train set or test set?