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
The Byte Latent Transformer (BLT) is a novel byte-level language model that encodes raw bytes into dynamic patches, achieving comparable performance to token-based models with improved efficiency and robustness at scale.
Contribution
BLT introduces a dynamic patching mechanism for byte-level models, enabling scalable training and inference without fixed vocabularies, and demonstrates superior scaling behavior.
Findings
BLT matches token-based model performance at scale.
Dynamic patching improves inference efficiency.
BLT exhibits better long tail generalization.
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.…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
- 🤗benjamin/Llama3-2-3B-IT-Bytemodel· 125 dl· ♡ 2125 dl♡ 2
- 🤗benjamin/Gemma2-2B-IT-Bytemodel· 12 dl· ♡ 112 dl♡ 1
- 🤗facebook/bltmodel· 27 dl· ♡ 7427 dl♡ 74
- 🤗facebook/blt-1bmodel· 469 dl· ♡ 21469 dl♡ 21
- 🤗facebook/blt-7bmodel· 4 dl· ♡ 624 dl♡ 62
- 🤗Pclanglais/blt-7bmodel· 2 dl· ♡ 72 dl♡ 7
- 🤗mrfakename/blt-7bmodel
- 🤗facebook/blt-entropymodel· 197 dl· ♡ 8197 dl♡ 8
- 🤗itazap/blt-1b-hfmodel· 15k dl· ♡ 515k dl♡ 5
- 🤗itazap/blt-7b-hfmodel· 59 dl· ♡ 159 dl♡ 1
Videos
Taxonomy
MethodsLinear Layer · Adam · Layer Normalization · Dropout · Position-Wise Feed-Forward Layer · Label Smoothing · Attention Is All You Need · Dense Connections · Byte Pair Encoding · Residual Connection
