The Price of Token Boundaries: Compression Certificates and Prediction
Abstract
Pre-tokenisation restricts which text fragments can become prediction units, but its compression cost is obscured when tokenisers are compared only under the same boundaries. We measure this cost by bounding the minimum token count from both sides, with and without a regular-expression boundary rule. Nonnegative prices on token occurrences yield a lower bound through shortest paths and vocabulary-budget selection; maximising over all prices recovers the linear programming relaxation, and an independent integer checker certifies the reported values. On English Wikipedia, boundaries increase the optimal token count by 28.3--36.8\%. Byte pair encoding lies 2.1\% above the constrained lower bound, but 10.9\% above the unrestricted bound. Compression and prediction favour different dictionaries: at 85M non-embedding parameters and matched training-token budgets, unrestricted fitting yields higher mean held-out bits per byte under a common unrestricted decoder in all 12 languages in the paired study and 11 of 12 under independent tuning and evaluation. To study intermediate boundary policies, we introduce boundary licences, which limit the vocabulary entries permitted to cross cuts and admit the same form of certificate. On separate English and Chinese fitting corpora, licensing 10\% of the vocabulary budget recovers 85.2\% and 100.0\% of the achieved token-count reduction from removing all cuts. These results quantify the compression cost of boundaries while separating it from the prediction quality of the resulting token units.
Create a lesson
Metadata
- Categories
- cs.AI, cs.CL
Related papers
One Latent, Many Tokens: Jointly Learning Compressed Embeddings for Efficient Language Diffusion
Shared title terminologycs.AIYulin Yuan, Ying Zhang, Xiangming Meng
CoViST: Visual Token Compression via Composable States
Shared title terminologycs.AIQi Zhang, Xiandong Meng, Ronggang Wang et al.
Compressible Representations: Functional Spines in Deep Neural Networks
Shared title terminologycs.AINiranjan Rajesh, Meenakshi Khosla
PRETZEL: A Benchmark for Cyclic Peptide Structure Prediction
Shared title terminologycs.AIYongchan Hong, Zihang Fang, Mukta Ubale et al.
Antares-Smaug: Adversarial Names, Tokens and Attack Rewrites: Sanitisers Miss Unseen Generalisations
Shared title terminologycs.AIMohammed Nayeem Khan, Akhil P
Language Models Steer on Injected Uncertainty Tokens, but Fail to Self-Monitor In Situ
Shared title terminologycs.AIDaniel Theron