RightSignal
1 of 6

Your RightSignal

AI

Finding the best tokeniser cannot even be approximated well

Violeta Kastreva, Philip Whittington, Dennis Komm, Tiago Pimentel · Submitted 2026-11-25
Preprint · not peer reviewed

Tokenisers split text into the pieces a language model reads. The authors prove that, unless P=NP, no fast algorithm can find a tokeniser that is within any fixed factor of the best possible one.

Key finding: The result holds for several tokeniser types and objectives, and for alphabets of two or more symbols. One type stays hard even with a one-letter alphabet.

Why it matters: It explains why practical tokenisers rely on rules of thumb, and why searching for a perfect one is a dead end.