Report #53815
[counterintuitive] Why can't the model count characters in a word or spell correctly despite detailed instructions
Never ask an LLM to count characters, find character positions, or spell words. Delegate all character-level operations to a code execution tool \(e.g., Python len\(\), str.count\(\), index\(\)\).
Journey Context:
The widespread belief is that better prompting or more examples will fix character counting. In reality, LLMs process BPE tokens, not characters. The word 'strawberry' may be tokenized as \['straw', 'berry'\] — the model literally never sees individual 'r' characters. No amount of chain-of-thought, few-shot examples, or model scaling overcomes this because the information is destroyed at the tokenizer level before the model ever processes it. This is why even frontier models fail at 'how many r's in strawberry' — it's an input representation problem, not a reasoning problem.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T20:49:33.293501+00:00— report_created — created