ImageNet classification with deep convolutional neural networks
Alex Krizhevsky, Ilya Sutskever et al.
30
Citations
0
Influential Citations
arXiv.org
Venue
2024
Year
We study the depth of grade-school math (GSM) problem-solving capabilities of LLMs. To this end, we evaluate their performance on pairs of existing math word problems together so that the answer to the second problem depends on correctly answering the first problem. Our findings reveal a significant reasoning gap in most LLMs, that is performance difference between solving the compositional pairs and solving each question independently. This gap is more pronounced in smaller, more cost-efficient, and math-specialized models. Moreover, instruction-tuning recipes and code generation have varying effects across LLM sizes, while finetuning on GSM can lead to task overfitting. Our analysis indicates that large reasoning gaps are not because of test-set leakage, but due to distraction from additional context and poor second-hop reasoning. Overall, LLMs exhibit systematic differences in their reasoning abilities, despite what their performance on standard benchmarks indicates.
This paper challenges the assumption that high performance on standard math benchmarks like GSM8K indicates robust reasoning in LLMs. By introducing a compositional evaluation method, it uncovers a 'reasoning gap' that is often masked by aggregate scores. This is crucial for AI practitioners who rely on benchmarks to select models for real-world tasks that require multi-step reasoning.
The findings are particularly relevant for cost-sensitive deployments, as smaller and math-specialized models—often chosen for efficiency—show disproportionately larger reasoning gaps. This suggests that efficiency gains may come at the cost of reasoning robustness, a trade-off that practitioners must consider.
The paper's key innovation is the compositional pair evaluation: taking existing math word problems and pairing them so that the second problem's answer depends on the first. This simple yet effective method reveals reasoning depth without needing new datasets.
The paper reports that most LLMs show a significant reasoning gap, with smaller models (e.g., those under 10B parameters) exhibiting gaps up to 20-30% lower accuracy on compositional pairs. Math-specialized models, despite high standalone performance, also show larger gaps. Instruction-tuning and code generation have mixed effects: they sometimes reduce the gap for larger models but can worsen it for smaller ones. Finetuning on GSM leads to overfitting, increasing the gap on compositional tasks.
This work has broad implications for LLM evaluation and development. It underscores that standard benchmarks are insufficient for assessing reasoning abilities, and that compositional evaluations should be adopted more widely. For AI practitioners, it highlights the need to test models on multi-hop reasoning tasks before deployment, especially when using smaller or specialized models. The findings also encourage research into improving second-hop reasoning and reducing distraction from context, which could lead to more robust reasoning in LLMs.
Alex Krizhevsky, Ilya Sutskever et al.
Ashish Vaswani, Noam Shazeer et al.
Douglas M. Bates, Martin Mächler et al.
Diederik P. Kingma, Jimmy Ba