Research map / Large language models / Agents, code and math
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
Peking University · Huawei Technologies
Read the paperPlace an idea next to itCheck your own paper ↗
AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| use float32 instead of bfloat16 (ablation) | Transformer trained from scratch · Integer addition | accuracy: over 94% for both up to 32 digits | No clear effect |
| use float32 instead of bfloat16 (ablation) | Transformer trained from scratch · Iterated addition (3 numbers) | accuracy: float32 near-perfect; bfloat16 declines at digit lengths 7-10 (base-2) | Improved |
| use float32 instead of bfloat16 (ablation) | Transformer trained from scratch · Integer multiplication | accuracy | Improved |
| quantize to int4 (AWQ) (ablation) | LLaMA-3.1-8B Instruct · Iterated addition, 3 numbers | accuracy: drops by nearly 20% as addend length increases | Hurt |
| fine-tune with QLoRA (int4) instead of LoRA (bfloat16) (ablation) | LLaMA-3.1-8B Instruct · arithmetic tasks | accuracy | Hurt |
| fine-tune low-precision model with QLoRA | LLaMA-3.1-8B Instruct int4 · arithmetic tasks | accuracy | No clear effect |
Open problems in mathematical and structural reasoning benchmarks
Which reasoning benchmarks hold up beyond one language, text-only prompts and one judge model?
- Benchmarks cover one language or a few high-resource ones. · 25 papers state it
- Evaluation and inference cost more than the plain baseline. · 12 papers state it
- Tasks are text-only, with no images, audio or other modalities. · 11 papers state it
Closest papers by meaning
- Language Models Do Hard Arithmetic Tasks Easily and Hardly Do Easy Arithmetic Tasks (ACL 2024 · similarity 0.92)
- Interpreting and Improving Large Language Models in Arithmetic Calculation (ICML 2024 · similarity 0.91)
- A Careful Examination of Large Language Model Performance on Grade School Arithmetic (NeurIPS 2024 · similarity 0.90)
- Arithmetic Without Algorithms: Language Models Solve Math with a Bag of Heuristics (ICLR 2025 · similarity 0.90)
- Number Cookbook: Number Understanding of Language Models and How to Improve It (ICLR 2025 · similarity 0.89)
- GSM-Symbolic: Understanding the Limitations of Mathematical Reasoning in Large Language Models (ICLR 2025 · similarity 0.88)
Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.