[Paper Review] Accelerating Stochastic Gradient Descent via Online Learning to Sample
This paper proposes Adaptive Weighted SGD (AW-SGD), an online learning method that accelerates Stochastic Gradient Descent by adaptively learning optimal sampling distributions for training examples. By minimizing gradient variance in real time, AW-SGD improves convergence speed across image classification, matrix factorization, and reinforcement learning without requiring prior knowledge of data importance.
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 a 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 AW-SGD 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 explore policies are estimated at the same time.
Motivation & Objective
- To accelerate Stochastic Gradient Descent (SGD) by learning adaptive sampling strategies for training data.
- To minimize the variance of stochastic gradients through online optimization of sampling distributions.
- To enable faster convergence in online learning scenarios without prior knowledge of data importance.
- To unify the optimization and sampling processes in a single adaptive framework.
- To demonstrate effectiveness across diverse applications including deep learning and reinforcement learning.
Proposed method
- AW-SGD formulates the sampling distribution as a learnable parameter set, optimized in parallel with model parameters.
- It uses online learning to incrementally minimize the variance of the stochastic gradient estimator.
- The algorithm maintains two sets of parameters: one for model weights and another for sampling weights over training examples.
- The sampling distribution is updated at each time step based on gradient variance reduction objectives.
- The method leverages the fact that SGD can be used to learn the optimal importance sampling distribution.
- It applies to both supervised and reinforcement learning settings where data importance varies.
Experimental results
Research questions
- RQ1Can online learning of sampling distributions accelerate SGD convergence in online optimization?
- RQ2How does adaptive sampling based on gradient variance reduction compare to uniform or fixed importance sampling?
- RQ3Can the same framework be applied across diverse machine learning tasks like image classification and matrix factorization?
- RQ4Does joint optimization of model and sampling parameters yield faster convergence than separate training?
- RQ5Can AW-SGD be effectively applied in reinforcement learning with simultaneous policy and value function estimation?
Key findings
- AW-SGD achieves faster convergence than standard SGD in image classification with deep features by adaptively sampling examples based on label informativeness.
- In matrix factorization, AW-SGD improves convergence by non-uniformly sampling rows and columns based on their contribution to gradient variance.
- In reinforcement learning, AW-SGD accelerates learning by jointly optimizing policies and exploration strategies through adaptive sampling.
- The method reduces gradient variance in real time, leading to more stable and faster optimization.
- AW-SGD outperforms baseline methods across all three evaluated applications without requiring prior knowledge of data importance.
- The algorithm maintains low computational overhead while significantly improving convergence speed.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.