An Information-Theoretic Perspective on LLM Tokenizers

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Erdogan, Mete, Gorle, Abhiram, Chandak, Shubham, Pilanci, Mert, Weissman, Tsachy
Format: Preprint
Published: 2026
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866914254826766336
author Erdogan, Mete
Gorle, Abhiram
Chandak, Shubham
Pilanci, Mert
Weissman, Tsachy
author_facet Erdogan, Mete
Gorle, Abhiram
Chandak, Shubham
Pilanci, Mert
Weissman, Tsachy
contents Large language model (LLM) tokenizers act as structured compressors: by mapping text to discrete token sequences, they determine token count (and thus compute and context usage) and the statistical structure seen by downstream models. Despite their central role in LLM pipelines, the link between tokenization, compression efficiency and induced structure is not well understood. We empirically demonstrate that tokenizer training scale redistributes entropy: as training data grows, the token stream becomes more diverse in aggregate (higher unigram entropy) yet markedly more predictable in-context (lower higher-order conditional entropies), indicating that tokenization absorbs substantial short-range regularity although these gains degrade under train-test domain mismatch. To ground these observations, we first benchmark i) pretrained GPT-family tokenizers as black-box compressors across various domains, and ii) learned tokenizers across configurations spanning vocabulary size, training scale, and domain. Next, we study tokenization as a transform for universal compression and introduce a compression-aware BPE variant. Finally, we adopt a channel lens and introduce capacity-utilization metrics to analyze tokenizer behaviour and outline implications for downstream modeling. Put together, our results expose various trade-offs between compression, induced structure, and robustness under domain shift, and motivate principled, compression-aware tokenizer design.
format Preprint
id arxiv_https___arxiv_org_abs_2601_09039
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle An Information-Theoretic Perspective on LLM Tokenizers
Erdogan, Mete
Gorle, Abhiram
Chandak, Shubham
Pilanci, Mert
Weissman, Tsachy
Information Theory
Large language model (LLM) tokenizers act as structured compressors: by mapping text to discrete token sequences, they determine token count (and thus compute and context usage) and the statistical structure seen by downstream models. Despite their central role in LLM pipelines, the link between tokenization, compression efficiency and induced structure is not well understood. We empirically demonstrate that tokenizer training scale redistributes entropy: as training data grows, the token stream becomes more diverse in aggregate (higher unigram entropy) yet markedly more predictable in-context (lower higher-order conditional entropies), indicating that tokenization absorbs substantial short-range regularity although these gains degrade under train-test domain mismatch. To ground these observations, we first benchmark i) pretrained GPT-family tokenizers as black-box compressors across various domains, and ii) learned tokenizers across configurations spanning vocabulary size, training scale, and domain. Next, we study tokenization as a transform for universal compression and introduce a compression-aware BPE variant. Finally, we adopt a channel lens and introduce capacity-utilization metrics to analyze tokenizer behaviour and outline implications for downstream modeling. Put together, our results expose various trade-offs between compression, induced structure, and robustness under domain shift, and motivate principled, compression-aware tokenizer design.
title An Information-Theoretic Perspective on LLM Tokenizers
topic Information Theory
url https://arxiv.org/abs/2601.09039