Towards closing the gap between the theory and practice of SVRG
By Othmane Sebbouh, Nidham Gazagnadou, Samy Jelassi, Francis R. Bach, Robert Mansel Gower. 2019
17 citations recorded by the source corpus.
Among the very first variance reduced stochastic methods for solving the empirical risk minimization problem was the SVRG method (Johnson & Zhang 2013). SVRG is an inner-outer loop based method, where in the outer loop a reference full gradient is evaluated, after which $m \in \mathbb{N}$ steps of an inner loop are executed where the reference gradient is used to build a variance reduced estimate of the current gradient. The simplicity of the SVRG method and its analysis has lead to multiple extensions and variants for even non-convex optimization. Yet there is a significant gap between the parameter settings that the analysis suggests and what is known to work well in practice. Our first contribution is that we take several steps towards closing this gap. In particular, the current analysis shows that $m$ should be of the order of the condition number so that the resulting method has a favorable complexity. Yet in practice $m =n$ works well irregardless of the condition number, where $n$ is the number of data points. Furthermore, the current analysis shows that the inner iterates have to be reset using averaging after every outer loop. Yet in practice SVRG works best when the inner iterates are updated continuously and not reset. We provide an analysis of these aforementioned practical settings and show that they achieve the same favorable complexity as the original analysis (with slightly better constants). Our second contribution is to provide a more general analysis than had been previously done by using arbitrary sampling, which allows us to analyse virtually all forms of mini-batching through a single theorem. Since our setup and analysis reflects what is done in practice, we are able to set the parameters such as the mini-batch size and step size using our theory in such a way that produces a more efficient algorithm in practice, as we show in extensive numerical experiments.
Subfields: Artificial Intelligence, Computational Mechanics, Statistics and Probability, Optimization & Training
How researchers see this paper
The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.
In Artificial Intelligence
- Nicolas Loizou
- Peter Richtárik
- Simon Lacoste-Julien
- Robert Mansel Gower
- Ahmed Khaled
- Ioannis Mitliagkas
- Othmane Sebbouh
- Hugo Berard
In Computational Mechanics
- Nicolas Loizou
- Peter Richtárik
- Simon Lacoste-Julien
- Ioannis Mitliagkas
- Robert Mansel Gower
- Hugo Berard
- Ahmed Khaled
- Othmane Sebbouh
In Statistics and Probability
- Nicolas Loizou
- Peter Richtárik
- Ahmed Khaled
- Robert Mansel Gower
- Othmane Sebbouh
- Simon Lacoste-Julien
- Hugo Berard
- Ioannis Mitliagkas
In Optimization & Training
- Nicolas Loizou
- Peter Richtárik
- Simon Lacoste-Julien
- Robert Mansel Gower
- Ahmed Khaled
- Ioannis Mitliagkas
- Hugo Berard
- Othmane Sebbouh
Citations in the corpus
- Stochastic Hamiltonian Gradient Methods for Smooth Games (2020, methodology): “For more examples of variance reduced methods in different settings, see Defazio (2016); Kone ˇ cn ´ y et al. (2016); Gower et al. (2018); Sebbouh et al. (2019).”
- SGD for Structured Nonconvex Functions: Learning Rates, Minibatching and Interpolation (2020, background): “[51] Othmane Sebbouh, Nidham Gazagnadou, Samy Jelassi, Francis Bach, and Robert Gower.”
- Unified Analysis of Stochastic Gradient Methods for Composite Convex and Smooth Optimization (2020, methodology): “We demonstrate this by answering the question “What is the optimal minibatch size for variance reduced methods?” Recently, precise estimates of the minibach sizes which minimize the total complexity for SAGA [8] and SVRG [4, 19, 34] applied to strongly convex functions were derived in [9] and [37].”