Byte Latent Transformer: Patches Scale Better Than Tokens
Summary
BLT maps bytes to variable patches via next-byte entropy, then a light local encoder, a large latent Transformer, and a local decoder. First flop-controlled byte-level scaling study to 8B / 4T bytes: matches Llama 3 at equal train FLOPs and can cut inference FLOPs ~50% with patch size 6–8. For a fixed inference budget, growing patch size and model size together beats BPE. Robustness: noisy HellaSwag 64.3 vs Llama 3 56.9; CUTE 54.1 vs 27.5. Code https://github.com/facebookresearch/blt.
- Venue
- arXiv / FAIR Meta / University of Washington / University of Chicago
- Purpose
- Match tokenizer LLMs at scale with dynamic entropy patches over raw bytes
- Scale
- 400M–8B; Llama 2 mix (compute-optimal) and BLT-1T (~4T bytes); patch size 4.5/6/8; eval ARC/HellaSwag/PIQA/MMLU/MBPP/HumanEval plus CUTE, G2P, FLORES-101
- Time period
- 2024-12-13 (arXiv 2412.09871 v1). HF paper publishedAt 2024-12-13.
- Added
- Oct 1, 2026
- Research status
- done
From the source
- Published
- Dec 13, 2024
- arXiv categories
- cs.CL
- Citations
- 170 (21 influential)
- References
- 0
Abstract (from arXiv)
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.
Tags
Topics
tokenization, byte-level LMs, efficient transformers
Research notes
- Primary: arxiv abs (cs.CL). License not stated on abs/HTML at check. FAIR at Meta / UW / UChicago. Correspondence artidoro at cs.washington.edu, sviyer at meta.com. Code https://github.com/facebookresearch/blt (2,059 stars at check). HF paper page 109 upvotes; githubRepo linked; official linked models facebook/blt, facebook/blt-7b, facebook/blt-1b, facebook/blt-entropy not copied into hf_* fields. Discord posted abs. Pretraining mix is not a new public corpus, so no datasets_local row. License field left blank per catalog convention.
Cited by, within this collection
Similar entries
- Paper Charformer: Fast Character Transformers via Gradient-based Subword Tokenization
- Post EvaByte: Efficient Byte-level Language Models at Scale
- Paper Transformers without Normalization
- Post Agentic RL: Token-In, Token-Out Done Right (TITO)
- Code Combinatorial BPE Tokenizer (factored variation/prefix/core/suffix embeddings)
- Paper Tokenization: A Survey for Modern NLP