arXiv AI
Sep 17

Objective vs. Search: Decomposing What Makes a Good Tokeniser

The paper introduces two new tokenisation algorithms—BottomUpLL and TopDownComp—to systematically explore the 2x2 design space defined by optimisation objective (compression vs. log‑likelihood) and search procedure (bottom‑up merging vs. top‑down pruning). Experiments across model sizes, vocabularies, and domains show that the search procedure, rather than the objective, consistently yields lower bits‑per‑byte, while no clear pattern emerges on the BLiMP benchmark. These findings clarify how tokeniser design choices influence language‑model performance and provide guidance for constructing tokenisers more principledly.

By Ahmetcan Yavuz, Clara Meister, Tiago Pimentel
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 AI
Oct 2

Accelerating Constrained Decoding with Token Space Compression

The paper introduces CFGzip, an offline token space compression technique that reduces the search space for context-free grammar (CFG) decoding engines. By compressing the token vocabulary, CFGzip achieves up to 75‑fold latency reductions during batched inference, bringing overhead on the hardest grammars down to roughly 1.2–2×. This enables scalable constrained decoding for complex CFGs that were previously impractical due to high computational costs.

By Michael Sullivan, Alexander Koller
arXiv Computation and Language
1d ago

Compute Optimal Tokenization

arXiv:2605.01188v3 Announce Type: replace Abstract: Scaling laws enable the optimal selection of data amount and language model size, yet the impact of the data unit, the token, on this relationship...

By Tomasz Limisiewicz, Artidoro Pagnoni, Srini Iyer, Mike Lewis, Sachin Mehta, Alisa Liu, Margaret Li, Gargi Ghosh, Luke Zettlemoyer