Skip to content

Source paper

Tokenisation is not in APX

Violeta Kastreva, Philip Whittington, Dennis Komm, Tiago Pimentel
arXiv 2611.34938 · 2026

Research ideas from this paper (3)

Generated by AI. The paper’s authors did not write these.

AI summary

This paper investigates the theoretical limits of subword tokenisation algorithms used in language models, proving that binary direct and bottom-up tokenisation are not in the APX complexity class under either compression or unigram log-likelihood objectives. The authors also establish that even unary direct tokenisation is APX-hard, ruling out unconditional polynomial-time constant-factor approximation algorithms or PTAS schemes unless P = NP. Consequently, any meaningful performance guarantees for practical subword tokenisers must depend on domain-specific or dataset-specific structural properties rather than universal worst-case bounds.

How it works (AI summary)

The authors employ theoretical gap reductions from NP-complete combinatorial problems to tokenisation optimisation: reducing from finite-word rank to binary direct tokenisation to amplify the objective gap between YES and NO instances, reducing from maximum cut on cubic graphs via graph blow-ups and walk representations to binary bottom-up tokenisation, and providing an approximation-preserving (AP) reduction from 3-MAX-CUT to unary direct tokenisation.