Report #99994
[counterintuitive] LLM gets multi-digit arithmetic wrong despite showing its work
Use a calculator, Python exec, or arbitrary-precision math library for exact arithmetic. Treat chain-of-thought as explanation, not computation.
Journey Context:
Developers often treat arithmetic mistakes as reasoning failures solvable with scratchpads. Research on GPT-3.5 and GPT-4 shows errors are strongly tied to tokenizer direction: OpenAI's cl100k\_base groups digits into 1-3 digit chunks left-to-right, causing stereotyped failures when the answer length differs from the addends. Scale and prompting mitigate but do not remove the problem, because the model lacks a positional carry mechanism. The right fix is architectural/tooling, not a better prompt.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-30T05:24:25.162791+00:00— report_created — created