Parallel Restarted SGD with Faster Convergence and Less Communication: Demystifying Why Model Averaging Works for Deep Learning. Yu, H., Yang, S., & Zhu, S. November, 2018. arXiv:1807.06629 [math]
Paper doi abstract bibtex In distributed training of deep neural networks, parallel mini-batch SGD is widely used to speed up the training process by using multiple workers. It uses multiple workers to sample local stochastic gradient in parallel, aggregates all gradients in a single server to obtain the average, and update each worker's local model using a SGD update with the averaged gradient. Ideally, parallel mini-batch SGD can achieve a linear speed-up of the training time (with respect to the number of workers) compared with SGD over a single worker. However, such linear scalability in practice is significantly limited by the growing demand for gradient communication as more workers are involved. Model averaging, which periodically averages individual models trained over parallel workers, is another common practice used for distributed training of deep neural networks since (Zinkevich et al. 2010) (McDonald, Hall, and Mann 2010). Compared with parallel mini-batch SGD, the communication overhead of model averaging is significantly reduced. Impressively, tremendous experimental works have verified that model averaging can still achieve a good speed-up of the training time as long as the averaging interval is carefully controlled. However, it remains a mystery in theory why such a simple heuristic works so well. This paper provides a thorough and rigorous theoretical study on why model averaging can work as well as parallel mini-batch SGD with significantly less communication overhead.
@misc{yu_parallel_2018,
title = {Parallel {Restarted} {SGD} with {Faster} {Convergence} and {Less} {Communication}: {Demystifying} {Why} {Model} {Averaging} {Works} for {Deep} {Learning}},
shorttitle = {Parallel {Restarted} {SGD} with {Faster} {Convergence} and {Less} {Communication}},
url = {http://arxiv.org/abs/1807.06629},
doi = {10.48550/arXiv.1807.06629},
abstract = {In distributed training of deep neural networks, parallel mini-batch SGD is widely used to speed up the training process by using multiple workers. It uses multiple workers to sample local stochastic gradient in parallel, aggregates all gradients in a single server to obtain the average, and update each worker's local model using a SGD update with the averaged gradient. Ideally, parallel mini-batch SGD can achieve a linear speed-up of the training time (with respect to the number of workers) compared with SGD over a single worker. However, such linear scalability in practice is significantly limited by the growing demand for gradient communication as more workers are involved. Model averaging, which periodically averages individual models trained over parallel workers, is another common practice used for distributed training of deep neural networks since (Zinkevich et al. 2010) (McDonald, Hall, and Mann 2010). Compared with parallel mini-batch SGD, the communication overhead of model averaging is significantly reduced. Impressively, tremendous experimental works have verified that model averaging can still achieve a good speed-up of the training time as long as the averaging interval is carefully controlled. However, it remains a mystery in theory why such a simple heuristic works so well. This paper provides a thorough and rigorous theoretical study on why model averaging can work as well as parallel mini-batch SGD with significantly less communication overhead.},
urldate = {2024-12-04},
author = {Yu, Hao and Yang, Sen and Zhu, Shenghuo},
month = nov,
year = {2018},
note = {arXiv:1807.06629 [math]},
keywords = {Computer Science - Distributed, Parallel, and Cluster Computing, Computer Science - Machine Learning, Mathematics - Optimization and Control},
}
Downloads: 0
{"_id":"kjQJguh2tZQFa3X37","bibbaseid":"yu-yang-zhu-parallelrestartedsgdwithfasterconvergenceandlesscommunicationdemystifyingwhymodelaveragingworksfordeeplearning-2018","author_short":["Yu, H.","Yang, S.","Zhu, S."],"bibdata":{"bibtype":"misc","type":"misc","title":"Parallel Restarted SGD with Faster Convergence and Less Communication: Demystifying Why Model Averaging Works for Deep Learning","shorttitle":"Parallel Restarted SGD with Faster Convergence and Less Communication","url":"http://arxiv.org/abs/1807.06629","doi":"10.48550/arXiv.1807.06629","abstract":"In distributed training of deep neural networks, parallel mini-batch SGD is widely used to speed up the training process by using multiple workers. It uses multiple workers to sample local stochastic gradient in parallel, aggregates all gradients in a single server to obtain the average, and update each worker's local model using a SGD update with the averaged gradient. Ideally, parallel mini-batch SGD can achieve a linear speed-up of the training time (with respect to the number of workers) compared with SGD over a single worker. However, such linear scalability in practice is significantly limited by the growing demand for gradient communication as more workers are involved. Model averaging, which periodically averages individual models trained over parallel workers, is another common practice used for distributed training of deep neural networks since (Zinkevich et al. 2010) (McDonald, Hall, and Mann 2010). Compared with parallel mini-batch SGD, the communication overhead of model averaging is significantly reduced. Impressively, tremendous experimental works have verified that model averaging can still achieve a good speed-up of the training time as long as the averaging interval is carefully controlled. However, it remains a mystery in theory why such a simple heuristic works so well. This paper provides a thorough and rigorous theoretical study on why model averaging can work as well as parallel mini-batch SGD with significantly less communication overhead.","urldate":"2024-12-04","author":[{"propositions":[],"lastnames":["Yu"],"firstnames":["Hao"],"suffixes":[]},{"propositions":[],"lastnames":["Yang"],"firstnames":["Sen"],"suffixes":[]},{"propositions":[],"lastnames":["Zhu"],"firstnames":["Shenghuo"],"suffixes":[]}],"month":"November","year":"2018","note":"arXiv:1807.06629 [math]","keywords":"Computer Science - Distributed, Parallel, and Cluster Computing, Computer Science - Machine Learning, Mathematics - Optimization and Control","bibtex":"@misc{yu_parallel_2018,\n\ttitle = {Parallel {Restarted} {SGD} with {Faster} {Convergence} and {Less} {Communication}: {Demystifying} {Why} {Model} {Averaging} {Works} for {Deep} {Learning}},\n\tshorttitle = {Parallel {Restarted} {SGD} with {Faster} {Convergence} and {Less} {Communication}},\n\turl = {http://arxiv.org/abs/1807.06629},\n\tdoi = {10.48550/arXiv.1807.06629},\n\tabstract = {In distributed training of deep neural networks, parallel mini-batch SGD is widely used to speed up the training process by using multiple workers. It uses multiple workers to sample local stochastic gradient in parallel, aggregates all gradients in a single server to obtain the average, and update each worker's local model using a SGD update with the averaged gradient. Ideally, parallel mini-batch SGD can achieve a linear speed-up of the training time (with respect to the number of workers) compared with SGD over a single worker. However, such linear scalability in practice is significantly limited by the growing demand for gradient communication as more workers are involved. Model averaging, which periodically averages individual models trained over parallel workers, is another common practice used for distributed training of deep neural networks since (Zinkevich et al. 2010) (McDonald, Hall, and Mann 2010). Compared with parallel mini-batch SGD, the communication overhead of model averaging is significantly reduced. Impressively, tremendous experimental works have verified that model averaging can still achieve a good speed-up of the training time as long as the averaging interval is carefully controlled. However, it remains a mystery in theory why such a simple heuristic works so well. This paper provides a thorough and rigorous theoretical study on why model averaging can work as well as parallel mini-batch SGD with significantly less communication overhead.},\n\turldate = {2024-12-04},\n\tauthor = {Yu, Hao and Yang, Sen and Zhu, Shenghuo},\n\tmonth = nov,\n\tyear = {2018},\n\tnote = {arXiv:1807.06629 [math]},\n\tkeywords = {Computer Science - Distributed, Parallel, and Cluster Computing, Computer Science - Machine Learning, Mathematics - Optimization and Control},\n}\n\n\n\n","author_short":["Yu, H.","Yang, S.","Zhu, S."],"key":"yu_parallel_2018","id":"yu_parallel_2018","bibbaseid":"yu-yang-zhu-parallelrestartedsgdwithfasterconvergenceandlesscommunicationdemystifyingwhymodelaveragingworksfordeeplearning-2018","role":"author","urls":{"Paper":"http://arxiv.org/abs/1807.06629"},"keyword":["Computer Science - Distributed","Parallel","and Cluster Computing","Computer Science - Machine Learning","Mathematics - Optimization and Control"],"metadata":{"authorlinks":{}},"html":""},"bibtype":"misc","biburl":"https://bibbase.org/zotero/pa511","dataSources":["MpmemwLeQzDcKDq6x"],"keywords":["computer science - distributed","parallel","and cluster computing","computer science - machine learning","mathematics - optimization and control"],"search_terms":["parallel","restarted","sgd","faster","convergence","less","communication","demystifying","model","averaging","works","deep","learning","yu","yang","zhu"],"title":"Parallel Restarted SGD with Faster Convergence and Less Communication: Demystifying Why Model Averaging Works for Deep Learning","year":2018}