arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2412.09871cs.CL
收藏

Byte Latent Transformer:块(Patches)的缩放效果优于词元(Tokens)

Byte Latent Transformer: Patches Scale Better Than Tokens

FAIR at Meta(Meta FAIR研究院);Paul G. Allen School of Computer Science & Engineering, University of Washington(华盛顿大学保罗·G·艾伦计算机科学与工程学院);University of Chicago(芝加哥大学)
Artidoro Pagnoni, Ram Pasunuru, Pedro Rodriguez, John Nguyen, Benjamin Muller, Margaret Li, Chunting Zhou, Lili Yu, Jason Weston, Luke Zettlemoyer, Gargi Ghosh,… 展开作者

Artidoro Pagnoni, Ram Pasunuru, Pedro Rodriguez, John Nguyen, Benjamin Muller, Margaret Li, Chunting Zhou, Lili Yu, Jason Weston, Luke Zettlemoyer, Gargi Ghosh, Mike Lewis, Ari Holtzman, Srinivasan Iyer

AI总结:

该研究提出字节级大语言模型架构Byte Latent Transformer,以基于下一字节熵划分的动态块为计算单元,首次在8B参数、4T训练字节规模下验证无固定词表的字节模型可高效缩放,推理效率、鲁棒性及推理、长尾泛化表现均优于同成本的分词式模型。

摘要:

我们提出了Byte Latent Transformer(BLT,字节隐式Transformer),这是一种全新的字节级大语言模型(LLM)架构,首次在规模化条件下达到了基于分词的LLM的性能,同时在推理效率与鲁棒性上有显著提升。BLT将字节编码为动态大小的块(patches),并将其作为主要计算单元。块的划分依据下一字节的熵值,在数据复杂度更高的位置分配更多计算量与模型容量。我们首次开展了算力(FLOP)受控的字节级模型缩放研究,实验覆盖最高8B参数、4T训练字节的规模。结果证明,训练基于原始字节、无固定词表的模型具备规模化可行性。由于在数据可预测时会选择长块,模型的训练与推理效率均得到提升,同时在推理能力与长尾泛化性上也有质性改善。总体而言,在固定推理成本下,BLT通过同步扩大块尺寸与模型规模,展现出远优于基于分词的模型的缩放性能。

英文摘要:

We introduce the Byte Latent Transformer (BLT), a new byte-level LLM architecture that, for the first time, matches tokenization-based LLM performance at scale with significant improvements in inference efficiency and robustness. BLT encodes bytes into dynamically sized patches, which serve as the primary units of computation. Patches are segmented based on the entropy of the next byte, allocating more compute and model capacity where increased data complexity demands it. We present the first FLOP controlled scaling study of byte-level models up to 8B parameters and 4T training bytes. Our results demonstrate the feasibility of scaling models trained on raw bytes without a fixed vocabulary. Both training and inference efficiency improve due to dynamically selecting long patches when data is predictable, along with qualitative improvements on reasoning and long tail generalization. Overall, for fixed inference costs, BLT shows significantly better scaling than tokenization-based models, by simultaneously growing both patch and model size.

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

↑