The paper studies flat Transformer models that process text directly as bytes, without a built-in tokenizer. By using token-superposition training and hash embeddings, these byte models consistently outperform subword models as the number of parameters increases, and they benefit from more training data per unit of computation. This challenges the view that longer byte sequences are merely a disadvantage. The authors also find that byte Transformers automatically learn segmentation-like positions that aggregate local text information. Up to 25% of intermediate layers can be restricted to these representations without hurting performance, suggesting the model develops its own hierarchical reasoning. Finally, the learned structures create high variance in per-byte prediction difficulty. Exploiting this with yields 3.4× more accepted tokens per step than in subword Transformers, offering a practical speed-up during generation.
Byte Transformers outperform subword models at scale and learn implicit token-like abstractions
Using token-superposition training and hash embeddings, byte models consistently beat subword counterparts, and they develop segmentation-like positions for local context, enabling efficient speculative decoding.
Top University
Jie Wang · Shiwei Luo · Qi Zhang · Yuanbin Wu
East China Normal University · Fudan University
Research Digest··2 min read
Thread:Byte-Level Language Models
In one line
Byte Transformers with token-superposition training and hash embeddings outperform subword Transformers while building internal text abstractions.
Before you read this
An idea this paper builds onRead it as
Jie Wang, Shiwei Luo, Qi Zhang, and Yuanbin Wu train flat byte Transformers without specialized tokenization architectures and show that they outperform subword Transformers as model size scales.
The authors trained byte Transformers on text data using token-superposition training and hash embeddings, comparing their scaling behavior to subword Transformers.
How it works
before and afterThe Daily Edition
The front page in your inbox each weekday morning: the lead, the picks, and why each one earned its place.