Megadose Built for builders and researchers.

Tokenisation is not in APX

· ArXiv · AI/CL/LG ·
Unless P=NP, no polynomial-time algorithm can guarantee a tokeniser within any constant factor of the optimum.

The proof covers direct and bottom-up tokenisation, using either compression or unigram log-likelihood as the objective. It applies to binary and larger alphabets. Even with a one-symbol alphabet, direct tokenisation is APX-hard, ruling out a polynomial-time approximation scheme unless P=NP.

ArXiv · AI/CL/LG's note

score 5

Categories: Research