arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2301.03728cs.CLcs.AIcs.LG
收藏

生成式混合模态语言模型的缩放定律

Scaling Laws for Generative Mixed-Modal Language Models

FAIR(基础人工智能研究);University of Washington(华盛顿大学);YerevaNN(埃里温神经网络)

Armen Aghajanyan, Lili Yu, Alexis Conneau, Wei-Ning Hsu, Karen Hambardzumyan, Susan Zhang, Stephen Roller, Naman Goyal, Omer Levy, Luke Zettlemoyer

摘要:

生成语言模型定义了在基本上可以表示数据模态(例如,来自VQ-VAE的图像令牌、来自HuBERT的语音令牌、用于语言或代码的BPE令牌等的任何排列)。为了更好地理解这种混合模态模型的缩放特性,我们使用七种不同的模态和模型大小进行了250多个实验,从800万到300亿不等,在50亿到1000亿的token上训练。我们报告新的混合模式的缩放定律,统一的个人模式和它们之间的相互作用的贡献。具体来说,我们明确地建模的最佳协同作用和竞争,由于数据和模型的大小作为一个附加项,以前的单峰缩放定律。我们还发现了在训练过程中观察到的四种经验现象,例如在模态之间自然交替的紧急坐标上升式训练,选择关键超参数的指南,以及混合模态竞争与训练稳定性之间的联系。最后,我们通过训练一个30 B的语音-文本模型来测试我们的缩放定律,该模型的性能明显优于相应的单峰模型。总的来说,我们的研究为混合模态生成模型的设计和训练提供了有价值的见解,混合模态生成模型是一类重要的新的具有独特分布特性的统一模型。

英文摘要:

Generative language models define distributions over sequences of tokens that can represent essentially any combination of data modalities (e.g., any permutation of image tokens from VQ-VAEs, speech tokens from HuBERT, BPE tokens for language or code, and so on). To better understand the scaling properties of such mixed-modal models, we conducted over 250 experiments using seven different modalities and model sizes ranging from 8 million to 30 billion, trained on 5-100 billion tokens. We report new mixed-modal scaling laws that unify the contributions of individual modalities and the interactions between them. Specifically, we explicitly model the optimal synergy and competition due to data and model size as an additive term to previous uni-modal scaling laws. We also find four empirical phenomena observed during the training, such as emergent coordinate-ascent style training that naturally alternates between modalities, guidelines for selecting critical hyper-parameters, and connections between mixed-modal competition and training stability. Finally, we test our scaling law by training a 30B speech-text model, which significantly outperforms the corresponding unimodal models. Overall, our research provides valuable insights into the design and training of mixed-modal generative models, an important new class of unified models that have unique distributional properties.

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

↑