重新审视BPE:将合并选择视为模型选择 Rethinking BPE: Merge Selection as Model Selection 预印本

⚠️ 本文为 预印本(arXiv 公开版本),尚未经过正式同行评审。作者自发公开,结论未经期刊审稿验证,阅读时请知悉。
发布时间:2026-10-19
⬇️ 2 次下载
👁️ 预览文献
💡 AI 中文简介
字节对编码(BPE)是语言模型常用的分词方法,但词表大小通常靠经验设定。本研究把BPE的合并预算优化看作统计模型选择问题,用信息论准则直接从语料统计中计算最优合并集;在数据有限时,还用原始数据生成的合成文本扩充语料,以估计词分布。多语料和下游任务实验表明,这种有原则的词表选择能缩小模型规模而性能几乎不降,合成数据在低资源场景还能得到更好的分词器。
领域自然语言处理/分词与语言模型效率
适合谁读需要一定专业背景(了解BPE和语言模型基础)
核心贡献1. 将BPE合并预算选择形式化为统计模型选择问题,提出基于信息论准则、直接从语料统计计算最优合并集的方法;2. 引入合成文本扩充语料以改进有限数据下的合并选择,并在低资源设置下验证其有效性。
关键数据使用有原则的词表选择可减小模型规模,下游性能仅有很小下降;合成数据在低资源设置下能获得更好的分词器。
推荐理由如果你关心分词器词表该设多大、怎么设,这篇把“拍脑袋”变成“有原则”的工作值得一读。
关键词["字节对编码", "子词分词", "模型选择", "信息论准则", "合成数据", "低资源语言建模"]

原文摘要

查看英文原文摘要

Subword tokenization methods such as Byte-Pair Encoding (BPE) are a core component of modern language models; yet, tokenizer capacity remains typically determined by a fixed merge budget, chosen heuristically. Since larger vocabularies increase memory usage and computational cost, selecting compact and effective token inventories is essential for efficient language modeling. We study the optimization of a BPE merge budget as a statistical model selection problem and investigate information-theoretic criteria for \emph{computing optimal merge sets} directly from corpus statistics. To further improve the merge selection in limited data conditions, we augment the BPE training corpora with synthetic texts generated from the original data, providing estimates for the unigram and bigram distributions. Experiments across multiple corpora and downstream tasks show that using a principled vocabulary selection technique reduces model size, with little degradation in performance. We further observe that synthetic data can yield better tokenizers, especially in low-resource settings.