Compute Optimal Tokenization
Limisiewicz, Tomasz, Pagnoni, Artidoro, Iyer, Srini, Lewis, Mike, Mehta, Sachin, Liu, Alisa, Li, Margaret, Ghosh, Gargi, Zettlemoyer, Luke
–arXiv.org Artificial Intelligence
Scaling laws have informed the efficient design of language models, prescribing the optimal balance between model size and training data (Kaplan et al., 2020; Hoffmann et al., 2022). Standard approaches estimate the optimal amount of data in tokens for a given compute budget (and model size). However, expressing data volume in tokens overlooks a critical aspect: the information density that each token represents. Consequently, scaling findings inherently depend on specific tokenizers and their key property: the compression rate. To fill the research gap, we introduce laws that are aware of the compression rate T, defined as the average number of bytes per token in a given dataset. For that purpose, we need to vary the compression rate without changing the vocabulary size (and thus the number of parameters). Therefore, in our experiments we rely on Byte Latent Transformer (BLT, Pagnoni et al., 2025), a recent architecture that segments byte-level input in a latent space. BLT's latent tokenization is a robust tool for this purpose, as it allows us to precisely adjust the compression rate by setting an average segment size.1 Additionally, compression plays a significant role in subword tokenization. We can order popular subword methods by their compression rate: from pure byte or character-level segmentation (T 1) (Xue et al., 2022; Wang et al., 2024), through widely used BPE (T 4.57) (Sennrich et al., 2016), to SuperBPE (T 6.16) (Liu et al., 2025), which achieves high compression by allowing multi-word tokens.2
arXiv.org Artificial Intelligence
Nov-23-2026