# A model of errors in transformers

DevFeed: [A model of errors in transformers](<https://devfeed.tech/articles/a-model-of-errors-in-transformers-131866.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2601.14175>)

Author: Suvrat Raju, Praneeth Netrapalli

Published: 2026-11-13T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Artificial Intelligence](<https://devfeed.tech/sources/arxiv-artificial-intelligence.md>), [arXiv: Machine Learning](<https://devfeed.tech/sources/arxiv-machine-learning.md>)

Topics: [Large Language Model](<https://devfeed.tech/topics/llm.md>), [Machine learning](<https://devfeed.tech/topics/machine-learning.md>), [Artificial Intelligence](<https://devfeed.tech/topics/ai.md>), [Prompt Engineering](<https://devfeed.tech/topics/prompt-engineering.md>)

Tags: [abstract](<https://devfeed.tech/tags/abstract.md>), [also](<https://devfeed.tech/tags/also.md>), [alternatives](<https://devfeed.tech/tags/alternatives.md>), [analysis](<https://devfeed.tech/tags/analysis.md>), [arithmetic](<https://devfeed.tech/tags/arithmetic.md>), [arxiv](<https://devfeed.tech/tags/arxiv.md>), [attention](<https://devfeed.tech/tags/attention.md>), [can](<https://devfeed.tech/tags/can.md>), [cases](<https://devfeed.tech/tags/cases.md>), [complexity](<https://devfeed.tech/tags/complexity.md>), [cross](<https://devfeed.tech/tags/cross.md>), [cs-ai](<https://devfeed.tech/tags/cs-ai.md>), [cs-cl](<https://devfeed.tech/tags/cs-cl.md>), [cs-lg](<https://devfeed.tech/tags/cs-lg.md>), [deepseek](<https://devfeed.tech/tags/deepseek.md>), [deepseek-r1](<https://devfeed.tech/tags/deepseek-r1.md>), [effective](<https://devfeed.tech/tags/effective.md>), [error](<https://devfeed.tech/tags/error.md>), [errors](<https://devfeed.tech/tags/errors.md>), [express](<https://devfeed.tech/tags/express.md>), [field](<https://devfeed.tech/tags/field.md>), [hep-th](<https://devfeed.tech/tags/hep-th.md>), [model](<https://devfeed.tech/tags/model.md>), [transformers](<https://devfeed.tech/tags/transformers.md>)

## AI overview

The paper models errors on deterministic and repetitive tasks as small attention errors accumulating until they cross a threshold. It derives a two-parameter relationship between task complexity and accuracy; the parameters vary by prompt and model and are interpreted as an elementary noise rate and the number of plausible erroneous tokens. Tests with Gemini 2.5 Flash, Gemini 2.5 Pro, and DeepSeek R1 reportedly show close agreement with the model across several tasks, with some deviations. The authors also describe prompt construction intended to reduce error rates.

## Source excerpt

arXiv:2601.14175v2 Announce Type: replace-cross Abstract: We study the error rate of LLMs on tasks like arithmetic that require a deterministic output, and repetitive processing of tokens drawn from a small set of alternatives. We argue that incorrect predictions arise when small errors in the attention mechanism accumulate to cross a threshold, and use this insight to derive a quantitative two-parameter relationship between the accuracy and the complexity of the task. The two parameters vary with the prompt and the model; they can be interpreted in terms of an elementary noise rate, and the number of plausible erroneous tokens that can be predicted. Our analysis is inspired by an ``effective field theory'' perspective: the LLM's many raw parameters can be reorganized into just two parameters that govern the error rate. We perform extensive empirical tests, using Gemini 2.5 Flash, Gemini 2.5 Pro and DeepSeek R1, and find excellent agreement between the predicted and observed accuracy for a variety of tasks, although we also identify deviations in some cases. Our model provides an alternative to suggestions that errors made by LLMs on long repetitive tasks indicate the ``collapse of reasoning'', or an inability to express ``compositional'' functions. Finally, we show how to construct prompts to reduce the error rate.