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

通过字节级模拟解耦子词分词对语言模型训练的益处

Decoupling the Benefits of Subword Tokenization for Language Model Training via Byte-level Simulation

Nous Research

Théo Gigant, Bowen Peng, Jeffrey Quesnelle

AI总结:

本文通过字节级预训练流程解耦子词分词的影响,探讨其对训练效率和模型性能的贡献,揭示子词边界作为语言先验的重要性。

摘要:

子词分词是现代大语言模型(LLMs)的重要组成部分,但其对训练效率和模型性能的具体贡献仍不明确。本文通过在受控的字节级预训练流程中隔离子词分词的影响,探讨了多个维度的假设,包括样本吞吐量、词汇扩展和子词边界的语言先验。通过在字节级设置中模拟这些影响,我们细化了子词模型优于原始字节模型的原因,并为未来字节级和子词模型的预训练提供了改进见解。具体而言,实验突显了增加训练吞吐量和将子词边界作为显式先验或归纳偏置的重要性。

英文摘要:

Subword tokenization is an essential part of modern large language models (LLMs), yet its specific contributions to training efficiency and model performance remain poorly understood. In this work, we decouple the effects of subword tokenization by isolating them within a controlled byte-level pretraining pipeline. We formulate and test hypotheses across various dimensions, including sample throughput, vocabulary scaling, and the linguistic prior of subword boundaries. By simulating these effects in a byte-level setting, we refine our understanding of why subword models outperform raw byte models and offer insights to improve the pretraining of future byte-level and subword models. Specifically, our experiments highlight the critical role of increased training throughput and the integration of subword boundaries as either explicit priors or inductive biases.

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

↑