The Left Ripple of Byte-Pair Encoding: Certified Lookbehind for Every Dictionary
9 Nov · Nicklas Nidhögg · arXiv:2611.13061
Berglund and van der Merwe formalized byte-pair encoding and bounded how far an appended string can change a tokenization, leaving the converse open: how far can a string prepended on the left change it, which dictionaries make that ripple infinite, and can it be computed efficiently when finite? We answer all three for every dictionary. The origin radius, how far a prepend can change covering spans, is decided with…