Lune

EMNLP2024Top-tier venue

BPE Gets Picky: Efficient Vocabulary Refinement During Tokenizer Training

Pavel Chizhov, Catherine Arnett, Elizaveta Korotkova, Ivan P. Yamshchikov

Abstract

Language models can greatly benefit from efficient tokenization. However, they still mostly utilize the classical Byte-Pair Encoding (BPE) algorithm, a simple and reliable method. BPE has been shown to cause such issues as undertrained tokens and sub-optimal compression that may affect the downstream performance. We introduce PickyBPE, a modified BPE algorithm that carries out vocabulary refinement during tokenizer training by removing merges that leave intermediate "junk" tokens. Our method improves vocabulary efficiency, eliminates under-trained tokens, and does not compromise text compression. Our experiments show that this method either improves downstream performance or does not harm it.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

9 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Exploiting Vocabulary Frequency Imbalance in Language Model Pre-training cites BPE-Dropout: Simple and Effective Subword Regularization
  • Exploiting Vocabulary Frequency Imbalance in Language Model Pre-training cites Tokenization Is More Than Compression
  • Sampling from Your Language Model One Byte at a Time cites BPE-Dropout: Simple and Effective Subword Regularization
  • A Partition Cover Approach to Tokenization cites BPE-Dropout: Simple and Effective Subword Regularization
  • A Partition Cover Approach to Tokenization cites Byte Pair Encoding is Suboptimal for Language Model Pretraining
  • Lossless Vocabulary Reduction for Auto-Regressive Language Models cites Sampling from Your Language Model One Byte at a Time
  • Tokenization Is More Than Compression cites BPE-Dropout: Simple and Effective Subword Regularization
  • Tokenization Is More Than Compression cites Byte Pair Encoding is Suboptimal for Language Model Pretraining
  • Tokenization Is More Than Compression cites XLM-V: Overcoming the Vocabulary Bottleneck in Multilingual Masked Language Models
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers9

  1. Tokenization Is More Than CompressionCraig W. Schmidt, Varshini Reddy, Haoran Zhang, Alec Alameddine et al.EMNLP 2024 · 16 citations
  2. Sampling from Your Language Model One Byte at a TimeJonathan Hayase, Alisa Liu, Noah Smith, Sewoong OhICML 2026 · 9 citations
  3. Exploiting Vocabulary Frequency Imbalance in Language Model Pre-trainingWoojin Chung, Jeonghoon KimNeurIPS 2025 · 6 citations
  4. A Partition Cover Approach to TokenizationJia Peng Lim, Shawn Tan, Davin Choo, Hady W. LauwNeurIPS 2025 · 6 citations
  5. Lossless Vocabulary Reduction for Auto-Regressive Language ModelsDaiki Chijiwa, Taku Hasegawa, Kyosuke Nishida, Shin'ya Yamaguchi et al.ICLR 2026 · 3 citations

Builds on14

  1. Language Model Tokenizers Introduce Unfairness Between LanguagesAleksandar Petrov, Emanuele La Malfa, Philip H. S. Torr, Adel BibiNeurIPS 2023 · 301 citations
  2. Byte Pair Encoding is Suboptimal for Language Model PretrainingKaj Bostrom, Greg DurrettEMNLP Findings 2020 · 180 citations
  3. OLMo: Accelerating the Science of Language ModelsDirk Groeneveld, Iz Beltagy, Evan Pete Walsh, Akshita Bhagia et al.ACL 2024 · 52 citations
  4. XLM-V: Overcoming the Vocabulary Bottleneck in Multilingual Masked Language ModelsDavis Liang, Hila Gonen, Yuning Mao, Rui Hou et al.EMNLP 2023 · 29 citations
  5. BPE-Dropout: Simple and Effective Subword RegularizationIvan Provilkov, Dmitrii Emelianenko, Elena VoitaACL 2020 · 17 citations

Related papers

  1. Train It and Forget It: Merge Lists are Unnecessary for BPE Inference in Language ModelsTomohiro Sawada, Kartik GoyalEMNLP 2025
  2. Scaffold-BPE: Enhancing Byte Pair Encoding for Large Language Models with Simple and Effective Scaffold Token RemovalHaoran Lian, Yizhe Xiong, Jianwei Niu, Shasha Mo et al.AAAI 2025
  3. Unpacking Tokenization: Evaluating Text Compression and its Correlation with Model PerformanceOmer Goldman, Avi Caciularu, Matan Eyal, Kris Cao et al.ACL Findings 2024 · 12 citations
  4. Parity-Aware Byte-Pair Encoding: Improving Cross-lingual Fairness in TokenizationNegar Foroutan, Clara Meister, Debjit Paul, Joel Niklaus et al.ACL 2026 · 14 citations
  5. Incremental BPE TokenizationShenghu Jiang, Ruihao GongICML 2026 · 12 citations
Dusk over the sea between two cliffs drawn in fine vertical lines