研究揭示计算最优配置下模型参数量应按字节而非token缩放
Compute Optimal Tokenization
一项研究训练了988个50M至7B参数的BLT潜变量分词模型,系统考察token压缩率对缩放趋势的影响。实验发现,在计算最优配置下模型参数量与按字节计的数据量成正比,而非通常认为的token数;最优压缩率低于BPE所得水平并随计算量增加而下降。该结论在潜变量与子词分词及非英语语种上均成立。
arXiv:2605.01188v3 Announce Type: replace Abstract: Scaling laws enable the optimal selection of data amount and language model size, yet the impact of the data unit, the token, on this relationship remains underexplored. In this work, we systematically investigate how the information granularity of tokens, controlled by the compression rate (i.e., average bytes of text per token), affects scaling trends. We train 988 latent tokenized models (BLT) ranging from 50M to 7B parameters that enable setting the desired compression rate. This flexibility allows us to study the role of compression rate well beyond 4.57 bytes per token obtained with a popular BPE tokenizer. Our experiments reveal that in compute-optimal configurations, model parameter counts scale proportionally to data size measured in bytes, not in tokens as commonly perceived (Kaplan et al., 2020; Hoffmann et al., 2022). Furthermore, we discover that the optimal compression rate differs from the one obtained with BPE and decreases with compute. These findings generalize to both latent and subword tokenization, as well as to languages other than English, guiding language model developers on tokenization scheme selection for maximal compute efficiency.
来源:arXiv (AI + Vision + Imaging) · arxiv.org