arXiv AI By Atieh Bastan, Xiaoling He, A. Pavan, N. V. Vinodchandran

Tokenization: Hardness and Bicriteria Approximation Algorithms

Read the original on arXiv AI →

arXiv:2611. 15074v1 Announce Type: cross Abstract: We study Binary Tokenization: given a corpus of binary strings over $\{0,1\}$ and a vocabulary budget $K$, select at most $K$ substrings (called vocabulary) to minimize the total number of tokens needed to represent the corpus.

Machine-generated by The Flow from the publisher's headline and feed description — not written or checked by a human. The full article lives at arXiv AI.

arXiv Computation and Language
Nov 11

The Left Ripple of Byte-Pair Encoding: Certified Lookbehind for Every Dictionary

The paper formalizes the left‑ripple effect of byte‑pair encoding (BPE), answering how far a string prepended on the left can alter tokenization for any dictionary. It introduces radius certificates derived from two automaton runs to compute the origin radius in polynomial time, characterizes when this radius is infinite, and shows that a finite radius guarantees dense cuts in every window. The authors also provide a streaming tokenizer that emits stable tokens after each symbol, decide boundedness of edit distance for all dictionaries, and analyze specific models such as GPT‑2 and Llama 3.

By Nicklas Nidh\"ogg
arXiv Computation and Language
Nov 4

Theoretical Analysis of Byte-Pair Encoding

arXiv:2411.08671v2 Announce Type: replace-cross Abstract: Byte-Pair Encoding (BPE) is a widely used method for subword tokenization, with origins in grammar-based text compression. It is employed in...

By L\'aszl\'o Kozma, Johannes Voderholzer