arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2209.14981cs.LGcs.AIstat.ML
收藏

别浪费我的时间!使用最新的体重平均技术,节省ImageNet和BERT训练的天数

Stop Wasting My Time! Saving Days of ImageNet and BERT Training with Latest Weight Averaging

Centre for Artificial Intelligence(人工智能中心);University College London(伦敦大学学院)

Jean Kaddour

摘要:

在大型数据集上训练视觉或语言模型可能需要几天甚至几周的时间。我们发现,平均k个最新检查点的权重,每个检查点都是在一个epoch结束时收集的,可以在损失和准确性方面加快训练进度,相当于在ImageNet上训练ResNet 50和在WikiText-103上训练RoberTa-Base模型时分别节省约68和约30 GPU小时。我们还提供了代码和模型检查点轨迹来重现结果,并促进了重用历史权重以加快收敛的研究。

英文摘要:

Training vision or language models on large datasets can take days, if not weeks. We show that averaging the weights of the k latest checkpoints, each collected at the end of an epoch, can speed up the training progression in terms of loss and accuracy by dozens of epochs, corresponding to time savings up to ~68 and ~30 GPU hours when training a ResNet50 on ImageNet and RoBERTa-Base model on WikiText-103, respectively. We also provide the code and model checkpoint trajectory to reproduce the results and facilitate research on reusing historical weights for faster convergence.

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

↑