Not All LLM Reasoners Are Created Equal
Arian Hosseini, Alessandro Sordoni, Daniel Toyama, Aaron Courville, Rishabh Agarwal
TL;DR
This paper challenges the notion that LLMs have mastered grade-school math by revealing a systematic compositional reasoning gap between GSM8K and two-hop GSM problems. It introduces Compositional GSM, where the answer to $Q_2$ depends on $Q_1$'s solution, and conducts broad experiments across model families to quantify the gap with $\Delta = S_{ ext{comp}} - S_1 \cdot S_2$. The results show that cost-efficient and math-specialized LLMs suffer the largest gaps, while instruction-tuning effects vary with model size and finetuning can cause task overfitting; code generation helps smaller models but is not a universal fix. The study argues that leakage is not the primary cause of the gap and emphasizes distraction and poor second-hop reasoning as core limitations, advocating for more robust, out-of-distribution evaluations to accurately assess reasoning capabilities. Overall, the work highlights a mismatch between benchmark performance and genuine compositional reasoning, with practical implications for deploying LLMs in multi-hop reasoning tasks.
Abstract
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.
