A paper on arXiv cs.CL proves that, unless P=NP, no polynomial-time algorithm can find a tokeniser within any constant factor of optimal, so tokenisation is not in APX. The authors also show that direct tokenisation is APX-hard even over unary alphabets, so it admits no polynomial-time approximation scheme.
Key facts
- 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.
Read aloud
A paper on arXiv cs.CL proves that, unless P=NP, no polynomial-time algorithm can find a tokeniser within any constant factor of optimal, so tokenisation is not in APX. The authors also show that direct tokenisation is APX-hard even over unary alphabets, so it admits no polynomial-time approximation scheme. 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.
Sources in this cluster
Free daily email
Get AI news, checked against sources
One short email each morning with the day's model launches, price changes and research. Unsubscribe any time.
We email a confirmation link first. Pro and API plans