arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2610.26225cs.CL
收藏

重新思考BPE:将合并选择作为模型选择

Rethinking BPE: Merge Selection as Model Selection

Sorbonne-Université(索邦大学);CNRS(法国国家科学研究中心);ISIR(信息、信号与智能系统研究所)

Vijini Liyanage, François Yvon

AI总结:

本研究将BPE合并预算优化视为模型选择问题,结合信息论准则与合成数据扩充技术,实现了更小模型规模下性能几乎无下降的高效分词器构建。

摘要:

子词分词方法如字节对编码(BPE)是现代语言模型的核心组件;然而,分词器的容量通常由启发式选择的固定合并预算决定。由于更大的词汇量会增加内存使用和计算成本,选择紧凑且有效的词表对高效语言建模至关重要。我们将BPE合并预算的优化作为统计模型选择问题进行研究,并探讨从语料库统计中直接计算最优合并集的信息论准则。为进一步改善有限数据条件下的合并选择,我们用从原始数据生成的合成文本扩充BPE训练语料库,提供一元和二元分布的估计。在多个语料库和下游任务上的实验表明,使用有原则的词表选择技术可减小模型规模,且性能几乎无下降。我们进一步观察到,合成数据能生成更好的分词器,尤其在低资源场景中。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