NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Byte Latent Transformer: Patches Scale Better Than Tokens

Artidoro Pagnoni, Ramakanth Pasunuru, Pedro Rodriguez, John Nguyen, Benjamin Muller, Margaret Li, Chunting Zhou, Lili Yu, Jason E Weston, Luke Zettlemoyer, Gargi Ghosh, Mike Lewis, Ari Holtzman, Srini IyerTokShop @ ICML 2025

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 -- demonstrating 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. For fixed inference costs, BLT shows significantly better scaling than tokenization-based models, by simultaneously growing both patch and model size.

Introduction: Breaking Free from the Tokenizer

Modern Large Language Models (LLMs) predominantly rely on tokenization, a heuristic preprocessing step that groups bytes into a fixed vocabulary. While effective, tokenization introduces significant bottlenecks, including "multilingual inequity," fragility to typos or noise, and a lack of orthographic knowledge. Historically, training directly on raw bytes was computationally prohibitive due to sequence length. The Byte Latent Transformer (BLT) addresses this by replacing fixed tokenization with a dynamic, learnable patching mechanism that achieves performance parity with state-of-the-art token-based models like Llama 3.

The BLT Architecture

BLT utilizes a three-part architecture designed to handle raw bytes efficiently:

  1. Local Encoder: A lightweight transformer processing raw bytes using hash n-gram embeddings to capture local context without a fixed vocabulary.
  2. Latent Transformer: The core component that operates on variable-length patches rather than individual bytes.
  3. Local Decoder: A module that "unpatches" latent representations back into raw bytes for output.
The Byte Latent Transformer (BLT) architecture uses entropy-based patching to process raw bytes efficiently.

The central innovation is Entropy Patching. BLT employs a small model to predict the entropy (unpredictability) of the next byte. New patches are initiated when entropy is high, allowing the model to allocate more compute to complex data segments while efficiently processing predictable sequences (like common suffixes or spaces) with longer patches.

Scaling and Performance

BLT was evaluated using massive datasets, including a 2-trillion-token set for scaling studies and a 1-trillion-token high-quality set for an 8B parameter model.

BLT demonstrates superior scaling compared to Llama 2 and 3 BPE models at fixed inference costs.

Key results include:

  • Scaling Parity: BLT is the first byte-level model to match the scaling trends of BPE-based models (Llama 2 and 3) from 1B to 8B parameters.
  • Inference Efficiency: By utilizing larger average patch sizes, BLT can achieve equivalent performance to BPE models while using up to 50% fewer inference FLOPs.
  • Robustness and Mastery: BLT significantly outperforms Llama 3 on noised benchmarks and character-level tasks. For instance, it achieved 99.9% on spelling tasks in the CUTE benchmark, where token-based models typically struggle.
  • Long-tail Generalization: BLT showed a 2-point BLEU improvement in low-resource translation, demonstrating superior handling of rare language data.

Discussion and Future Directions

While BLT matches BPE performance, optimal scaling laws for byte-level models may differ from established Chinchilla ratios. Future work will focus on joint training of the patching mechanism and the latent transformer (e.g., via Gumbel-Sigmoid patching) and optimizing GPU kernels for variable-length sequences to translate theoretical FLOP savings into real-world wall-clock speedups.

Summary updated

BibTeX
@inproceedings{pagnoni2025byte,
  author = {Artidoro Pagnoni and Ramakanth Pasunuru and Pedro Rodriguez and John Nguyen and Benjamin Muller and Margaret Li and Chunting Zhou and Lili Yu and Jason E Weston and Luke Zettlemoyer and Gargi Ghosh and Mike Lewis and Ari Holtzman and Srini Iyer},
  title = {{Byte Latent Transformer: Patches Scale Better Than Tokens}},
  booktitle = {TokShop @ ICML},
  year = {2025},
  url = {https://openreview.net/forum?id=UZ3J8XeRLw},
}
Figure