0

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

Averaging the weights of recent checkpoints during training can significantly speed up the training process and improve convergence for vision and language models.

Year
2022
Venue
arXiv 2022
Authors
1
Hosting
Abstract onlyARXIV-DEFAULT

Cite

Notes

Only stored in your browser.

Attribution

Abstract & full text
arxiv.org/abs/2209.14981v2ARXIV-DEFAULT
TL;DR
Semantic Scholar
Attribution policy →

Abstract

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.

Authors

1