Skip to main content
QUICK REVIEW

[Paper Review] VR-SGD: A Simple Stochastic Variance Reduction Method for Machine Learning

Fanhua Shang, Kaiwen Zhou|arXiv (Cornell University)|Feb 26, 2018
Stochastic Gradient Optimization TechniquesComputer Science37 references13 citations
TL;DR

This paper proposes VR-SGD, a novel stochastic variance reduction method that uses the average and last iterate of each epoch as its two key vectors, enabling larger learning rates and faster convergence. It achieves linear convergence for strongly convex problems and provides convergence guarantees for non-strongly convex cases, outperforming SVRG, Prox-SVRG, and state-of-the-art methods like Katyusha on both convex and non-convex empirical risk minimization tasks.

ABSTRACT

In this paper, we propose a simple variant of the original SVRG, called variance reduced stochastic gradient descent (VR-SGD). Unlike the choices of snapshot and starting points in SVRG and its proximal variant, Prox-SVRG, the two vectors of VR-SGD are set to the average and last iterate of the previous epoch, respectively. The settings allow us to use much larger learning rates, and also make our convergence analysis more challenging. We also design two different update rules for smooth and non-smooth objective functions, respectively, which means that VR-SGD can tackle non-smooth and/or non-strongly convex problems directly without any reduction techniques. Moreover, we analyze the convergence properties of VR-SGD for strongly convex problems, which show that VR-SGD attains linear convergence. Different from its counterparts that have no convergence guarantees for non-strongly convex problems, we also provide the convergence guarantees of VR-SGD for this case, and empirically verify that VR-SGD with varying learning rates achieves similar performance to its momentum accelerated variant that has the optimal convergence rate $\mathcal{O}(1/T^2)$. Finally, we apply VR-SGD to solve various machine learning problems, such as convex and non-convex empirical risk minimization, and leading eigenvalue computation. Experimental results show that VR-SGD converges significantly faster than SVRG and Prox-SVRG, and usually outperforms state-of-the-art accelerated methods, e.g., Katyusha.

Motivation & Objective

  • To address the limitations of existing stochastic variance reduction methods like SVRG and Prox-SVRG in terms of learning rate selection and convergence analysis.
  • To develop a method that directly handles non-smooth and non-strongly convex problems without requiring reduction techniques.
  • To provide theoretical convergence guarantees for both strongly and non-strongly convex problems under a unified framework.
  • To design a practical algorithm that achieves faster convergence than existing methods on real-world machine learning tasks.

Proposed method

  • VR-SGD sets its two vectors for each epoch as the average and last iterate of the previous epoch, enabling larger learning rates and improved stability.
  • It employs two distinct update rules: one for smooth objectives and another for non-smooth objectives, allowing direct handling of non-differentiable regularizers like ℓ1.
  • The algorithm uses a mini-batch stochastic gradient with variance reduction, where the full gradient is recomputed periodically to reduce noise.
  • For non-strongly convex problems, VR-SGD uses varying learning rates to achieve convergence rates comparable to accelerated methods with optimal O(1/T²) rate.
  • The method is extended to non-convex settings via VR-SGD++, which reduces gradient computations in early iterations to improve efficiency.
  • Convergence analysis is conducted for both strongly convex and non-strongly convex cases, establishing linear convergence and sublinear rates respectively.

Experimental results

Research questions

  • RQ1Can a variance reduction method be designed that uses the average and last iterate of each epoch to enable larger learning rates and faster convergence?
  • RQ2Can VR-SGD achieve convergence guarantees for non-strongly convex and non-smooth problems without requiring problem transformation or reduction techniques?
  • RQ3Does VR-SGD achieve linear convergence for strongly convex problems, and how does it compare to accelerated methods in terms of convergence rate?
  • RQ4How does VR-SGD perform empirically on both convex and non-convex empirical risk minimization tasks compared to state-of-the-art methods like Katyusha and SAGA?

Key findings

  • VR-SGD converges significantly faster than SVRG and Prox-SVRG across all tested datasets and problem types, including logistic regression with ℓ1, ℓ2, and elastic-net regularization.
  • For non-strongly convex problems, VR-SGD with varying learning rates achieves performance comparable to the optimal O(1/T²) rate of momentum-accelerated methods like Katyusha.
  • In non-convex empirical risk minimization with sigmoid loss, VR-SGD outperforms SAGA, SVRG, and SVRG++ in terms of objective value and function suboptimality.
  • The proposed VR-SGD++ variant reduces gradient computations in early iterations and improves efficiency, outperforming SVRG++ on large-scale problems.
  • Theoretical analysis confirms linear convergence for strongly convex problems and provides convergence guarantees for non-strongly convex cases, filling a gap in existing methods.
  • Empirical results show VR-SGD consistently outperforms state-of-the-art methods on diverse machine learning tasks, including PCA, matrix completion, and deep learning-related problems.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.