"Close enough?" An investigation into multiplication errors in LLMs
Organizations: School of Engineering Maths & Technology University of Bristol · School of Computer Science University of Bristol
Abstract
Large language models (LLMs) frequently fail at multi-digit arithmetic, but the underlying mechanisms governing these failures remain poorly understood. While recent work demonstrates that addition errors follow a "noisy quantisation" model localised around carry boundaries, whether this framework generalises to multiplication remains an open question. In this work, we evaluate multiplication capabilities across several small base LLMs on a dataset of 16,991 problems spanning varied operand lengths. We show that multiplication errors do not conform to the addition-style noisy quantisation model. Instead, we uncover a novel error regime in small Qwen models: errors in lower-order columns predominantly preserve parity. Conversely, higher-order digit errors shift toward off-by-one carry failures. Our findings suggest that arithmetic computation in LLMs relies on distinct, multi-periodic internal representations where parity is tracked more robustly than exact digit identity, providing new mechanistic insights into numerical reasoning in transformers.
Figures & tables
| Digit size | Count | Sampling |
|---|---|---|
| 81 | Exhaustive | |
| 810 | Exhaustive | |
| 8,100 | Exhaustive | |
| 3,000 | Random sample (of 81,000) | |
| 1,000 | Random sample (of 810,000) | |
| 3,000 | Random sample (of 810,000) |
| Model | Accuracy (%) | Tens Parity Preservation (%) |
|---|---|---|
| Qwen3.5-2B | 56.4 | 92.7 |
| Qwen3.5-0.8B | 60.8 | 69.5 |
| Qwen2.5-Math-1.5B | 50.4 | 67.9 |
| Llama-3.2-3B | 25.0 | 45.2 |
| gemma-4-E2B | 28.8 | 44.0 |
Numerical Reasoning in Language Models
Numerical reasoning in language models studies how systems represent, calculate with, and explain numbers across mathematical and real-world tasks.
See all 156 papers