研究提出Transformer错误率两参数模型,在Gemini与DeepSeek上验证
A model of errors in transformers
arXiv论文提出一个两参数模型,用来描述LLM在算术等需要确定性输出的任务上的错误率,认为注意力机制中的小误差累积越过阈值就会导致错误预测。作者用Gemini 2.5 Flash、Gemini 2.5 Pro和DeepSeek R1做了大量实证测试,预测准确率与实测结果在多种任务上高度吻合,部分情况存在偏差。
论文用两参数模型解释LLM在算术等确定性任务上的错误率,并在Gemini与DeepSeek上做了实证对照,为理解长重复任务出错提供了另一种解释框架。
arXiv:2601.14175v2 Announce Type: replace 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.
来源:arXiv (AI + Vision + Imaging) · arxiv.org