Computer Science > Computer Vision and Pattern Recognition
[Submitted on 14 Sep 2017 (v1), last revised 31 Jan 2018 (this version, v10)]
Title:ImageNet Training in Minutes
View PDFAbstract:Finishing 90-epoch ImageNet-1k training with ResNet-50 on a NVIDIA M40 GPU takes 14 days. This training requires 10^18 single precision operations in total. On the other hand, the world's current fastest supercomputer can finish 2 * 10^17 single precision operations per second (Dongarra et al 2017, this https URL). If we can make full use of the supercomputer for DNN training, we should be able to finish the 90-epoch ResNet-50 training in one minute. However, the current bottleneck for fast DNN training is in the algorithm level. Specifically, the current batch size (e.g. 512) is too small to make efficient use of many processors. For large-scale DNN training, we focus on using large-batch data-parallelism synchronous SGD without losing accuracy in the fixed epochs. The LARS algorithm (You, Gitman, Ginsburg, 2017, arXiv:1708.03888) enables us to scale the batch size to extremely large case (e.g. 32K). We finish the 100-epoch ImageNet training with AlexNet in 11 minutes on 1024 CPUs. About three times faster than Facebook's result (Goyal et al 2017, arXiv:1706.02677), we finish the 90-epoch ImageNet training with ResNet-50 in 20 minutes on 2048 KNLs without losing accuracy. State-of-the-art ImageNet training speed with ResNet-50 is 74.9% top-1 test accuracy in 15 minutes. We got 74.9% top-1 test accuracy in 64 epochs, which only needs 14 minutes. Furthermore, when we increase the batch size to above 16K, our accuracy is much higher than Facebook's on corresponding batch sizes. Our source code is available upon request.
Submission history
From: Yang You [view email][v1] Thu, 14 Sep 2017 23:59:52 UTC (1,372 KB)
[v2] Wed, 20 Sep 2017 16:16:05 UTC (1,358 KB)
[v3] Mon, 16 Oct 2017 09:35:12 UTC (1,532 KB)
[v4] Thu, 2 Nov 2017 14:39:48 UTC (1,843 KB)
[v5] Mon, 6 Nov 2017 04:41:02 UTC (1,845 KB)
[v6] Tue, 7 Nov 2017 18:40:04 UTC (1,848 KB)
[v7] Wed, 6 Dec 2017 05:03:46 UTC (1,838 KB)
[v8] Thu, 7 Dec 2017 18:55:56 UTC (1,841 KB)
[v9] Tue, 12 Dec 2017 00:02:50 UTC (1,843 KB)
[v10] Wed, 31 Jan 2018 05:15:27 UTC (1,852 KB)
References & Citations
Bibliographic and Citation Tools
Bibliographic Explorer (What is the Explorer?)
Litmaps (What is Litmaps?)
scite Smart Citations (What are Smart Citations?)
Code, Data and Media Associated with this Article
CatalyzeX Code Finder for Papers (What is CatalyzeX?)
DagsHub (What is DagsHub?)
Gotit.pub (What is GotitPub?)
Papers with Code (What is Papers with Code?)
ScienceCast (What is ScienceCast?)
Demos
Recommenders and Search Tools
Influence Flower (What are Influence Flowers?)
Connected Papers (What is Connected Papers?)
CORE Recommender (What is CORE?)
arXivLabs: experimental projects with community collaborators
arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.
Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.
Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.