mlsanityData to 24 Nov 2026

The Vocabulary Tax: Safely Trimming Unused Tokens from LLMs for On-Device Use

arXiv 2611.19913 ↗Submitted 15 Nov 2026cs.CL cs.AIcited by 0

Not on the map. Why?

Abstract (arXiv)

Open large language models (LLMs) and speech models ship vocabularies of up to 262k tokens, and every user downloads the tables those tokens index (the input embedding, an untied output head and, in recent on-device models, per-layer embeddings), whatever languages they need. We call the bytes in rows a deployment never uses the vocabulary tax and measure it, without downloading weights, for 1,244 generative and speech-recognition models on the Hugging Face Hub. For a Thai and English deployment it is a median 4.4% of model bytes below 0.5B parameters and 2.1% above 8B, and 1.93 GB in Gemma 4 E2B: it falls hardest on the small models that edge devices run. Keeping only the rows of the deployment's writing systems is exact. Keeping the tokens seen in the user's own text removes much more, a median 29.0% below 0.5B, but the usual way of doing it breaks BPE tokenizers: it drops the intermediate tokens that merges build on, so new text is split differently 1.9 times as often as the standard check reports. We repair this with merge closure, at a cost of 5.9% more rows, and add a trim certificate: a Good-Turing estimate, from the trimming text alone, of how much new text the trimmed tokenizer will split differently (correlation 0.996 over 300 settings in 22 languages) and of how much more text a target needs. Without test data our method never exceeds a 2% target, while prior keep rules checked on test data exceed it in 9-13 of 44 settings. On six models of 270M to 3B parameters in 11 languages, trimmed models keep their predictions: where the certificate passes, a median 89.7% of rows is removed and bits per character rise by at most 2.0%. The census, the trimming and the certificate are released as an open Python package, and the per-model tax for 41 languages as an open dataset.

Key facts. No citing papers in the map yet (data through 24 Nov 2026). Builds on 12 of its 27 references that are in the map. Submitted 15 Nov 2026.

Builds on

12 of 27 references.

References · 12

  1. 2022Robust Speech Recognition via Large-Scale Weak Supervisioncited by 4,833
  2. 2015Neural Machine Translation of Rare Words with Subword Unitscited by 3,052
  3. 2018SentencePiece: A simple and language independent subword tokenizer and detokenizer for Neural Text Processingcited by 2,092
  4. 2023The Belebele Benchmark: a Parallel Reading Comprehension Dataset in 122 Language Variantscited by 357
  5. 2020How Good is Your Tokenizer? On the Monolingual Performance of Multilingual Language Modelscited by 345
  6. 2023Language Model Tokenizers Introduce Unfairness Between Languagescited by 241
  7. 2023Do All Languages Cost the Same? Tokenization in the Era of Commercial Language Modelscited by 218
  8. 2024Fishing for Magikarp: Automatically Detecting Under-trained Tokens in Large Language Modelscited by 55
  9. 2023An Efficient Multilingual Language Model Compression through Vocabulary Trimmingcited by 23
  10. 2026Balancing Coverage and Draft Latency in Vocabulary Trimming for Faster Speculative Decodingcited by 2
  11. 2025On Multilingual Encoder Language Model Compression for Low-Resource Languagescited by 1
  12. 2025COMPACT: Common-token Optimized Model Pruning Across Channels and Tokenscited by 1

Built on by

Not cited yet.