arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2401.09192cs.LGcs.AI
收藏

为语言模型的渐进式训练准备课程

Preparing Lessons for Progressive Training on Language Models

Harbin Institute of Technology Shenzhen(哈尔滨工业大学(深圳));Pengcheng Laboratory(鹏城实验室);Peking University(北京大学);Huawei Noah’s Ark Lab(华为诺亚方舟实验室);Huawei Technologies(华为技术有限公司)

Yu Pan, Ye Yuan, Yichun Yin, Jiaxin Shi, Zenglin Xu, Ming Zhang, Lifeng Shang, Xin Jiang, Qun Liu

AI总结:

提出Apollo方法,通过低值优先采样和权重共享在低层训练时学习高层功能,为模型扩展准备课程,实现高效稳定的深度渐进训练,加速比达SOTA。

摘要:

Transformer在人工智能领域的快速进展伴随着模型规模不断增长,其代价是资源消耗和温室气体排放的增加。先前的工作建议使用预训练的小模型来提高训练效率,但这种方法可能不适用于新的模型结构。另一方面,从头开始训练可能很慢,而渐进式堆叠层通常无法实现显著的加速。为了应对这些挑战,我们提出了一种名为Apollo的新方法,该方法通过在低层训练期间学习高层功能,为扩展操作准备课程。我们的方法包括低值优先采样(LVPS)以训练不同深度,以及权重共享以促进高效扩展。我们还引入了一种用于稳定模型深度扩展的插值方法。实验表明,Apollo实现了最先进的加速比,甚至可与使用预训练模型的方法相媲美,使其成为训练深度模型的通用且高效的解决方案,同时减少了时间、财务和环境成本。

英文摘要:

The rapid progress of Transformers in artificial intelligence has come at the cost of increased resource consumption and greenhouse gas emissions due to growing model sizes. Prior work suggests using pretrained small models to improve training efficiency, but this approach may not be suitable for new model structures. On the other hand, training from scratch can be slow, and progressively stacking layers often fails to achieve significant acceleration. To address these challenges, we propose a novel method called Apollo, which prep\textbf{a}res lessons for ex\textbf{p}anding \textbf{o}perations by \textbf{l}earning high-\textbf{l}ayer functi\textbf{o}nality during training of low layers. Our approach involves low-value-prioritized sampling (LVPS) to train different depths and weight sharing to facilitate efficient expansion. We also introduce an interpolation method for stable model depth extension. Experiments demonstrate that Apollo achieves state-of-the-art acceleration ratios, even rivaling methods using pretrained models, making it a universal and efficient solution for training deep models while reducing time, financial, and environmental costs.

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

↑