More Than Words: Compositional Tokenization for Efficient Language Models
cs.CL
Submitted: 2026-10-04
Updated: 2026-10-04
Comments: COLM 2026
Code: https://github.com/karpathy/nanochat
Project page: https://co-bpe.github.io
License: http://creativecommons.org/licenses/by-nc-sa/4.0/
The gist: Language models process and generate text sequentially in token units, and the tokenizer determines how much text each inference step covers.
Terminology
Abstract
Language models process and generate text sequentially in token units, and the tokenizer determines how much text each inference step covers. Under standard tokenization, a short English phrase such as "On the table." is usually produced as four separate predictions for the preposition (On), article (the), noun (table), and punctuation (.), where each consumes a sequence position and adds inference cost. We introduce CoBPE, a compositional tokenization approach that represents such phrases as a lexical base token (table) attached with a small set of reusable surface modifiers, composed in embedding space at input and predicted jointly at output. In controlled pretraining from scratch at 780M and 1.3B scales, CoBPE shortens sequences by 30% and improves average downstream performance by 1.2 points relative to standard BPE under matched training compute. Our results suggest that part of what is now expressed through token sequences can instead be modeled through structured representations, opening a broad design space for more token-efficient and capable language models.
Sources
- MorphBPE: A Morpho-Aware Tokenizer Bridging Linguistic Complexity for Efficient LLM Training Across Morphologies
- Program Synthesis with Large Language Models
- SpeLLM: Character-Level Multi-Head Decoding
- DeepSeek LLM: Scaling Open-Source Language Models with Longtermism
- Better Character Language Modeling Through Morphology
- Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challenge
- Training Verifiers to Solve Math Word Problems
- LERT: A Linguistically-motivated Pre-trained Language Model
- Getting the most out of your tokenizer for pre-training and domain adaptation
- Nemotron-CLIMB: CLustering-based Iterative Data Mixture Bootstrapping for Language Model Pre-training
- The Llama 3 Herd of Models
- SuperBPE: Space Travel for Language Models
- Vocab Diet: Reshaping the Vocabulary of LLMs via Vector Arithmetic
- Your LLM Knows the Future: Uncovering Its Multi-Token Prediction Potential
- Qwen2.5 Technical Report
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