How Numerical Precision Affects Arithmetical Reasoning Capabilities of LLMs

Despite the remarkable success of Transformerbased 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 arithmetical 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.

Authors

Publication Details

Published
2025-01-01
DOI
https://doi.org/10.18653/v1/2025.findings-acl.3
Citations
1
Primary Topic
Numerical Methods and Algorithms
Type
article
Field-Weighted Citation Impact
1.50

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

How Numerical Precision Affects Arithmetical Reasoning Capabilities of LLMs

X. C. Ai, Shengjie Luo, Yuntian Gu, David He et al.
1 citations
Numerical Methods and Algorithms
1.50
article

How Numerical Precision Affects Arithmetical Reasoning Capabilities of LLMs

X. C. Ai, Shengjie Luo, Yuntian Gu, David He, Kai‐Cheng Yang, Guhao Feng, Zhenguo Li, Liwei Wang, Jiacheng Sun
article en
1 citations

Abstract

Despite the remarkable success of Transformerbased 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 arithmetical 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.

National Science Foundation, National Natural Science Foundation of China
Openalex Percentile: Top 14%
Numerical Methods and Algorithms
1.50
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.