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

高效的token叠加预训练

Efficient Pre-Training with Token Superposition

Nous Research

Bowen Peng, Théo Gigant, Jeffrey Quesnelle

AI总结:

本文提出了一种名为Token-Superposition Training (TST) 的方法,通过在不修改模型架构的情况下,提高预训练的数据吞吐量,从而在大规模预训练中实现更高的效率和性能。

摘要:

大型语言模型的预训练通常成本高昂且在扩展时效率低下,需要复杂的侵入性修改才能实现高数据吞吐量。在本工作中,我们提出了Token-Superposition Training (TST),一种简单的即插即用方法,能够在不修改并行性、优化器、分词器、数据或模型架构的情况下,显著提高预训练过程中每FLOPs的数据吞吐量。TST分为两个阶段:(i) 一个高度高效的叠加阶段,其中我们将许多连续的token合并成一个袋,并使用多热交叉熵(MCE)目标进行训练;(ii) 一个恢复阶段,其中我们恢复回标准训练。我们对270M和600M参数的规模进行了广泛评估,并在3B和10B A1B混合专家模型上进行了验证,证明其在不同设置中具有高度鲁棒性。最终,TST在基准损失和下游评估中均优于基线,且在等损失设置下,TST在10B A1B规模上实现了预训练时间的2.5倍减少。

英文摘要:

Pre-training of Large Language Models is often prohibitively expensive and inefficient at scale, requiring complex and invasive modifications in order to achieve high data throughput. In this work, we present Token-Superposition Training (TST), a simple drop-in method that significantly improves the data throughput per FLOPs during pre-training without modifying the parallelism, optimizer, tokenizer, data, or model architecture. TST is done in two phases: (i) A highly efficient superposition phase where we combine many contiguous tokens into one bag and train using a multi-hot cross-entropy (MCE) objective, and (ii) a recovery phase where we revert back to standard training. We extensively evaluate TST on the scale of 270M and 600M parameters and validate on 3B and a 10B A1B mixture of experts model, demonstrating that it is highly robust in different settings. Ultimately, TST consistently outperforms baseline loss and downstream evaluations, and under equal-loss settings, TST yields up to a 2.5x reduction in total pre-training time at the 10B A1B scale.

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

↑