← Back to all articles
arXiv cs.LGOctober 1, 2026

Component-Weighted Centroid Search for Exact Incremental BPE

Excerpt

arXiv:2609.40016v1 Announce Type: cross Abstract: Exact incremental BPE maintains the canonical tokenization state after every appended byte. The recent algorithm of Jiang and Gong (2026) does this in $O(\log^2 t)$ worst-case time, where $t$ is the maximum canonical token length. Its centroid search visits $O(\log t)$ components and can pay another $O(\log t)$ for ordered point location at each one. Within Jiang and Gong's normalized/proper merge-stage model, we change only that local search. Ea