AI Research
Researchers uncover simple two-parameter model explaining LLM errors on arithmetic tasks
New analysis shows how small attention mechanism mistakes accumulate to produce wrong answers on repetitive computational tasks.
Researchers studying large language model failures on tasks requiring exact computation—such as arithmetic—have developed a theoretical framework that reduces the complex sources of error to just two core parameters.
How LLMs fail on repetitive tasks#
The team examined why modern language models like Gemini 2.5 and DeepSeek R1 make mistakes on problems that demand deterministic, precise outputs. They found that incorrect predictions don't arise from fundamental inability, but rather from small errors in the attention mechanism that gradually accumulate. Once these compounded errors cross a threshold, the model outputs a wrong token.
A simpler mathematical picture#
Drawing inspiration from physics' effective field theory approach—which simplifies complex systems into few governing parameters—the researchers derived a quantitative relationship linking task accuracy to task complexity. Their model uses just two parameters that adjust based on the specific prompt and model: one capturing an elementary noise rate in the system, and another representing the number of plausible but erroneous tokens the model might generate.
Testing the framework#
The team performed extensive validation using multiple state-of-the-art models and observed strong agreement between their model's predictions and actual observed accuracy across various tasks. However, they noted some deviations in certain cases, suggesting the framework may benefit from refinement.
Reframing the "collapse of reasoning" debate#
This work offers a counterpoint to interpretations suggesting that LLM failures on long, repetitive tasks signal a fundamental "collapse of reasoning" or inability to express compositional functions. Instead, the analysis points to a simpler mechanism of error accumulation.
Improving LLM reliability#
The research also reveals practical applications: the authors demonstrate how to construct prompts specifically designed to reduce error rates, offering a path toward more reliable LLM performance on computational tasks.