mlsanityData to 7 Oct 2026

Scaling Laws with Vocabulary: Larger Models Deserve Larger Vocabularies

arXiv 2407.13623 ↗First posted 18 Jul 2024cs.CL cs.AIcited by 113

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

  1. 2017Attention Is All You Needcited by 59,932
  2. 2020Language Models are Few-Shot Learnerscited by 32,199
  3. 2023GPT-4 Technical Reportcited by 18,132
  4. 2022Training language models to follow instructions with human feedbackcited by 15,712
  5. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
  6. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
  7. 2020Scaling Laws for Neural Language Modelscited by 6,411
  8. 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,304
  9. 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,710
  10. 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,018
  11. 2020Taming Transformers for High-Resolution Image Synthesiscited by 3,229
  12. 2015Neural Machine Translation of Rare Words with Subword Unitscited by 2,898
38 more
  1. 2019PIQA: Reasoning about Physical Commonsense in Natural Languagecited by 2,818
  2. 2019BoolQ: Exploring the Surprising Difficulty of Natural Yes/No Questionscited by 2,140
  3. 2018Can a Suit of Armor Conduct Electricity? A New Dataset for Open Book Question Answeringcited by 2,114
  4. 2022BLOOM: A 176B-Parameter Open-Access Multilingual Language Modelcited by 1,968
  5. 2019Megatron-LM: Training Multi-Billion Parameter Language Models Using Model Parallelismcited by 1,829
  6. 2023Pythia: A Suite for Analyzing Large Language Models Across Training and Scalingcited by 1,734
  7. 2021Scaling Language Models: Methods, Analysis & Insights from Training Gophercited by 1,199
  8. 2022Reproducible scaling laws for contrastive language-image learningcited by 1,163
  9. 2021GLM: General Language Model Pretraining with Autoregressive Blank Infillingcited by 1,026
  10. 2024Visual Autoregressive Modeling: Scalable Image Generation via Next-Scale Predictioncited by 1,005
  11. 2023StarCoder: may the source be with you!cited by 790
  12. 2024DeepSeek LLM: Scaling Open-Source Language Models with Longtermismcited by 621
  13. 2024TinyLlama: An Open-Source Small Language Modelcited by 604
  14. 2024BigCodeBench: Benchmarking Code Generation with Diverse Function Calls and Complex Instructionscited by 527
  15. 2023The Falcon Series of Open Language Modelscited by 526
  16. 2024StarCoder 2 and The Stack v2: The Next Generationcited by 484
  17. 2024Dolma: an Open Corpus of Three Trillion Tokens for Language Model Pretraining Researchcited by 475
  18. 2023Llemma: An Open Language Model For Mathematicscited by 385
  19. 2024DataComp-LM: In search of the next generation of training sets for language modelscited by 381
  20. 2021Explaining Neural Scaling Lawscited by 353
  21. 2024Aya Model: An Instruction Finetuned Open-Access Multilingual Language Modelcited by 292
  22. 2019Representation Degeneration Problem in Training Natural Language Generation Modelscited by 250
  23. 2023SantaCoder: don't reach for the stars!cited by 169
  24. 2024DuQuant: Distributing Outliers via Dual Transformation Makes Stronger Quantized LLMscited by 165
  25. 2023MEGABYTE: Predicting Million-byte Sequences with Multiscale Transformerscited by 164
  26. 2023Beyond Chinchilla-Optimal: Accounting for Inference in Language Model Scaling Lawscited by 155
  27. 2024Eagle and Finch: RWKV with Matrix-Valued States and Dynamic Recurrencecited by 155
  28. 2022CM3: A Causal Masked Multimodal Model of the Internetcited by 142
  29. 2023Scaling Laws for Generative Mixed-Modal Language Modelscited by 131
  30. 2024Observational Scaling Laws and the Predictability of Language Model Performancecited by 128
  31. 2024Language models scale reliably with over-training and on downstream taskscited by 105
  32. 2022Scaling Laws vs Model Architectures: How does Inductive Bias Influence Scaling?cited by 103
  33. 2022What Language Model to Train if You Have One Million GPU Hours?cited by 92
  34. 2023XLM-V: Overcoming the Vocabulary Bottleneck in Multilingual Masked Language Modelscited by 88
  35. 2023To Repeat or Not To Repeat: Insights from Scaling LLM under Token-Crisiscited by 88
  36. 2022Compression of Generative Pre-trained Language Models via Quantizationcited by 79
  37. 2020Vocabulary Learning via Optimal Transport for Neural Machine Translationcited by 58
  38. 2020Improving Multilingual Models with Language-Clustered Vocabulariescited by 53

50 most cited of 58 All 58 (JSON)

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 25; 2025: 55; 2026: 33.

113 papers.

Sort:

