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

PolyPythias:五十次语言模型预训练运行中的稳定性与异常值

PolyPythias: Stability and Outliers across Fifty Language Model Pre-Training Runs

University of Amsterdam(阿姆斯特丹大学);University of Cambridge(剑桥大学);IT University of Copenhagen(哥本哈根技术大学);Harvard University(哈佛大学);Anthropic(Anthropic公司);EleutherAI

Oskar van der Wal, Pietro Lesci, Max Muller-Eberstein, Naomi Saphra, Hailey Schoelkopf, Willem Zuidema, Stella Biderman

AI总结:

该研究推出包含45次Pythia模型预训练运行的PolyPythias资源,结合已有运行探究种子决定的初始条件对多方面的影响,发现训练动态高度一致,还可识别异常运行,为预训练稳定性研究提供支持。

摘要:

语言模型预训练的稳定性及其对下游性能的影响目前仍未得到充分研究。已有研究表明,初始条件(如随机种子)的微小变化会导致训练过程产生差异显著的结果。关键在于,研究界仍缺乏足够的资源与工具来系统探究预训练稳定性,针对仅解码器结构语言模型的相关资源尤为匮乏。我们推出PolyPythias数据集,包含针对Pythia模型系列的45次全新训练运行:覆盖5种模型规模(参数量从14M到410M)、9个全新随机种子,共生成约7000个新的检查点并对外发布。借助这45次新训练运行,再加上已有的5次,我们研究了由种子决定的不同初始条件(即参数初始化与数据顺序)对三方面的影响:(i)下游性能,(ii)习得的语言表征,(iii)训练阶段的涌现现象。除常见的缩放规律外,我们的分析总体显示,不同模型规模与初始条件下的训练动态高度一致。此外,每个模型的新种子使我们能够识别异常训练运行并梳理其特征。我们的研究结果展现了用这些方法预测训练稳定性的潜力。

英文摘要:

The stability of language model pre-training and its effects on downstream performance are still understudied. Prior work shows that the training process can yield significantly different results in response to slight variations in initial conditions, e.g., the random seed. Crucially, the research community still lacks sufficient resources and tools to systematically investigate pre-training stability, particularly for decoder-only language models. We introduce the PolyPythias, a set of 45 new training runs for the Pythia model suite: 9 new seeds across 5 model sizes, from 14M to 410M parameters, resulting in about 7k new checkpoints that we release. Using these new 45 training runs, in addition to the 5 already available, we study the effects of different initial conditions determined by the seed -- i.e., parameters' initialisation and data order -- on (i) downstream performance, (ii) learned linguistic representations, and (iii) emergence of training phases. In addition to common scaling behaviours, our analyses generally reveal highly consistent training dynamics across both model sizes and initial conditions. Further, the new seeds for each model allow us to identify outlier training runs and delineate their characteristics. Our findings show the potential of using these methods to predict training stability.

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

↑