arXiv Computation and Language By Kundan Baliga, Aiden Xie, Aditya Byju

Pair-Merge Tokenisation Is Hard to Approximate on Binary Strings and Strongly NP-Hard on Unary Datasets

Read the original on arXiv Computation and Language →

arXiv:2611. 13568v1 Announce Type: cross Abstract: Tokenisers such as Byte-Pair Encoding (BPE) shorten text by repeatedly merging an adjacent pair of symbols into a new one; fewer tokens mean less computation.

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 Computation and Language.

arXiv AI
Nov 14

Tokenization: Hardness and Bicriteria Approximation Algorithms

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.

By Atieh Bastan, Xiaoling He, A. Pavan, N. V. Vinodchandran
arXiv Computation and Language
Nov 9

Greedy Byte-Pair Encoding Achieves at Least 0.361 of the Optimal Compression

The paper proves that the greedy Byte‑Pair Encoding (BPE) algorithm achieves at least 0.361 of the optimal string‑length reduction for any string, budget, and tie‑breaking rule, improving the previously known one‑third bound. It explains why the one‑third barrier is tight under the pair‑packing relaxation and shows how the greedy method can often shift optimal merge points to maintain performance. The authors also compute the exact worst‑case ratio for two merges, bound it for three, and identify a key inequality that would resolve the remaining gap.

By Kundan Baliga, Aiden Xie, Aditya Byju
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