Scaffold-BPE: Enhancing Byte Pair Encoding for Large Language Models with Simple and Effective Scaffold Token Removal
Not on the map. Why?
Abstract (arXiv)
Byte Pair Encoding (BPE) serves as a foundation method for text tokenization in the Natural Language Processing (NLP) field. Despite its wide adoption, the original BPE algorithm harbors an inherent flaw: it inadvertently introduces a frequency imbalance for tokens in the text corpus. Since BPE iteratively merges the most frequent token pair in the text corpus to generate a new token and keeps all generated tokens in the vocabulary, it unavoidably holds tokens that primarily act as components of a longer token and appear infrequently on their own. We term such tokens as Scaffold Tokens. Due to their infrequent occurrences in the text corpus, Scaffold Tokens pose a learning imbalance issue. To address that issue, we propose Scaffold-BPE, which incorporates a dynamic scaffold token removal mechanism by parameter-free, computation-light, and easy-to-implement modifications to the original BPE method. This novel approach ensures the exclusion of low-frequency Scaffold Tokens from the token representations for given texts, thereby mitigating the issue of frequency imbalance and facilitating model training. On extensive experiments across language modeling and even machine translation, Scaffold-BPE consistently outperforms the original BPE, well demonstrating its effectiveness.
Key facts. Cited by 16 papers in the map (data through 7 Oct 2026). Builds on 28 of its 53 references that are in the map. First posted on arXiv 27 Apr 2024.
Builds on
28 of 53 references.
References · 28
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
- 2020Scaling Laws for Neural Language Modelscited by 6,411
- 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,018
- 2022OPT: Open Pre-trained Transformer Language Modelscited by 3,464
- 2015Neural Machine Translation of Rare Words with Subword Unitscited by 2,898
- 2017TriviaQA: A Large Scale Distantly Supervised Challenge Dataset for Reading Comprehensioncited by 2,895
- 2020The Pile: An 800GB Dataset of Diverse Text for Language Modelingcited by 2,346
- 2020DeBERTa: Decoding-enhanced BERT with Disentangled Attentioncited by 2,157
- 2018Can a Suit of Armor Conduct Electricity? A New Dataset for Open Book Question Answeringcited by 2,114
- 2018SentencePiece: A simple and language independent subword tokenizer and detokenizer for Neural Text Processingcited by 1,973
16 more
- 2017Decoupled Weight Decay Regularizationcited by 1,722
- 2021Scaling Language Models: Methods, Analysis & Insights from Training Gophercited by 1,199
- 2023Baichuan 2: Open Large-scale Language Modelscited by 664
- 2016A Corpus and Evaluation Framework for Deeper Understanding of Commonsense Storiescited by 413
- 2023DoReMi: Optimizing Data Mixtures Speeds Up Language Model Pretrainingcited by 385
- 2019BPE-Dropout: Simple and Effective Subword Regularizationcited by 189
- 2024Tokenization Is More Than Compressioncited by 87
- 2019Revisiting Low-Resource Neural Machine Translation: A Case Studycited by 61
- 2020Vocabulary Learning via Optimal Transport for Neural Machine Translationcited by 58
- 2020Dynamic Programming Encoding for Subword Segmentation in Neural Machine Translationcited by 38
- 2016Character-based Neural Machine Translationcited by 33
- 2019SocialIQA: Commonsense Reasoning about Social Interactionscited by 33
- 2019A Call for Prudent Choice of Subword Merge Operations in Neural Machine Translationcited by 30
- 2023MorphPiece : A Linguistic Tokenizer for Large Language Modelscited by 9
- 2023MiLe Loss: a New Entropy-Weighed Loss for Mitigating the Bias of Learning Difficulties in Large Language Modelscited by 8
- 2020Finding the Optimal Vocabulary Size for Neural Machine Translationcited by 1
Built on by
Citing papers per year: 2025: 8; 2026: 8.
16 papers.
Sort:
- 2025Boundless Byte Pair Encoding: Breaking the Pre-tokenization Barriercited by 31
- 2025Is Your LLM Overcharging You? Tokenization, Transparency, and Incentivescited by 13
- 2026Stop Taking Tokenizers for Granted: They Are Core Design Decisions in Large Language Modelscited by 5
- 2026MinGram: A Minimalist Unigram Tokenizer with High Compression and Competitive Morphological Alignmentcited by 5
- 2025Evaluation of LLMs in Medical Text Summarization: The Role of Vocabulary Adaptation in High OOV Settingscited by 4
- 2025Auditing Pay-Per-Token in Large Language Modelscited by 4
- 2026Tokenisation via Convex Relaxationscited by 4
- 2026LiteToken: Removing Intermediate Merge Residues From BPE Tokenizerscited by 3
- 2025Multilingual Tokenization through the Lens of Indian Languages: Challenges and Insightscited by 2
- 2025MUTANT: A Recipe for Multilingual Tokenizer Designcited by 2
- 2025Teaching Old Tokenizers New Words: Efficient Tokenizer Adaptation for Pre-trained Modelscited by 2
- 2025Broken Words, Broken Performance: Effect of Tokenization on Performance of LLMscited by 2
4 more
- 2026Pruned BPE: Post-training Visibility Pruning and Token Reallocation for Byte Pair Encodingcited by 1
- 2026Where to cut, how deep: BPE and Unigram-LM on chemistry SMILEScited by 0
- 2026BHARATI: Morphology-Aware Tokenizers for Classical Indian Languages with Subword Fertility Analysiscited by 0
- 2026Counting and Min-Cost Encoding for Tokenization in Large Language Modelscited by 0
- 2026Counting and Min-Cost Encoding for Tokenization in Large Language Models1 Oct 2026
- 2026Pruned BPE: Post-training Visibility Pruning and Token Reallocation for Byte Pair Encoding1 Aug 2026
- 2026BHARATI: Morphology-Aware Tokenizers for Classical Indian Languages with Subword Fertility Analysis25 Jul 2026
- 2026Where to cut, how deep: BPE and Unigram-LM on chemistry SMILES6 Jul 2026
- 2026MinGram: A Minimalist Unigram Tokenizer with High Compression and Competitive Morphological Alignment25 Jun 2026
- 2026Tokenisation via Convex Relaxations21 May 2026
- 2026LiteToken: Removing Intermediate Merge Residues From BPE Tokenizers4 Feb 2026
- 2026Stop Taking Tokenizers for Granted: They Are Core Design Decisions in Large Language Models19 Jan 2026
- 2025Broken Words, Broken Performance: Effect of Tokenization on Performance of LLMs26 Dec 2025
- 2025Teaching Old Tokenizers New Words: Efficient Tokenizer Adaptation for Pre-trained Models3 Dec 2025
- 2025MUTANT: A Recipe for Multilingual Tokenizer Design5 Nov 2025
- 2025Auditing Pay-Per-Token in Large Language Models5 Oct 2025
4 more
- 2025Multilingual Tokenization through the Lens of Indian Languages: Challenges and Insights21 Jun 2025
- 2025Is Your LLM Overcharging You? Tokenization, Transparency, and Incentives27 May 2025
- 2025Evaluation of LLMs in Medical Text Summarization: The Role of Vocabulary Adaptation in High OOV Settings27 May 2025
- 2025Boundless Byte Pair Encoding: Breaking the Pre-tokenization Barrier31 Mar 2025
- 2025Boundless Byte Pair Encoding: Breaking the Pre-tokenization Barriercited by 31
- 2025Is Your LLM Overcharging You? Tokenization, Transparency, and Incentivescited by 13
- 2026Stop Taking Tokenizers for Granted: They Are Core Design Decisions in Large Language Modelscited by 5
- 2026MinGram: A Minimalist Unigram Tokenizer with High Compression and Competitive Morphological Alignmentcited by 5
- 2025Evaluation of LLMs in Medical Text Summarization: The Role of Vocabulary Adaptation in High OOV Settingscited by 4
- 2025Auditing Pay-Per-Token in Large Language Modelscited by 4
- 2026Tokenisation via Convex Relaxationscited by 4
- 2026LiteToken: Removing Intermediate Merge Residues From BPE Tokenizerscited by 3
- 2025Multilingual Tokenization through the Lens of Indian Languages: Challenges and Insightscited by 2
- 2025MUTANT: A Recipe for Multilingual Tokenizer Designcited by 2
- 2025Teaching Old Tokenizers New Words: Efficient Tokenizer Adaptation for Pre-trained Modelscited by 2
- 2025Broken Words, Broken Performance: Effect of Tokenization on Performance of LLMscited by 2
12 most cited of 16 All 16 (JSON)
- 2026Counting and Min-Cost Encoding for Tokenization in Large Language Models1 Oct 2026
- 2026Pruned BPE: Post-training Visibility Pruning and Token Reallocation for Byte Pair Encoding1 Aug 2026
- 2026BHARATI: Morphology-Aware Tokenizers for Classical Indian Languages with Subword Fertility Analysis25 Jul 2026
- 2026Where to cut, how deep: BPE and Unigram-LM on chemistry SMILES6 Jul 2026
- 2026MinGram: A Minimalist Unigram Tokenizer with High Compression and Competitive Morphological Alignment25 Jun 2026
- 2026Tokenisation via Convex Relaxations21 May 2026
- 2026LiteToken: Removing Intermediate Merge Residues From BPE Tokenizers4 Feb 2026
- 2026Stop Taking Tokenizers for Granted: They Are Core Design Decisions in Large Language Models19 Jan 2026
- 2025Broken Words, Broken Performance: Effect of Tokenization on Performance of LLMs26 Dec 2025
- 2025Teaching Old Tokenizers New Words: Efficient Tokenizer Adaptation for Pre-trained Models3 Dec 2025
- 2025MUTANT: A Recipe for Multilingual Tokenizer Design5 Nov 2025
- 2025Auditing Pay-Per-Token in Large Language Models5 Oct 2025
12 newest of 16 All 16 (JSON)