arXivPreprintOpen accesscs.CL
Tokenisation is not in APX
Violeta Kastreva, Philip Whittington, Dennis Komm, Tiago Pimentel
Key points
From the paper's conclusion- We further show that, even over unary alphabets, direct tokenisation is APX-hard, and thus admits no polynomial-time approximation scheme.
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.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- How Hard Is Tokenisation? Algorithms and Complexity Beyond NP-HardnessarXiv · 2026
- Tokenization: Hardness and Bicriteria Approximation AlgorithmsarXiv · 2026
- Pair-Merge Tokenisation Is Hard to Approximate on Binary Strings and Strongly NP-Hard on Unary DatasetsarXiv · 2026
- GreedTok is a Constant-Factor Approximation for Partition-Cover TokenizationarXiv · 2026
- Optimal Single-History Tokenization Disambiguation for Provably Secure Linguistic SteganographyarXiv · 2026
- Counting and Min-Cost Encoding for Tokenization in Large Language ModelsarXiv · 2026