Scaling up stochastic gradient descent for non-convex optimisation

Authors: Mohamad, S., Alamri, H. and Bouchachia, A.

Journal: Machine Learning

Volume: 111

Issue: 11

Pages: 4039-4079

eISSN: 1573-0565

ISSN: 0885-6125

DOI: 10.1007/s10994-022-06243-3

Abstract:

Stochastic gradient descent (SGD) is a widely adopted iterative method for optimizing differentiable objective functions. In this paper, we propose and discuss a novel approach to scale up SGD in applications involving non-convex functions and large datasets. We address the bottleneck problem arising when using both shared and distributed memory. Typically, the former is bounded by limited computation resources and bandwidth whereas the latter suffers from communication overheads. We propose a unified distributed and parallel implementation of SGD (named DPSGD) that relies on both asynchronous distribution and lock-free parallelism. By combining two strategies into a unified framework, DPSGD is able to strike a better trade-off between local computation and communication. The convergence properties of DPSGD are studied for non-convex problems such as those arising in statistical modelling and machine learning. Our theoretical analysis shows that DPSGD leads to speed-up with respect to the number of cores and number of workers while guaranteeing an asymptotic convergence rate of O(1/T) given that the number of cores is bounded by T1 / 4 and the number of workers is bounded by T1 / 2 where T is the number of iterations. The potential gains that can be achieved by DPSGD are demonstrated empirically on a stochastic variational inference problem (Latent Dirichlet Allocation) and on a deep reinforcement learning (DRL) problem (advantage actor critic - A2C) resulting in two algorithms: DPSVI and HSA2C. Empirical results validate our theoretical findings. Comparative studies are conducted to show the performance of the proposed DPSGD against the state-of-the-art DRL algorithms.

https://eprints.bournemouth.ac.uk/37680/

Source: Scopus

Scaling up stochastic gradient descent for non-convex optimisation

Authors: Mohamad, S., Alamri, H. and Bouchachia, A.

Journal: MACHINE LEARNING

Volume: 111

Issue: 11

Pages: 4039-4079

eISSN: 1573-0565

ISSN: 0885-6125

DOI: 10.1007/s10994-022-06243-3

https://eprints.bournemouth.ac.uk/37680/

Source: Web of Science (Lite)

Scaling up stochastic gradient descent for non-convex optimisation

Authors: Mohamad, S., Alamri, H. and Bouchachia, A.

Journal: Machine Learning

Volume: 111

Pages: 4039-4079

ISSN: 0885-6125

Abstract:

Stochastic gradient descent (SGD) is a widely adopted iterative method for optimizing differentiable objective functions. In this paper, we propose and discuss a novel approach to scale up SGD in applications involving non-convex functions and large datasets. We address the bottleneck problem arising when using both shared and distributed memory. Typically, the former is bounded by limited computation resources and bandwidth whereas the latter suffers from communication overheads. We propose a unified distributed and parallel implementation of SGD (named DPSGD) that relies on both asynchronous distribution and lock-free parallelism. By combining two strategies into a unified framework, DPSGD is able to strike a better trade-off between local computation and communication. The convergence properties of DPSGD are studied for non-convex problems such as those arising in statistical modelling and machine learning. Our theoretical analysis shows that DPSGD leads to speed-up with respect to the number of cores and number of workers while guaranteeing an asymptotic convergence rate of O(1/T) given that the number of cores is bounded by T1 / 4 and the number of workers is bounded by T1 / 2 where T is the number of iterations. The potential gains that can be achieved by DPSGD are demonstrated empirically on a stochastic variational inference problem (Latent Dirichlet Allocation) and on a deep reinforcement learning (DRL) problem (advantage actor critic - A2C) resulting in two algorithms: DPSVI and HSA2C. Empirical results validate our theoretical findings. Comparative studies are conducted to show the performance of the proposed DPSGD against the state-of-the-art DRL algorithms.

https://eprints.bournemouth.ac.uk/37680/

Source: BURO EPrints

Preferred by: Hamid Bouchachia