Preparing Lessons for Progressive Training on Language Models

Abstract

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 prepares lessons for expanding operations by learning high-layer functionality 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.

Cite

Text

Pan et al. "Preparing Lessons for Progressive Training on Language Models." AAAI Conference on Artificial Intelligence, 2024. doi:10.1609/AAAI.V38I17.29851

Markdown

[Pan et al. "Preparing Lessons for Progressive Training on Language Models." AAAI Conference on Artificial Intelligence, 2024.](https://mlanthology.org/aaai/2024/pan2024aaai-preparing/) doi:10.1609/AAAI.V38I17.29851

BibTeX

@inproceedings{pan2024aaai-preparing,
  title     = {{Preparing Lessons for Progressive Training on Language Models}},
  author    = {Pan, Yu and Yuan, Ye and Yin, Yichun and Shi, Jiaxin and Xu, Zenglin and Zhang, Ming and Shang, Lifeng and Jiang, Xin and Liu, Qun},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year      = {2024},
  pages     = {18860-18868},
  doi       = {10.1609/AAAI.V38I17.29851},
  url       = {https://mlanthology.org/aaai/2024/pan2024aaai-preparing/}
}