Unless P=NP, no polynomial-time algorithm can find a tokenizer within any constant factor of the optimum. This holds for both direct and bottom-up tokenization under compression or unigram log-likelihood objectives for binary or larger alphabets.
HOW THIS AFFECTS YOU
●
researcherYou cannot find an optimal tokenizer in polynomial time, meaning any practical method is an approximation.