对比字节建模在不同生成方式下的效率差异,发现扩散模型更难规模化。
The Efficiency Gap in Byte Modeling

- 比较字节级建模中自回归与扩散模型的计算开销
- 发现扩散模型在规模扩展时性能下降更严重
- 建议未来设计需引入新结构先验以提升效率
现代语言模型长期依赖子词分词和自回归顺序生成两大设计。近年来,字节级建模(跳过固定词汇表)和掩码扩散建模(并行非序列生成)成为新范式。二者结合可实现完全端到端、模态无关的生成框架,但移除结构先验会带来显著计算成本。本文通过计算量匹配的缩放实验发现:字节建模的性能损失并非均匀分布;在不同规模下,扩散模型的缩放开销远高于自回归模型。我们推测该差异源于上下文脆弱性——自回归模型的稳定因果历史能自然恢复子词模式,而扩散目标破坏了语义解析所需的局部连续性。控制置换实验支持这一观点,提示未来模态无关设计必须引入替代结构偏差,以维持字节层面的可行缩放路径。
原文摘要 · Abstract (English)
Modern language models have historically relied on two dominant design choices: subword tokenization and autoregressive (AR) ordering. These design decisions bake in priors that dictate a model's learning. Recently, two alternative paradigms have challenged this: byte-level modeling, which bypasses static statistically-derived token vocabularies, and masked diffusion modeling (MDM), which conducts parallel, non-sequential generation. Their intersection represents a fully end-to-end modality-agnostic generative prototype; however, removing these structural priors incurs a significant computational cost. In this work, we investigate this cost through a compute-matched scaling study. Our results reveal that the performance penalty of byte modeling is not uniform; across scale, the scaling overhead of byte modeling is worse for MDM than for AR. We hypothesize that this disparity stems from context fragility: while AR's stable causal history allows models to naturally rediscover subword patterns, the MDM objective destroys the local contiguity required to efficiently resolve semantics from raw bytes. Our findings from controlled permutation experiments suggest that future modality-agnostic designs must incorporate alternative structural biases to maintain viable scaling trajectories in the byte regime.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。