[Paper Review] Trading-off variance and complexity in stochastic gradient descent
This paper proposes CheapSVRG, a stochastic variance-reduction optimization method that replaces the full gradient computation in SVRG with a computationally cheaper surrogate gradient estimated on a small data subset. By trading off per-iteration complexity against convergence speed, CheapSVRG achieves linear convergence up to a problem-dependent error floor, outperforming vanilla SGD and competing with SVRG while reducing computational cost per epoch.
Stochastic gradient descent is the method of choice for large-scale machine learning problems, by virtue of its light complexity per iteration. However, it lags behind its non-stochastic counterparts with respect to the convergence rate, due to high variance introduced by the stochastic updates. The popular Stochastic Variance-Reduced Gradient (SVRG) method mitigates this shortcoming, introducing a new update rule which requires infrequent passes over the entire input dataset to compute the full-gradient. In this work, we propose CheapSVRG, a stochastic variance-reduction optimization scheme. Our algorithm is similar to SVRG but instead of the full gradient, it uses a surrogate which can be efficiently computed on a small subset of the input data. It achieves a linear convergence rate ---up to some error level, depending on the nature of the optimization problem---and features a trade-off between the computational complexity and the convergence rate. Empirical evaluation shows that CheapSVRG performs at least competitively compared to the state of the art.
Motivation & Objective
- To address the high per-iteration cost of full gradient computation in variance-reduction methods like SVRG for large-scale machine learning.
- To design a stochastic optimization scheme that balances computational complexity and convergence rate by replacing full gradients with efficient surrogates.
- To provide theoretical guarantees for linear convergence under smooth, convex, separable optimization problems.
- To empirically validate that CheapSVRG achieves competitive performance with reduced computational overhead compared to state-of-the-art methods.
Proposed method
- CheapSVRG divides optimization into epochs, similar to SVRG, but computes a surrogate full gradient using only a small, fixed-size subset of the data at the start of each epoch.
- Within each epoch, it performs stochastic gradient steps using a modified update rule that combines the surrogate gradient with stochastic gradients from individual data points.
- The method introduces a tunable parameter, 'perc', which controls the allocation of gradient computation budget between outer (surrogate) and inner (stochastic) loops.
- The surrogate gradient is computed as the average of gradients over a random subset of size s, reducing the cost of full gradient estimation from O(n) to O(s).
- The algorithm maintains convergence guarantees by ensuring the surrogate gradient remains a biased but controlled estimate of the true full gradient.
- The step size is set adaptively based on the Lipschitz constant of the individual functions, following established practices in SVRG and related methods.
Experimental results
Research questions
- RQ1Can a surrogate gradient computed on a small data subset replace the full gradient in SVRG while preserving linear convergence?
- RQ2How does the trade-off between surrogate size and convergence speed affect the performance of variance-reduced stochastic optimization?
- RQ3Does CheapSVRG achieve faster convergence than vanilla SGD while maintaining lower per-epoch computational complexity?
- RQ4How sensitive is CheapSVRG to the choice of surrogate size and budget allocation between outer and inner loops?
- RQ5Can CheapSVRG achieve performance comparable to SVRG with significantly reduced computational cost in large-scale settings?
Key findings
- CheapSVRG achieves linear convergence in expectation up to a constant neighborhood of the optimal solution, depending on the problem structure and surrogate quality.
- Empirical results show that CheapSVRG performs at least as well as SVRG on both synthetic and real-world datasets, including linear regression and ℓ₂-regularized logistic regression.
- For ℓ₂-regularized logistic regression, CheapSVRG with s=1 or s=10 achieves steady progress toward the solution, even with minimal surrogate computation, while reducing per-epoch complexity.
- The method is sensitive to the budget allocation parameter 'perc'; when 90% of the budget is allocated to the inner loop, CheapSVRG diverges, unlike SVRG.
- In the noiseless and low-noise settings, CheapSVRG converges faster than vanilla SGD and matches or exceeds SVRG performance with lower computational cost per epoch.
- The algorithm maintains convergence even when the surrogate gradient is a biased estimate, demonstrating robustness to approximation error in the gradient surrogate.
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.