By area:

  1. 2024OLMoE: Open Mixture-of-Experts Language Modelscited by 291
  2. 2024Scaling Laws for Precisioncited by 92
  3. 2024Addressing Representation Collapse in Vector Quantized Models with One Linear Layercited by 77
  4. 2025Dynamic Chunking for End-to-End Hierarchical Sequence Modelingcited by 65
  5. 2025SuperBPE: Space Travel for Language Modelscited by 58
  6. 2024ScaMo: Exploring the Scaling Law in Autoregressive Motion Generation Modelcited by 52
  7. 2024Scaling Laws for Predicting Downstream Performance in LLMscited by 48
  8. 2025Over-Tokenized Transformer: Vocabulary is Generally Worth Scalingcited by 42
  9. 2024Number Cookbook: Number Understanding of Language Models and How to Improve Itcited by 41
  10. 2025How Do Large Language Monkeys Get Their Power (Laws)?cited by 40
  11. 2024Autoregressive Models in Vision: A Surveycited by 39
  12. 2024Cut Your Losses in Large-Vocabulary Language Modelscited by 35
38 more
  1. 2025MEDA: Dynamic KV Cache Allocation for Efficient Multimodal Long-Context Inferencecited by 31
  2. 2025(Mis)Fitting: A Survey of Scaling Lawscited by 24
  3. 2024A Hitchhiker's Guide to Scaling Law Estimationcited by 23
  4. 2025FR-Spec: Accelerating Large-Vocabulary Language Models via Frequency-Ranked Speculative Samplingcited by 20
  5. 2025Scaling Embedding Layers in Language Modelscited by 19
  6. 2025Scaling Laws for Gradient Descent and Sign Descent for Linear Bigram Models under Zipf's Lawcited by 19
  7. 2025ATLAS: Adaptive Transfer Scaling Laws for Multilingual Pretraining, Finetuning, and Decoding the Curse of Multilingualitycited by 19
  8. 2025The Rise of Small Language Models in Healthcare: A Comprehensive Surveycited by 18
  9. 2025Sailor2: Sailing in South-East Asia with Inclusive Multilingual LLMscited by 17
  10. 2024UNComp: Can Matrix Entropy Uncover Sparsity? -- A Compressor Design from an Uncertainty-Aware Perspectivecited by 14
  11. 2025Scaling Inference-Efficient Language Modelscited by 14
  12. 2025Intrinsic Entropy of Context Length Scaling in LLMscited by 14
  13. 2025Efficient Prediction of Pass@k Scaling in Large Language Modelscited by 14
  14. 2026Scaling Embeddings Outperforms Scaling Experts in Language Modelscited by 13
  15. 2025Tokenization is Sensitive to Language Variationcited by 12
  16. 2025Understanding Stragglers in Large Model Training Using What-if Analysiscited by 12
  17. 2025Can Language Models Discover Scaling Laws?cited by 12
  18. 2025Beyond Text Compression: Evaluating Tokenizers Across Scalescited by 11
  19. 2025One Tokenizer To Rule Them All: Emergent Language Plasticity via Multilingual Tokenizerscited by 11
  20. 2024Tokenisation is NP-Completecited by 10
  21. 2025CORAL: Learning Consistent Representations across Multi-step Training with Lighter Speculative Draftercited by 9
  22. 2025When Large Language Models Meet Speech: A Survey on Integration Approachescited by 9
  23. 2025The Lucie-7B LLM and the Lucie Training Dataset: Open resources for multilingual language generationcited by 9
  24. 2024Famba-V: Fast Vision Mamba with Cross-Layer Token Fusioncited by 8
  25. 2025FLEXITOKENS: Flexible Tokenization for Evolving Language Modelscited by 8
  26. 2025Spectral Scaling Laws in Language Models: How Effectively Do Feed-Forward Networks Use Their Latent Space?cited by 8
  27. 2024Designing Large Foundation Models for Efficient Training and Inference: A Surveycited by 7
  28. 2025Unveiling Downstream Performance Scaling of LLMs: A Clustering-Based Perspectivecited by 7
  29. 2025Shadow-FT: Tuning Instruct Model via Training on Paired Base Modelcited by 7
  30. 2025Exploiting Vocabulary Frequency Imbalance in Language Model Pre-trainingcited by 7
  31. 2024Performance Law of Large Language Modelscited by 6
  32. 2024Elucidating the design space of language models for image generationcited by 6
  33. 2024KuaiFormer: Transformer-Based Retrieval at Kuaishoucited by 6
  34. 2025Understanding Generative Recommendation with Semantic IDs from a Model-scaling Viewcited by 6
  35. 2025Spherical Leech Quantization for Visual Tokenization and Generationcited by 6
  36. 2026Speculative Decoding with a Speculative Vocabularycited by 6
  37. 2024From English-Centric to Effective Bilingual: LLMs with Custom Tokenizers for Underrepresented Languagescited by 5
  38. 2025Position: Enough of Scaling LLMs! Lets Focus on Downscalingcited by 5

50 most cited of 113 All 113 (JSON)