Byte Language Models: Scaling, Emergent Abstractions, and Information Allocation
cs.CL
Submitted: 2026-10-05
Updated: 2026-10-05
Code: https://github.com/karpathy/nanochat
License: http://creativecommons.org/licenses/by/4.0/
The gist: Tokenizer-free language models remove the inductive bias of fixed tokenizers by modeling text directly as bytes, but the resulting longer sequences substantially increase computation and eliminate
Terminology
Abstract
Tokenizer-free language models remove the inductive bias of fixed tokenizers by modeling text directly as bytes, but the resulting longer sequences substantially increase computation and eliminate explicit text abstractions. We ask whether this additional computation can be useful, and whether standard Transformers can learn the abstractions that tokenization provides. We study these questions on Transformers without specialized tokenization-related architectures. With token-superposition training and hash embeddings, byte Transformers consistently outperform subword Transformers as model size scales. We further find that byte Transformers build local text abstractions as external tokenizers: a set of segmentation-like positions are used to collect local context representations, and restricting up to 25% of intermediate layers to these local representations preserves downstream performance. Finally, these learned structures induce highly non-uniform generation difficulty, with uncertainty concentrated near local structure boundaries; exploiting them for speculative decoding yields 3.4 times more accepted tokens than in subword Transformers.
Sources
- DeepSeek-V3 Technical Report
- Compute Optimal Tokenization
- EvoESAP: Non-Uniform Expert Pruning for Sparse MoE
- Decoupled Weight Decay Regularization
- Olmo 3
- Efficient Pre-Training with Token Superposition
- MambaByte: Token-free Selective State Space Model
Related papers
- Exploring Solution Divergence and Its Effect on Large Language Model Problem Solving
- Ishigaki-IDS-Bench: A Benchmark for Generating Information Delivery Specification from BIM Information Requirements
- Subliminal Steering: Stronger Encoding of Hidden Signals
- MedStruct-S: A Benchmark for Key Discovery, Key-Conditioned QA and Semi-Structured Extraction from OCR Clinical Reports
- The End of Transformers? On Challenging Attention and the Rise of Sub-Quadratic Architectures
- Untangling the Mechanisms of Misleading Context in Medical Question Answering