The authors prove that, unless P=NP, no polynomial-time algorithm can approximate optimal tokenisation within any constant factor. The result covers direct and bottom-up tokenisation under compression and unigram log-likelihood objectives, for binary and larger alphabets. Direct tokenisation is also APX-hard over unary alphabets, ruling out a polynomial-time approximation scheme.
Why it matters
Tokenisers underpin language models, so the result sets a firm limit on provably near-optimal tokeniser design.
Analysis
The paper establishes a strong hardness result across tokenisation variants and objectives, closing the hope of constant-factor approximation in polynomial time. That matters for theory and for expectations about tokeniser optimisation. The main uncertainty is practical impact: heuristic tokenisers may already perform well despite the worst-case bound.
Source: arXiv
AI disclosure: this article was produced with AI assistance and reviewed for accuracy.
Top comments (0)