Asynchronous Optimization Methods for Efficient Training of Deep Neural Networks with Guarantees
AbstractAsynchronous distributed algorithms are a popular way to reduce synchronization costs in large-scale optimization, and in particular for neural network training. However, for nonsmooth and nonconvex objectives, few convergence guarantees exist beyond cases where closed-form proximal operator solutions are available. As training most popular deep neural networks corresponds to optimizing nonsmooth and nonconvex objectives, there is a pressing need for such convergence guarantees. In this paper, we analyze for the first time the convergence of stochastic asynchronous optimization for this general class of objectives. In particular, we focus on stochastic subgradient methods allowing for block variable partitioning, where the shared model is asynchronously updated by concurrent processes. To this end, we use a probabilistic model which captures key features of real asynchronous scheduling between concurrent processes. Under this model, we establish convergence with probability one to an invariant set for stochastic subgradient methods with momentum. From a practical perspective, one issue with the family of algorithms that we consider is that they are not efficiently supported by machine learning frameworks, which mostly focus on distributed data-parallel strategies. To address this, we propose a new implementation strategy for shared-memory based training of deep neural networks for a partitioned but shared model in single- and multi-GPU settings. Based on this implementation, we achieve on average1.2x speed-up in comparison to state-of-the-art training methods for popular image classification tasks, without compromising accuracy.
How to Cite
Kungurtsev, V., Egan, M., Chatterjee, B., & Alistarh, D. (2021). Asynchronous Optimization Methods for Efficient Training of Deep Neural Networks with Guarantees. Proceedings of the AAAI Conference on Artificial Intelligence, 35(9), 8209-8216. Retrieved from https://ojs.aaai.org/index.php/AAAI/article/view/16999
AAAI Technical Track on Machine Learning II