Patching Without a Vocabulary

Bytes let us represent text without a learned word vocabulary, but they can produce long sequences. Grouping nearby bytes into patches gives later parts of a model fewer positions to process.

14 sections · 15 questions · 4 coding challenges

1 / 14

Could We Process Bytes Without Paying for Every Byte in the Largest Model?

BOTIE

Bytes can represent unfamiliar text without assigning every word or fragment a vocabulary entry. The difficulty is sequence length. If an expensive global model processes every byte as a separate position, broad coverage can come with a substantial computational cost.

The Byte Latent Transformer work released in 2024 explored grouping bytes into patches, with boundaries informed by a measure of predictability. Local processing handles bytes within patches, while a larger model works over patch representations. The motivation was to allocate computation differently without relying on a fixed subword vocabulary.

A patch is a region of the sequence, not automatically a word. Predictable stretches can be grouped differently from less predictable ones. Choosing boundaries and representing each resulting group are separate responsibilities. The small patching examples here let us inspect boundary choices; they do not reproduce the complete trained architecture or establish its computational savings by themselves.

Sources for this history