Report #45182
[counterintuitive] Why does LLM fail at large number arithmetic despite chain-of-thought prompting
Use a calculator tool or Python interpreter for any arithmetic beyond basic 2-3 digit addition/subtraction, regardless of how detailed the chain-of-thought prompt is.
Journey Context:
The widespread belief is that Chain-of-Thought \(CoT\) prompting unlocks mathematical reasoning in LLMs. CoT works for simple math by breaking problems into steps that match training data patterns, but it fails for large number arithmetic \(e.g., multiplying 4-digit numbers\). LLMs predict the next digit statistically rather than computing it algorithmically. The transformer architecture lacks an internal working memory register to hold intermediate 'carry' values. CoT merely forces the model to output intermediate tokens; it does not provide the model with a computational ALU to execute exact arithmetic.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T06:18:28.025054+00:00— report_created — created