Byte Latent Transformer: Patches Scale Better Than Tokens
Artidoro Pagnoni, Ram Pasunuru, Pedro Rodriguez, John Nguyen, Benjamin Muller, Margaret Li, Chunting Zhou, Lili Yu, Jason Weston, Luke Zettlemoyer, Gargi Ghosh, Mike Lewis, Ari Holtzman, Srinivasan Iyer
TL;DR
BLT addresses the tokenization bottleneck by operating directly on raw bytes and dynamically grouping them into patches according to data complexity. The model uses a three-module architecture (Local Encoder, Latent Global Transformer, Local Decoder) and an entropy-driven patching strategy, achieving parity with token-based LLMs at scales up to $8$B parameters and $4$T training bytes while offering up to $50\%$ inference FLOP savings. The work demonstrates that a tokenizer-free approach can deliver robust handling of long-tail and noisy data, with improvements in orthographic and phonological tasks, and enables simultaneous growth of model and patch size within fixed inference budgets. It also provides a comprehensive scaling study, ablations, and practical insights for deploying patch-based byte modeling at scale.
Abstract
We introduce the Byte Latent Transformer (BLT), a new byte-level LLM architecture that, for the first time, matches tokenization-based LLM performance at scale with significant improvements in inference efficiency and robustness. BLT encodes bytes into dynamically sized patches, which serve as the primary units of computation. Patches are segmented based on the entropy of the next byte, allocating more compute and model capacity where increased data complexity demands it. We present the first FLOP controlled scaling study of byte-level models up to 8B parameters and 4T training bytes. Our results demonstrate the feasibility of scaling models trained on raw bytes without a fixed vocabulary. Both training and inference efficiency improve due to dynamically selecting long patches when data is predictable, along with qualitative improvements on reasoning and long tail generalization. Overall, for fixed inference costs, BLT shows significantly better scaling than tokenization-based models, by simultaneously growing both patch and model size.
