Revisiting SGD with Increasingly Weighted Averaging: Optimization and Generalization Perspectives
arXiv:2003.04339
Abstract
Stochastic gradient descent (SGD) has been widely studied in the literature from different angles, and is commonly employed for solving many big data machine learning problems. However, the averaging technique, which combines all iterative solutions into a single solution, is still under-explored. While some increasingly weighted averaging schemes have been considered in the literature, existing works are mostly restricted to strongly convex objective functions and the convergence of optimization error. It remains unclear how these averaging schemes affect the convergence of {\it both optimization error and generalization error} (two equally important components of testing error) for {\bf non-strongly convex objectives, including non-convex problems}. In this paper, we {\it fill the gap} by comprehensively analyzing the increasingly weighted averaging on convex, strongly convex and non-convex objective functions in terms of both optimization error and generalization error. In particular, we analyze a family of increasingly weighted averaging, where the weight for the solution at iteration is proportional to (). We show how affects the optimization error and the generalization error, and exhibit the trade-off caused by . Experiments have demonstrated this trade-off and the effectiveness of polynomially increased weighted averaging compared with other averaging schemes for a wide range of problems including deep learning.
References in corpus (8)
- Adam: A Method for Stochastic Optimization
- Making Gradient Descent Optimal for Strongly Convex Stochastic Optimization
- Stochastic Gradient Descent for Non-smooth Optimization: Convergence Results and Optimal Averaging Schemes
- Train faster, generalize better: Stability of stochastic gradient descent
- Non-convex Finite-Sum Optimization Via SCSG Methods
- On exponential convergence of SGD in non-convex over-parametrized learning
- Stochastic subgradient method converges at the rate on weakly convex functions
- Stagewise Training Accelerates Convergence of Testing Error Over SGD