🤖 AI Summary
This work investigates the fundamental impact of numerical precision on the arithmetic reasoning capabilities of Transformer-based large language models (LLMs). Low-precision representations (e.g., INT8, FP16) may intrinsically limit exact arithmetic computation. Method: We conduct computational complexity analysis and formalize Transformer expressivity for arithmetic tasks, modeling iterative addition and integer multiplication as decision problems. Contribution/Results: We provide the first theoretical proof that low-precision arithmetic induces inherent unsolvability for such tasks—requiring superpolynomial model size to compensate—whereas FP32 enables efficient, polynomial-time solvability. Controlled quantization experiments confirm a sharp, threshold-like performance degradation with precision reduction. Our findings establish numerical precision—not merely parameter count or architectural design—as a critical bottleneck for LLMs’ mathematical reasoning. This yields a novel “precision-first” paradigm for arithmetic capability enhancement, with implications for model quantization, hardware-aware training, and trustworthy numerical reasoning in foundation models.
📝 Abstract
Despite the remarkable success of Transformer-based Large Language Models (LLMs) across various domains, understanding and enhancing their mathematical capabilities remains a significant challenge. In this paper, we conduct a rigorous theoretical analysis of LLMs' mathematical abilities, with a specific focus on their arithmetic performances. We identify numerical precision as a key factor that influences their effectiveness in mathematical tasks. Our results show that Transformers operating with low numerical precision fail to address arithmetic tasks, such as iterated addition and integer multiplication, unless the model size grows super-polynomially with respect to the input length. In contrast, Transformers with standard numerical precision can efficiently handle these tasks with significantly smaller model sizes. We further support our theoretical findings through empirical experiments that explore the impact of varying numerical precision on arithmetic tasks, providing valuable insights for improving the mathematical reasoning capabilities of LLMs.