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

Sparse Upcycling:从密集检查点培训混合专家模型

Sparse Upcycling: Training Mixture-of-Experts from Dense Checkpoints

Georgia Institute of Technology(佐治亚理工学院);Google Research(谷歌研究院)

Aran Komatsuzaki, Joan Puigcerver, James Lee-Thorp, Carlos Riquelme Ruiz, Basil Mustafa, Joshua Ainslie, Yi Tay, Mostafa Dehghani, Neil Houlsby

摘要:

训练大型、深度神经网络以使其收敛可能是极其昂贵的。因此,通常只有一小部分流行的密集模型在不同的上下文和任务中被重用。越来越多的稀疏激活模型,试图从计算成本解耦模型的大小,正在成为一个有吸引力的替代密集模型。尽管稀疏模型在质量和计算成本方面更有效,但在大规模领域中从头开始训练仍然是数据饥渴和昂贵的。在这项工作中,我们提出了稀疏升级循环-一种简单的方法,通过从密集的检查点初始化稀疏激活的混合专家模型来重用沉没的训练成本。我们发现,稀疏升级的T5 Base、Large和XL语言模型以及视觉Transformer Base和Large模型在SuperGLUE和ImageNet上的性能分别显著优于其密集对应模型,仅使用初始密集预训练沉没成本的约50%。升级后的模型也优于从头开始训练的稀疏模型,其初始密集预训练计算预算为100%。

英文摘要:

Training large, deep neural networks to convergence can be prohibitively expensive. As a result, often only a small selection of popular, dense models are reused across different contexts and tasks. Increasingly, sparsely activated models, which seek to decouple model size from computation costs, are becoming an attractive alternative to dense models. Although more efficient in terms of quality and computation cost, sparse models remain data-hungry and costly to train from scratch in the large scale regime. In this work, we propose sparse upcycling -- a simple way to reuse sunk training costs by initializing a sparsely activated Mixture-of-Experts model from a dense checkpoint. We show that sparsely upcycled T5 Base, Large, and XL language models and Vision Transformer Base and Large models, respectively, significantly outperform their dense counterparts on SuperGLUE and ImageNet, using only ~50% of the initial dense pretraining sunk cost. The upcycled models also outperform sparse models trained from scratch on 100% of the initial dense pretraining computation budget.

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

↑