Current browse context:
cs.LG
Change to browse by:
References & Citations
Computer Science > Machine Learning
Title: Understanding the Effects of Data Parallelism and Sparsity on Neural Network Training
(Submitted on 25 Mar 2020 (v1), last revised 2 Apr 2021 (this version, v3))
Abstract: We study two factors in neural network training: data parallelism and sparsity; here, data parallelism means processing training data in parallel using distributed systems (or equivalently increasing batch size), so that training can be accelerated; for sparsity, we refer to pruning parameters in a neural network model, so as to reduce computational and memory cost. Despite their promising benefits, however, understanding of their effects on neural network training remains elusive. In this work, we first measure these effects rigorously by conducting extensive experiments while tuning all metaparameters involved in the optimization. As a result, we find across various workloads of data set, network model, and optimization algorithm that there exists a general scaling trend between batch size and number of training steps to convergence for the effect of data parallelism, and further, difficulty of training under sparsity. Then, we develop a theoretical analysis based on the convergence properties of stochastic gradient methods and smoothness of the optimization landscape, which illustrates the observed phenomena precisely and generally, establishing a better account of the effects of data parallelism and sparsity on neural network training.
Submission history
From: Namhoon Lee [view email][v1] Wed, 25 Mar 2020 10:49:22 GMT (602kb)
[v2] Mon, 15 Jun 2020 13:32:08 GMT (1469kb)
[v3] Fri, 2 Apr 2021 08:35:13 GMT (1956kb,D)
Link back to: arXiv, form interface, contact.