Accelerating Stochastic Gradient Descent via Online Learning to Sample

Abstract

Stochastic Gradient Descent (SGD) is one of the most widely used techniques for online optimization in machine learning. In this work, we accelerate SGD by adaptively learning how to sample the most useful training examples at each time step. First, we show that SGD can be used to learn the best possible sampling distribution of an importance sampling estimator. Second, we show that the sampling distribution of an SGD algorithm can be estimated online by incrementally minimizing the variance of the gradient. The resulting algorithm — called Adaptive Weighted SGD (AW-SGD) — maintains a set of parameters to optimize, as well as a set of parameters to sample learning examples. We show that AWSGD yields faster convergence in three different applications: (i) image classification with deep features, where the sampling of images depends on their labels, (ii) matrix factorization, where rows and columns are not sampled uniformly, and (iii) reinforcement learning, where the optimized and exploration policies are estimated at the same time, where our approach corresponds to an off-policy gradient algorithm.

Extracted Key Phrases

9 Figures and Tables

Cite this paper

@article{Bouchard2015AcceleratingSG, title={Accelerating Stochastic Gradient Descent via Online Learning to Sample}, author={Guillaume Bouchard and Th{\'e}o Trouillon and Julien Perez and Adrien Gaidon}, journal={CoRR}, year={2015}, volume={abs/1506.09016} }