Bit-level BPE: Below the byte boundary

Sangwhan Moon, Tatsuya Hiraoka, Naoaki Okazaki
6/9/2025
cs.CL

No confident code implementation found for this paper.

Abstract

Byte-level fallbacks for subword tokenization have become a common practice in large language models. In particular, it has been demonstrated to be incredibly effective as a pragmatic solution for preventing OOV, especially in the context of larger models. However, breaking a character down to individual bytes significantly increases the sequence length for long-tail tokens in languages such as Chinese, Japanese, and Korean (CJK) and other character-diverse contexts such as emoji. The increased sequence length results in longer computation during both training and inference. In this work, we propose a simple compression technique that reduces the sequence length losslessly.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{moon2025bitlevel,
  title  = {Bit-level BPE: Below the byte boundary},
  author = {Sangwhan Moon and Tatsuya Hiraoka and Naoaki Okazaki},
  year   = {2025},
  eprint = {2506.07541},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2506.07541v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2506.07541.svg)](https://codeofpaper.com/paper/2506.07541)

Discussion