In short
Why do large language models struggle with precise counting and arithmetic over long sequences? Pre-training resembles fast, intuitive 'System 1' processing; post-training only approximates deliberate 'System 2' reasoning, yet both run on the same next-token mechanism. Three architectural causes, representational collapse, over-squashing, and softmax normalisation, blur the distinctions needed for exact counts. Even chain-of-thought and tool use fail on long enough sequences.
It sounds like a party trick: a model that can pass the bar exam but miscounts the letters in “strawberry.” But the failure is a window into how these systems actually work.
This essay uses Kahneman’s System 1 / System 2 distinction to explain it. Pre-training builds something like fast, intuitive pattern-matching; the newer “reasoning” training only behaves like deliberate step-by-step thought while running on the very same next-token machinery. Underneath, three concrete architectural pressures, representational collapse, over-squashing, and softmax normalisation, destroy exactly the fine-grained distinctions counting requires.
The payoff isn’t pedantry about arithmetic. It’s a sharper picture of what “jagged” AI capability really is, and why patches like chain-of-thought or tool use don’t make the underlying problem disappear.
Key takeaways
- LLM pre-training mimics System 1 (pattern-matching); post-training approximates System 2, but the distinction is behavioural, not mechanistic.
- Representational collapse makes long number sequences blur into overlapping embeddings.
- Over-squashing produces U-shaped performance where end-of-sequence tokens get swamped by earlier information.
- Softmax normalisation erases the absolute scale needed for accurate arithmetic.
- Chain-of-thought doesn't fix it, and corrupted intermediate data can propagate even into tool use.
Read the full piece
This is a summary. Read the complete essay, with all the sources and argument, on Substack.
Frequently asked questions
Why can't LLMs count or do arithmetic reliably?
Does chain-of-thought reasoning fix LLM counting errors?
Are LLMs doing System 2 reasoning yet?
People & ideas in this piece
Topics: How AI Actually Works