Jiacheng Sun
2025
How Numerical Precision Affects Arithmetical Reasoning Capabilities of LLMs
Guhao Feng
|
Kai Yang
|
Yuntian Gu
|
Xinyue Ai
|
Shengjie Luo
|
Jiacheng Sun
|
Di He
|
Zhenguo Li
|
Liwei Wang
Findings of the Association for Computational Linguistics: ACL 2025
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 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.
How Do LLMs Acquire New Knowledge? A Knowledge Circuits Perspective on Continual Pre-Training
Yixin Ou
|
Yunzhi Yao
|
Ningyu Zhang
|
Hui Jin
|
Jiacheng Sun
|
Shumin Deng
|
Zhenguo Li
|
Huajun Chen
Findings of the Association for Computational Linguistics: ACL 2025
Despite exceptional capabilities in knowledge-intensive tasks, Large Language Models (LLMs) face a critical gap in understanding how they internalize new knowledge, particularly how acquired knowledge becomes structurally embedded in their neural computations. We address this issue through the lens of knowledge circuit evolution, identifying computational subgraphs that facilitate knowledge storage and processing. Our systematic analysis of circuit evolution throughout continual pre-training reveals several key findings: (1) the acquisition of new knowledge is influenced by its relevance to pre-existing knowledge; (2) the evolution of knowledge circuits exhibits a distinct phase shift from formation to optimization; (3) the evolution of knowledge circuits follows a deep-to-shallow pattern. These insights not only advance our theoretical understanding of the mechanisms of new knowledge acquisition in LLMs, but also provide potential implications for improving continual pre-training strategies to enhance model performance.
Search
Fix author
Co-authors
- Zhenguo Li 2
- Xinyue Ai 1
- Huajun Chen 1
- Shumin Deng 1
- Guhao Feng 1
- show all...