Tokenization: Hardness and Bicriteria Approximation Algorithms
Not on the map. Why?
Abstract (arXiv)
We study Binary Tokenization: given a corpus of binary strings over 0,1 and a vocabulary budget K, select at most K substrings (called vocabulary) to minimize the total number of tokens needed to represent the corpus. The primitive symbols 0 and 1 are always available, and each document must be segmented separately. Letting n denote the total corpus length and M for the maximum document length, we prove that, for every fixed varepsilon∈(0,1), Binary Tokenization problem does not have polynomial-time n1-varepsilon-approximation algorithms unless mathsfP=mathsfNP. To complement the hardness result, we give a polynomial-time (γ,γ)-bicriteria algorithm, with γ = √Mlog n: The algorithm outputs a vocabulary of size at most γ K with number of tokens at most γ rm OPTK, where rm OPTK is the optimal number of tokens under the original budget K. We also study a storage-budget variant, in which the sum of the selected substrings' lengths is bounded by B. For 2≤ B<n, we obtain an (O(log nlog B),O(log nlog B))-bicriteria approximation algorithm.
Key facts. No citing papers in the map yet (data through 24 Nov 2026). Builds on 10 of its 44 references that are in the map. Submitted 11 Nov 2026.
Builds on
10 of 44 references.
References · 10
- 2015Neural Machine Translation of Rare Words with Subword Unitscited by 3,052
- 2024Tokenization Is More Than Compressioncited by 99
- 2024Getting the most out of your tokenizer for pre-training and domain adaptationcited by 73
- 2024Unpacking Tokenization: Evaluating Text Compression and its Correlation with Model Performancecited by 69
- 2023A Formal Perspective on Byte-Pair Encodingcited by 42
- 2024Theoretical Analysis of Byte-Pair Encodingcited by 20
- 2024Tokenisation is NP-Completecited by 14
- 2025A Partition Cover Approach to Tokenizationcited by 8
- 2025Tokenisation over Bounded Alphabets is Hardcited by 8
- 2026Tokenisation via Convex Relaxationscited by 5
Built on by
Not cited yet.