arXiv:2607.16117cs.CL2026-07

比较词元、字节、像素在相同语言内容下的编码效率与效果

Rate-Utility Frontiers for Language Encodings: Comparing Tokens, Bytes, and Pixels Under Controlled Linguistic Content

论文配图:Rate-Utility Frontiers for Language Encodings: Comparing Tokens, Bytes, and Pixels Under Controlled Linguistic Content
图 1 · 摘自论文原文
  • 用统一瓶颈控制容量,绘制三类编码的速率-效用曲线
  • 像素最保表面形式,字节最保跨语言对齐,词元最利主题分类
  • 选择编码需权衡任务、语言组合与计算预算,无绝对优劣

语言模型将文本编码为子词词元、原始字节或渲染像素,但这些编码常在不同建模约束下比较,导致各语言暴露的语言内容不一致。本文通过十三种语言、五种文字的验证平行句,控制输入内容和下游容量,使用共享瓶颈扫描不同宽度,绘制速率-效用前沿。该方法分离了三个常被混淆的量:编码产生的输入位置数、编码后的潜在容量,以及压缩后留存的任务相关信息。评估三种效用:表面形式保持、跨语言句子对齐、主题分类。结果显示,无一种编码在所有任务或容量区间占优:像素最优保留表面形式,字节在同文字多语言场景中最佳保持跨语言对齐,词元最利于主题预测。性能差异不能仅由序列长度解释:短输入可能丢失有用语义,长输入可保留易压缩信息。因此编码选择并非固定偏好词元、字节或像素,而是依赖任务、语言混合、容量区间和算力预算的速率-效用权衡。

原文摘要 · Abstract (English)

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.

语言编码速率-效用多语言模型压缩

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。