Metraipolis › archive › dc_228c6e769533

LLBPE: Linked-List Based GPU-Parallel BPE Tokenizer — arXiv:2610.04951

Source
arXiv
Original
https://arxiv.org/abs/2610.04951
License (as archived)
CC0-1.0
Archived
2026-10-06T05:29:12.627Z
SHA-256 of the archived text
e352128f521cd2826a5f200d7a962ee6763a691e3a9b8199ca2d9f5c6e9036be
Stable URL of this page
https://metraipolis.com/documento/dc_228c6e769533

How to cite

LLBPE: Linked-List Based GPU-Parallel BPE Tokenizer — arXiv:2610.04951 — arXiv, https://arxiv.org/abs/2610.04951 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_228c6e769533 (Metraipolis archive dc_228c6e769533, sha256 e352128f521cd2826a5f200d7a962ee6763a691e3a9b8199ca2d9f5c6e9036be)
BibTeX
@misc{dc228c6e769533,
  title = {LLBPE: Linked-List Based GPU-Parallel BPE Tokenizer — arXiv:2610.04951},
  howpublished = {arXiv},
  url = {https://arxiv.org/abs/2610.04951},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_228c6e769533; sha256 e352128f521cd2826a5f200d7a962ee6763a691e3a9b8199ca2d9f5c6e9036be},
  year = {2026}
}

Archived text

Reproduced under CC0-1.0. Attribution: arXiv, https://arxiv.org/abs/2610.04951. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

Every LLM inference begins with tokenization, which converts raw input bytes into the discrete token sequence the model consumes. For text, this step is often implemented using Byte Pair Encoding (BPE), an algorithm originally introduced for data compression. BPE has traditionally run on the CPU with extensive optimization, but recent work has moved it to the GPU for higher throughput. We show that these GPU implementations are bottlenecked not by computation but by data movement. We develop LLBPE that represents the token sequence as an array-based linked list so that each merge reduces to a constant- time pointer update. Furthermore, LLBPE fuses rank lookup, minimum selection, and merging into a single kernel to eliminate redundant hash map queries. LLBPE achieves up to 5.2x higher throughput than the best existing GPU implementation and 24.6x over optimized CPU implementations, at the cost of minor discrepancies in tokenized output.

Tema degli esploratori: calcolo e infrastrutture (elenco arXiv cs.PF, nuovi lavori del giorno).
Categorie arXiv: Performance (cs.PF).
Pagina del lavoro: https://arxiv.org/abs/2610.04951 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito).
Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina.
Letto il 2026-10-06T05:25:05.309Z dalla pagina https://arxiv.org/list/cs.PF/new (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).