Scaling Laws with Vocabulary: Larger Models Deserve Larger Vocabularies
Not on the map. Why?
Abstract (arXiv)
Research on scaling large language models (LLMs) has primarily focused on model parameters and training data size, overlooking the role of vocabulary size. We investigate how vocabulary size impacts LLM scaling laws by training models ranging from 33M to 3B parameters on up to 500B characters with various vocabulary configurations. We propose three complementary approaches for predicting the compute-optimal vocabulary size: IsoFLOPs analysis, derivative estimation, and parametric fit of the loss function. Our approaches converge on the conclusion that the optimal vocabulary size depends on the compute budget, with larger models requiring larger vocabularies. Most LLMs, however, use insufficient vocabulary sizes. For example, we predict that the optimal vocabulary size of Llama2-70B should have been at least 216K, 7 times larger than its vocabulary of 32K. We validate our predictions empirically by training models with 3B parameters across different FLOPs budgets. Adopting our predicted optimal vocabulary size consistently improves downstream performance over commonly used vocabulary sizes. By increasing the vocabulary size from the conventional 32K to 43K, we improve performance on ARC-Challenge from 29.1 to 32.0 with the same 2.3e21 FLOPs. Our work highlights the importance of jointly considering tokenization and model scaling for efficient pre-training. The code and demo are available at https://github.com/sail-sg/scaling-with-vocab and https://hf.co/spaces/sail/scaling-with-vocab-demo.
Key facts. Cited by 113 papers in the map (data through 7 Oct 2026). Builds on 58 of its 80 references that are in the map. First posted on arXiv 18 Jul 2024.
Builds on
58 of 80 references.
References · 58
- 2017Attention Is All You Needcited by 59,932
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2023GPT-4 Technical Reportcited by 18,132
- 2022Training language models to follow instructions with human feedbackcited by 15,712
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
- 2020Scaling Laws for Neural Language Modelscited by 6,411
- 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,304
- 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,710
- 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,018
- 2020Taming Transformers for High-Resolution Image Synthesiscited by 3,229
- 2015Neural Machine Translation of Rare Words with Subword Unitscited by 2,898
38 more
- 2019PIQA: Reasoning about Physical Commonsense in Natural Languagecited by 2,818
- 2019BoolQ: Exploring the Surprising Difficulty of Natural Yes/No Questionscited by 2,140
- 2018Can a Suit of Armor Conduct Electricity? A New Dataset for Open Book Question Answeringcited by 2,114
- 2022BLOOM: A 176B-Parameter Open-Access Multilingual Language Modelcited by 1,968
- 2019Megatron-LM: Training Multi-Billion Parameter Language Models Using Model Parallelismcited by 1,829
- 2023Pythia: A Suite for Analyzing Large Language Models Across Training and Scalingcited by 1,734
- 2021Scaling Language Models: Methods, Analysis & Insights from Training Gophercited by 1,199
- 2022Reproducible scaling laws for contrastive language-image learningcited by 1,163
- 2021GLM: General Language Model Pretraining with Autoregressive Blank Infillingcited by 1,026
- 2024Visual Autoregressive Modeling: Scalable Image Generation via Next-Scale Predictioncited by 1,005
- 2023StarCoder: may the source be with you!cited by 790
- 2024DeepSeek LLM: Scaling Open-Source Language Models with Longtermismcited by 621
- 2024TinyLlama: An Open-Source Small Language Modelcited by 604
- 2024BigCodeBench: Benchmarking Code Generation with Diverse Function Calls and Complex Instructionscited by 527
- 2023The Falcon Series of Open Language Modelscited by 526
- 2024StarCoder 2 and The Stack v2: The Next Generationcited by 484
- 2024Dolma: an Open Corpus of Three Trillion Tokens for Language Model Pretraining Researchcited by 475
- 2023Llemma: An Open Language Model For Mathematicscited by 385
- 2024DataComp-LM: In search of the next generation of training sets for language modelscited by 381
- 2021Explaining Neural Scaling Lawscited by 353
- 2024Aya Model: An Instruction Finetuned Open-Access Multilingual Language Modelcited by 292
- 2019Representation Degeneration Problem in Training Natural Language Generation Modelscited by 250
- 2023SantaCoder: don't reach for the stars!cited by 169
- 2024DuQuant: Distributing Outliers via Dual Transformation Makes Stronger Quantized LLMscited by 165
- 2023MEGABYTE: Predicting Million-byte Sequences with Multiscale Transformerscited by 164
- 2023Beyond Chinchilla-Optimal: Accounting for Inference in Language Model Scaling Lawscited by 155
- 2024Eagle and Finch: RWKV with Matrix-Valued States and Dynamic Recurrencecited by 155
- 2022CM3: A Causal Masked Multimodal Model of the Internetcited by 142
- 2023Scaling Laws for Generative Mixed-Modal Language Modelscited by 131
- 2024Observational Scaling Laws and the Predictability of Language Model Performancecited by 128
- 2024Language models scale reliably with over-training and on downstream taskscited by 105
- 2022Scaling Laws vs Model Architectures: How does Inductive Bias Influence Scaling?cited by 103
- 2022What Language Model to Train if You Have One Million GPU Hours?cited by 92
- 2023XLM-V: Overcoming the Vocabulary Bottleneck in Multilingual Masked Language Modelscited by 88
- 2023To Repeat or Not To Repeat: Insights from Scaling LLM under Token-Crisiscited by 88
- 2022Compression of Generative Pre-trained Language Models via Quantizationcited by 79
- 2020Vocabulary Learning via Optimal Transport for Neural Machine Translationcited by 58
- 2020Improving Multilingual Models with Language-Clustered Vocabulariescited by 53
50 most cited of 58 All 58 (JSON)
Built on by
Citing papers per year: 2024: 25; 2025: 55; 2026: 33.
113 papers.
Sort:
By area:
- 2024OLMoE: Open Mixture-of-Experts Language Modelscited by 291
- 2024Scaling Laws for Precisioncited by 92
- 2024Addressing Representation Collapse in Vector Quantized Models with One Linear Layercited by 77
- 2025Dynamic Chunking for End-to-End Hierarchical Sequence Modelingcited by 65
- 2025SuperBPE: Space Travel for Language Modelscited by 58
- 2024ScaMo: Exploring the Scaling Law in Autoregressive Motion Generation Modelcited by 52
- 2024Scaling Laws for Predicting Downstream Performance in LLMscited by 48
- 2025Over-Tokenized Transformer: Vocabulary is Generally Worth Scalingcited by 42
- 2024Number Cookbook: Number Understanding of Language Models and How to Improve Itcited by 41
- 2025How Do Large Language Monkeys Get Their Power (Laws)?cited by 40
- 2024Autoregressive Models in Vision: A Surveycited by 39
- 2024Cut Your Losses in Large-Vocabulary Language Modelscited by 35
38 more
- 2025MEDA: Dynamic KV Cache Allocation for Efficient Multimodal Long-Context Inferencecited by 31
- 2025(Mis)Fitting: A Survey of Scaling Lawscited by 24
- 2024A Hitchhiker's Guide to Scaling Law Estimationcited by 23
- 2025FR-Spec: Accelerating Large-Vocabulary Language Models via Frequency-Ranked Speculative Samplingcited by 20
- 2025Scaling Embedding Layers in Language Modelscited by 19
- 2025Scaling Laws for Gradient Descent and Sign Descent for Linear Bigram Models under Zipf's Lawcited by 19
- 2025ATLAS: Adaptive Transfer Scaling Laws for Multilingual Pretraining, Finetuning, and Decoding the Curse of Multilingualitycited by 19
- 2025The Rise of Small Language Models in Healthcare: A Comprehensive Surveycited by 18
- 2025Sailor2: Sailing in South-East Asia with Inclusive Multilingual LLMscited by 17
- 2024UNComp: Can Matrix Entropy Uncover Sparsity? -- A Compressor Design from an Uncertainty-Aware Perspectivecited by 14
- 2025Scaling Inference-Efficient Language Modelscited by 14
- 2025Intrinsic Entropy of Context Length Scaling in LLMscited by 14
- 2025Efficient Prediction of Pass@k Scaling in Large Language Modelscited by 14
- 2026Scaling Embeddings Outperforms Scaling Experts in Language Modelscited by 13
- 2025Tokenization is Sensitive to Language Variationcited by 12
- 2025Understanding Stragglers in Large Model Training Using What-if Analysiscited by 12
- 2025Can Language Models Discover Scaling Laws?cited by 12
- 2025Beyond Text Compression: Evaluating Tokenizers Across Scalescited by 11
- 2025One Tokenizer To Rule Them All: Emergent Language Plasticity via Multilingual Tokenizerscited by 11
- 2024Tokenisation is NP-Completecited by 10
- 2025CORAL: Learning Consistent Representations across Multi-step Training with Lighter Speculative Draftercited by 9
- 2025When Large Language Models Meet Speech: A Survey on Integration Approachescited by 9
- 2025The Lucie-7B LLM and the Lucie Training Dataset: Open resources for multilingual language generationcited by 9
- 2024Famba-V: Fast Vision Mamba with Cross-Layer Token Fusioncited by 8
- 2025FLEXITOKENS: Flexible Tokenization for Evolving Language Modelscited by 8
- 2025Spectral Scaling Laws in Language Models: How Effectively Do Feed-Forward Networks Use Their Latent Space?cited by 8
- 2024Designing Large Foundation Models for Efficient Training and Inference: A Surveycited by 7
- 2025Unveiling Downstream Performance Scaling of LLMs: A Clustering-Based Perspectivecited by 7
- 2025Shadow-FT: Tuning Instruct Model via Training on Paired Base Modelcited by 7
- 2025Exploiting Vocabulary Frequency Imbalance in Language Model Pre-trainingcited by 7
- 2024Performance Law of Large Language Modelscited by 6
- 2024Elucidating the design space of language models for image generationcited by 6
- 2024KuaiFormer: Transformer-Based Retrieval at Kuaishoucited by 6
- 2025Understanding Generative Recommendation with Semantic IDs from a Model-scaling Viewcited by 6
- 2025Spherical Leech Quantization for Visual Tokenization and Generationcited by 6
- 2026Speculative Decoding with a Speculative Vocabularycited by 6
- 2024From English-Centric to Effective Bilingual: LLMs with Custom Tokenizers for Underrepresented Languagescited by 5
- 2025Position: Enough of Scaling LLMs! Lets Focus on Downscalingcited by 5
50 most cited of 113 All 113 (JSON)
- 2026Relative Generalization Invariance of LLM Pretraining26 Sep 2026
- 2026Softmax Reparameterization for Output-Head Quantization25 Sep 2026
- 2026Learning New Words from Unlabeled Test Data in Automatic Speech Recognition24 Sep 2026
- 2026Entropy Can Flow, or It Can Guide. Be Entropy. LEDFlow: Introducing Entropy-guided Generation Order into Uniform Discrete Flow20 Sep 2026
- 2026MoME: Mixture-of-Memory Embeddings for Context-Aware Sparse Lookup14 Sep 2026
- 2026Abra: Scaling Diffusion Image Training18 Aug 2026
- 2026Lifecycle-Optimal Tokenization: Vocabulary Size as a Deployment-Regime-Dependent Infrastructure Parameter11 Aug 2026
- 2026Position: Don't Just "Fix it in Post": A Science of AI Must Study Training Dynamics3 Jun 2026
- 2026Validity Threats for Foundation Model Research3 Jun 2026
- 2026Dywave: Event-Aligned Dynamic Tokenization for Heterogeneous IoT Sensing Signals13 May 2026
- 2026Effective Context in Transformers: An Analysis of Fragmentation and Tokenization13 May 2026
- 2026The Efficiency Gap in Byte Modeling13 May 2026
38 more
- 2026Compute Optimal Tokenization2 May 2026
- 2026Decoupling the Benefits of Subword Tokenization for Language Model Training via Byte-level Simulation29 Apr 2026
- 2026Barriers to Universal Reasoning With Transformers (And How to Overcome Them)28 Apr 2026
- 2026Spend Less, Fit Better: Budget-Efficient Scaling Law Fitting via Active Experiment Selection24 Apr 2026
- 2026Understanding Secret Leakage Risks in Code LLMs: A Tokenization Perspective20 Apr 2026
- 2026NanoSpec: Accelerating Speculative Decoding using Minimalist In-Context Vocabularies8 Apr 2026
- 2026Vocabulary shapes cross-lingual variation of word-order learnability in language models19 Mar 2026
- 2026FlashHead: Efficient Drop-In Replacement for the Classification Head in Language Model Inference15 Mar 2026
- 2026Investigating Gender Stereotypes in Large Language Models via Social Determinants of Health10 Mar 2026
- 2026You Can Learn Tokenization End-to-End with Reinforcement Learning15 Feb 2026
- 2026Speculative Decoding with a Speculative Vocabulary14 Feb 2026
- 2026Benchmarks Are Not That Out of Distribution: Word Overlap Predicts Performance11 Feb 2026
- 2026Proxy Compression for Language Modeling4 Feb 2026
- 2026JTok: On Token Embedding as another Axis of Scaling Law via Joint Token Self-modulation31 Jan 2026
- 2026ConceptMoE: Adaptive Token-to-Concept Compression for Implicit Compute Allocation29 Jan 2026
- 2026Scaling Embeddings Outperforms Scaling Experts in Language Models29 Jan 2026
- 2026The Script Tax: Measuring Tokenization-Driven Efficiency and Latency Disparities in Multilingual Language Models19 Jan 2026
- 2026Stop Taking Tokenizers for Granted: They Are Core Design Decisions in Large Language Models19 Jan 2026
- 2026A.X K1 Technical Report14 Jan 2026
- 2026CyberGFM: Graph Foundation Models for Lateral Movement Detection in Enterprise Networks9 Jan 2026
- 2026Training Language Models with homotokens Leads to Delayed Overfitting6 Jan 2026
- 2025TokSuite: Measuring the Impact of Tokenizer Choice on Language Model Behavior23 Dec 2025
- 2025Cross-Tokenizer Likelihood Scoring Algorithms for Language Model Distillation16 Dec 2025
- 2025Spherical Leech Quantization for Visual Tokenization and Generation16 Dec 2025
- 2025From Zipf's Law to Neural Scaling through Heaps' Law and Hilberg's Hypothesis15 Dec 2025
- 2025MiniLingua: A Small Open-Source LLM for European Languages15 Dec 2025
- 2025Length-MAX Tokenizer for Language Models25 Nov 2025
- 2025From Projection to Prediction: Beyond Logits for Scalable Language Models18 Nov 2025
- 2025Virtual Width Networks14 Nov 2025
- 2025ATLAS: Adaptive Transfer Scaling Laws for Multilingual Pretraining, Finetuning, and Decoding the Curse of Multilinguality24 Oct 2025
- 2025Vocab Diet: Reshaping the Vocabulary of LLMs via Vector Arithmetic19 Oct 2025
- 2025DynaSpec: Context-aware Dynamic Speculative Sampling for Large-Vocabulary Language Models11 Oct 2025
- 2025Membership Inference Attacks on Tokenizers of Large Language Models7 Oct 2025
- 2025Efficient Prediction of Pass@k Scaling in Large Language Models6 Oct 2025
- 2025xLSTM Scaling Laws: Competitive Performance with Linear Time-Complexity2 Oct 2025
- 2025Spectral Scaling Laws in Language Models: How Effectively Do Feed-Forward Networks Use Their Latent Space?1 Oct 2025
- 2025Scaling Laws Revisited: Modeling the Role of Data Quality in Language Model Pretraining30 Sep 2025
- 2025Understanding Generative Recommendation with Semantic IDs from a Model-scaling View29 Sep 2025
50 newest of 113 All 113 (JSON)
- 2025FR-Spec: Accelerating Large-Vocabulary Language Models via Frequency-Ranked Speculative Samplingcited by 20
- 2024UNComp: Can Matrix Entropy Uncover Sparsity? -- A Compressor Design from an Uncertainty-Aware Perspectivecited by 14
- 2025CORAL: Learning Consistent Representations across Multi-step Training with Lighter Speculative Draftercited by 9
- 2026Speculative Decoding with a Speculative Vocabularycited by 6
- 2025XSpecMesh: Quality-Preserving Auto-Regressive Mesh Generation Acceleration via Multi-Head Speculative Decodingcited by 5
- 2024Dynamic Vocabulary Pruning in Early-Exit LLMscited by 4
- 2025DynaSpec: Context-aware Dynamic Speculative Sampling for Large-Vocabulary Language Modelscited by 4
- 2026NanoSpec: Accelerating Speculative Decoding using Minimalist In-Context Vocabulariescited by 1
- 2026NanoSpec: Accelerating Speculative Decoding using Minimalist In-Context Vocabularies8 Apr 2026
- 2026Speculative Decoding with a Speculative Vocabulary14 Feb 2026
- 2025DynaSpec: Context-aware Dynamic Speculative Sampling for Large-Vocabulary Language Models11 Oct 2025
- 2025XSpecMesh: Quality-Preserving Auto-Regressive Mesh Generation Acceleration via Multi-Head Speculative Decoding31 Jul 2025
- 2025CORAL: Learning Consistent Representations across Multi-step Training with Lighter Speculative Drafter24 Feb 2025
- 2025FR-Spec: Accelerating Large-Vocabulary Language Models via Frequency-Ranked Speculative Sampling20 Feb 2025
- 2024Dynamic Vocabulary Pruning in Early-Exit LLMs24 Oct 2024
- 2024UNComp: Can Matrix Entropy Uncover Sparsity? -- A Compressor Design from an Uncertainty-Aware Perspective4 Oct 2024
- 2024OLMoE: Open Mixture-of-Experts Language Modelscited by 291
- 2026Scaling Embeddings Outperforms Scaling Experts in Language Modelscited by 13
- 2026ConceptMoE: Adaptive Token-to-Concept Compression for Implicit Compute Allocationcited by 2
- 2026JTok: On Token Embedding as another Axis of Scaling Law via Joint Token Self-modulationcited by 2
- 2026A.X K1 Technical Reportcited by 0
- 2026MoME: Mixture-of-Memory Embeddings for Context-Aware Sparse Lookupcited by 0
- 2026MoME: Mixture-of-Memory Embeddings for Context-Aware Sparse Lookup14 Sep 2026
- 2026JTok: On Token Embedding as another Axis of Scaling Law via Joint Token Self-modulation31 Jan 2026
- 2026ConceptMoE: Adaptive Token-to-Concept Compression for Implicit Compute Allocation29 Jan 2026
- 2026Scaling Embeddings Outperforms Scaling Experts in Language Models29 Jan 2026
- 2026A.X K1 Technical Report14 Jan 2026
- 2024OLMoE: Open Mixture-of-Experts Language Models3 Sep 2024
- 2026Abra: Scaling Diffusion Image Trainingcited by 1
- 2026Abra: Scaling Diffusion Image Training18 Aug 2026
- 2024Scaling Laws for Precisioncited by 92
- 2024Addressing Representation Collapse in Vector Quantized Models with One Linear Layercited by 77
- 2025Dynamic Chunking for End-to-End Hierarchical Sequence Modelingcited by 65
- 2025SuperBPE: Space Travel for Language Modelscited by 58
- 2024ScaMo: Exploring the Scaling Law in Autoregressive Motion Generation Modelcited by 52
- 2024Scaling Laws for Predicting Downstream Performance in LLMscited by 48
- 2025Over-Tokenized Transformer: Vocabulary is Generally Worth Scalingcited by 42
- 2024Number Cookbook: Number Understanding of Language Models and How to Improve Itcited by 41
- 2024Autoregressive Models in Vision: A Surveycited by 39
- 2024Cut Your Losses in Large-Vocabulary Language Modelscited by 35
- 2025(Mis)Fitting: A Survey of Scaling Lawscited by 24
- 2024A Hitchhiker's Guide to Scaling Law Estimationcited by 23
12 most cited of 91 All 91 (JSON)
- 2026Relative Generalization Invariance of LLM Pretraining26 Sep 2026
- 2026Softmax Reparameterization for Output-Head Quantization25 Sep 2026
- 2026Learning New Words from Unlabeled Test Data in Automatic Speech Recognition24 Sep 2026
- 2026Entropy Can Flow, or It Can Guide. Be Entropy. LEDFlow: Introducing Entropy-guided Generation Order into Uniform Discrete Flow20 Sep 2026
- 2026Lifecycle-Optimal Tokenization: Vocabulary Size as a Deployment-Regime-Dependent Infrastructure Parameter11 Aug 2026
- 2026Position: Don't Just "Fix it in Post": A Science of AI Must Study Training Dynamics3 Jun 2026
- 2026Validity Threats for Foundation Model Research3 Jun 2026
- 2026Dywave: Event-Aligned Dynamic Tokenization for Heterogeneous IoT Sensing Signals13 May 2026
- 2026Effective Context in Transformers: An Analysis of Fragmentation and Tokenization13 May 2026
- 2026The Efficiency Gap in Byte Modeling13 May 2026
- 2026Compute Optimal Tokenization2 May 2026
- 2026Decoupling the Benefits of Subword Tokenization for Language Model Training via Byte-level Simulation29 Apr 2026
12 newest of 91 All 91 (JSON)