Tokenisation is not in APX

  • 2026-11-25 18:59:38
  • Violeta Kastreva, Philip Whittington, Dennis Komm, Tiago Pimentel
  • 0

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.

 

Quick Read (beta)

loading the full paper ...