Skip to main content
QUICK REVIEW

[Paper Review] SVRG meets SAGA: k-SVRG - A Tale of Limited Memory.

Anant Raj, Sebastian U. Stich|arXiv (Cornell University)|May 2, 2018
Stochastic Gradient Optimization TechniquesComputer Science16 references5 citations
TL;DR

This paper introduces k-SVRG, a variance-reduced stochastic optimization algorithm that balances memory usage and computational efficiency by interpolating between SVRG and SAGA. It achieves linear convergence on strongly convex problems and convergence to stationary points on non-convex problems without requiring full data passes or storing full gradient histories.

ABSTRACT

In recent years, many variance reduced algorithms for empirical risk minimization have been introduced. In contrast to vanilla SGD, these methods converge linearly on strong convex problems. To obtain the variance reduction, current methods either require frequent passes over the full data to recompute gradients---without making any progress during this time (like in SVRG), or they require memory of the same size as the input problem (like SAGA). In this work, we propose k-SVRG, an algorithm that interpolates between those two extremes: it makes best use of the available memory and in turn does avoid full passes over the data without making progress. We prove linear convergence of k-SVRG on strongly convex problems and convergence to stationary points on non-convex problems. Numerical experiments show the effectiveness of our method.

Motivation & Objective

  • To address the trade-off between memory usage and computational efficiency in variance-reduced stochastic optimization.
  • To eliminate the need for full data passes during gradient re-computation, which stalls progress in SVRG.
  • To reduce memory requirements compared to SAGA, which stores gradients for all data points.
  • To design an algorithm that adapts to available memory and maintains fast convergence.
  • To achieve linear convergence on strongly convex problems and convergence to stationary points on non-convex problems.

Proposed method

  • k-SVRG introduces a k-step memory mechanism that stores only a subset of past gradients, reducing memory usage compared to SAGA.
  • It uses a control variate strategy similar to SVRG but updates the reference gradient less frequently than full passes.
  • The algorithm maintains a running average of gradients over a sliding window of size k, balancing variance reduction and memory cost.
  • It dynamically selects which gradients to store and update based on the current iterate and data sampling.
  • The method combines the low memory footprint of SVRG with the faster convergence of SAGA by leveraging partial gradient histories.
  • Theoretical analysis shows convergence under both strongly convex and non-convex settings using the k-memory framework.

Experimental results

Research questions

  • RQ1Can we design a variance-reduced optimizer that avoids full data passes while using less memory than SAGA?
  • RQ2How does limiting memory to k past gradients affect convergence speed and stability?
  • RQ3Can k-SVRG achieve linear convergence on strongly convex problems with limited memory?
  • RQ4Does k-SVRG maintain convergence to stationary points on non-convex problems?
  • RQ5How does k-SVRG compare in practice to SVRG and SAGA in terms of convergence speed and memory usage?

Key findings

  • k-SVRG achieves linear convergence on strongly convex problems, matching the theoretical rate of SVRG and SAGA.
  • The algorithm converges to stationary points on non-convex problems, extending its applicability beyond convex settings.
  • By limiting memory to k gradients, k-SVRG avoids full data passes, reducing idle computation time compared to SVRG.
  • Numerical experiments demonstrate that k-SVRG outperforms SVRG and SAGA in terms of convergence speed under memory constraints.
  • The method effectively balances memory usage and convergence rate, making it suitable for large-scale optimization with limited resources.
  • Theoretical analysis confirms that k-SVRG maintains convergence guarantees under both convex and non-convex settings.

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.