Tokenisation is not in APX
Violeta Kastreva, Philip Whittington, Dennis Komm, Tiago Pimentel
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.
Create a lesson
Metadata
- Categories
- cs.CL, cs.LG
Recent in the same category
Diverse Alternative Reasoning Traces for Hard Math Problems
Recent in the same categorycs.CLLukas Aichberger, Adam Golinski, Arno Blaas et al.
μ-Bench: Benchmarking Multi-User Task Completion in Shared Interaction Voice Agents
Recent in the same categorycs.CLQihao Lin, Guanxu Chen, Shuhang Zheng et al.
DRBench Pro: A Knowledge-Centric Benchmark for Professional Deep Research Agents
Recent in the same categorycs.CLHan Huang, Yuchen Yan, Xingyu Wu et al.
Proverbs As A Window On Collective Prescriptions
Recent in the same categorycs.CLTomás Lejarraga, Dirk U. Wulff, Ralph Hertwig
Repairing the Trustworthiness of Distilled Language Models
Recent in the same categorycs.CLKumar Shubham, Devendra Vyas, Vidushi Agarwal et al.
The Linguistic Knowledge Benchmark: Do Language Models Know the Foundations of Early-Grade Literacy?
Recent in the same categorycs.CLMaxime Lelièvre, Alasdair Mackintosh, Dominic Andrews et al.