Rate-Utility Frontiers for Language Encodings: Comparing Tokens, Bytes, and Pixels Under Controlled Linguistic Content
2026-07-17 • Computation and Language
Computation and Language
AI summaryⓘ
The authors studied how different ways of representing language—like breaking text into tokens, bytes, or even images of text—keep or lose information when used in language models. They tested these methods on multiple languages and scripts, controlling how much information the model can process. They found that no single representation is best for all tasks: images (pixels) keep the text appearance best, bytes help most with finding similar sentences across languages, and tokens work best for understanding topics. Their results show that the choice depends on the specific task and limits of the model, not just on making the sequence shorter or longer.
language modelstokensbytespixelsmultilingualparallel sentencesrate-utility tradeoffencodingcross-lingual alignmenttopic classification
Authors
Ingo Ziegler, Martin Krebs, Desmond Elliott
Abstract
Language models encode text as subword tokens, raw bytes, or rendered pixels, but these encodings are usually compared under modeling constraints that expose different amounts of linguistic content to models across different languages. We instead ask what each encoding preserves when both the content and the downstream capacity are controlled. Using verified parallel sentences across thirteen languages and five scripts, we compare tokens, bytes, and pixels through a shared bottleneck whose width is swept to trace rate-utility frontiers. This separates three quantities that are often conflated: the number of input positions an encoding creates, the latent capacity available after encoding, and the task-relevant information that survives compression. We evaluate three utilities: surface form preservation, cross-lingual sentence alignment, and topic classification. No encoding dominates across tasks or capacity regimes. Pixels preserve surface form best, bytes preserve cross-lingual alignment best, especially in same-script multilingual settings, and tokens support topic prediction best. These performances are not explained by sequence length alone. Short inputs can discard useful meaning, while long inputs can preserve information that compresses well. Choosing an encoding is therefore not a fixed preference for tokens, bytes, or pixels, but a rate-utility tradeoff that depends on the task, language mix, capacity regime, and compute budget.