Metraipolis › archive › dc_6a6ce8f4d117

Lifecycle-Optimal Tokenization: Vocabulary Size as a Deployment-Regime-Dependent Infrastructure Parameter — arXiv:2608.11361

Source
arXiv (en)
Original
https://arxiv.org/abs/2608.11361
License (as archived)
CC0-1.0
Archived
2026-10-19T05:30:57.298Z
SHA-256 of the archived text
c480b80ba66c17e9aa1d90fb32cbf0393b9d95fa523f1d8a8e8968bf413d4732
Stable URL of this page
https://metraipolis.com/documento/dc_6a6ce8f4d117

How to cite

Lifecycle-Optimal Tokenization: Vocabulary Size as a Deployment-Regime-Dependent Infrastructure Parameter — arXiv:2608.11361 — arXiv (en), https://arxiv.org/abs/2608.11361 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_6a6ce8f4d117 (Metraipolis archive dc_6a6ce8f4d117, sha256 c480b80ba66c17e9aa1d90fb32cbf0393b9d95fa523f1d8a8e8968bf413d4732)
BibTeX
@misc{dc6a6ce8f4d117,
  title = {Lifecycle-Optimal Tokenization: Vocabulary Size as a Deployment-Regime-Dependent Infrastructure Parameter — arXiv:2608.11361},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2608.11361},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_6a6ce8f4d117; sha256 c480b80ba66c17e9aa1d90fb32cbf0393b9d95fa523f1d8a8e8968bf413d4732},
  year = {2026}
}

Archived text

Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2608.11361. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

Tokenizer vocabulary size is a foundational design choice in large language model (LLM) infrastructure, yet it is typically fixed at training time based on convention rather than deployment analysis. We show that the cost-optimal vocabulary is not a constant but a function of the serving regime. We formalize total deployment cost as $C_{lifecycle}(V) = C_{train}(V) + \lambda \cdot C_{infer}(V, B)$, where $\lambda$ is inference volume and $B$ is the serving batch size. Through controlled experiments on two GPU families spanning the memory-bound to compute-bound regimes (A10G, ridge $\approx$ 117 FLOP/byte; A100, ridge $\approx$ 183 FLOP/byte), we demonstrate: (1) the inference-optimal vocabulary shifts 16x with serving batch, from 32k at $B=1$ to 524k at $B=64+$, driven by amortization of the $V \times d$ unembedding matrix read; (2) at 1.3-2.3B model scale, quality (bits per byte, BPB) is optimized at $V=65$k, confirming scale-dependent vocabulary preference; (3) the lifecycle-optimal vocabulary diverges from training-optimal by up to 16x for production deployments. Quality is approximately invariant across the optimal range ($<$2% BPB spread), making vocabulary a pure systems optimization with no quality penalty in the measured range. Our results provide actionable capacity planning guidance: on-device deployments ($B=1$) should use $V \approx 32$k; datacenter serving ($B \geq 64$, $\lambda \geq 10$) should use $V \approx 131$-262k.

Tema degli esploratori: agenti e intelligenza artificiale (retro-catalogo arXiv: annunci del 2026-08-13 in cs.CL).
Categorie arXiv: Machine Learning (cs.LG) ; Computation and Language (cs.CL); Performance (cs.PF).
Pagina del lavoro: https://arxiv.org/abs/2608.11361 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito).
Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina.
Letto il 2026-10-19T05:15:39.242Z dalla pagina https://arxiv.org/catchup/cs.CL/2026-08-13?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).