Title: Tokenisation is not in APX

Abstract: In this paper, we prove that, unless P=NP, no polynomial-time algorithm can find a tokeniser whose objective is within any constant factor of the optimum, meaning that tokenisation is not in the APX complexity class. We prove this for direct and bottom-up tokenisation, under both a compression or unigram log-likelihood objectives, and for binary or larger alphabets. We further show that, even over unary alphabets, direct tokenisation is APX-hard, and thus admits no polynomial-time approximation scheme.
Subjects:Computation and Language (cs.CL) ; Machine Learning (cs.LG)
Cite as: arXiv:2611.34938 [cs.CL]

cs.CL recent