Skip to main content
QUICK REVIEW

[Paper Review] Finite-Sum Smooth Optimization with SARAH

Lam M. Nguyen, Marten van Dijk|arXiv (Cornell University)|Jan 22, 2019
Stochastic Gradient Optimization TechniquesComputer Science7 citations
TL;DR

This paper proposes a modified SARAH algorithm for finite-sum smooth nonconvex optimization, achieving total gradient complexity matching the theoretical lower bound of Ω(√n/ε) up to a constant factor when n ≤ O(ε⁻²). For convex problems, it introduces SARAH++ with sublinear and linear convergence rates, and a practical adaptive variant (SARAH Adaptive) that improves performance without tuning, validated on real datasets like covtype and ijcnn1.

ABSTRACT

The total complexity (measured as the total number of gradient computations) of a stochastic first-order optimization algorithm that finds a first-order stationary point of a finite-sum smooth nonconvex objective function $F(w)=\frac{1}{n} \sum_{i=1}^n f_i(w)$ has been proven to be at least $Ω(\sqrt{n}/ε)$ for $n \leq \mathcal{O}(ε^{-2})$ where $ε$ denotes the attained accuracy $\mathbb{E}[ \| abla F( ilde{w})\|^2] \leq ε$ for the outputted approximation $ ilde{w}$ (Fang et al., 2018). In this paper, we provide a convergence analysis for a slightly modified version of the SARAH algorithm (Nguyen et al., 2017a;b) and achieve total complexity that matches the lower-bound worst case complexity in (Fang et al., 2018) up to a constant factor when $n \leq \mathcal{O}(ε^{-2})$ for nonconvex problems. For convex optimization, we propose SARAH++ with sublinear convergence for general convex and linear convergence for strongly convex problems; and we provide a practical version for which numerical experiments on various datasets show an improved performance.

Motivation & Objective

  • Address the gap in convergence complexity for stochastic first-order methods in nonconvex finite-sum optimization.
  • Achieve total gradient complexity matching the theoretical lower bound Ω(√n/ε) for nonconvex problems under average smoothness.
  • Develop a practical and efficient variant for convex problems with improved convergence and performance.
  • Propose an adaptive variant (SARAH Adaptive) that dynamically adjusts step sizes and stops inner loops early to avoid redundant updates.

Proposed method

  • Modify the original SARAH algorithm by setting the output of each outer loop to the final iterate $ w_{m+1}^{(s)} $, rather than a random intermediate point.
  • Use a recursive variance-reduced gradient estimator: $ v_t^{(s)} = \nabla f_{i_t}(w_t^{(s)}) - \nabla f_{i_t}(w_{t-1}^{(s)}) + v_{t-1}^{(s)} $, to maintain low-variance gradient estimates.
  • Introduce SARAH++ with a dynamic stopping criterion based on $ \|v_t^{(s)}\|^2 < \gamma \|v_0^{(s)}\|^2 $, ensuring efficient inner loop termination.
  • Propose SARAH Adaptive with adaptive step sizes $ \eta_t^{(s)} = \frac{1}{L} \cdot \frac{\|v_t^{(s)}\|^2}{\|v_0^{(s)}\|^2} $, which scale with the current gradient norm.
  • Apply the adaptive step size and stopping condition to avoid small, redundant updates, improving convergence speed.
  • Use the full gradient at the start of each outer loop and update the iterate via $ w_{t+1}^{(s)} = w_t^{(s)} - \eta v_t^{(s)} $.

Experimental results

Research questions

  • RQ1Can a modified SARAH algorithm achieve total gradient complexity matching the known lower bound for nonconvex finite-sum problems?
  • RQ2Does SARAH++ provide improved convergence rates for convex and strongly convex problems compared to standard SARAH?
  • RQ3Can an adaptive variant of SARAH dynamically adjust step sizes and inner loop length to improve practical performance?
  • RQ4How does the performance of SARAH Adaptive compare to SARAH and SARAH++ across different datasets and learning rate settings?

Key findings

  • The modified SARAH algorithm achieves total gradient complexity of $ \mathcal{O}(\sqrt{n}/\epsilon) $, matching the theoretical lower bound $ \Omega(\sqrt{n}/\epsilon) $ up to a constant factor for nonconvex problems when $ n \leq \mathcal{O}(\epsilon^{-2}) $.
  • SARAH++ achieves sublinear convergence for general convex problems and linear convergence for strongly convex problems, with theoretical guarantees.
  • Numerical experiments on covtype and ijcnn1 datasets show SARAH++ outperforms standard SARAH in terms of convergence speed and accuracy.
  • SARAH Adaptive, though without theoretical analysis, demonstrates superior performance over both SARAH and SARAH++ in practice, especially without learning rate tuning.
  • The stopping criterion $ \|v_t^{(s)}\|^2 < \gamma \|v_0^{(s)}\|^2 $ significantly improves efficiency by preventing unnecessary small updates.
  • The adaptive step size $ \eta_t^{(s)} = \frac{1}{L} \cdot \frac{\|v_t^{(s)}\|^2}{\|v_0^{(s)}\|^2} $ ensures $ \eta_t^{(s)} \leq \frac{1}{L} $, maintaining stability and convergence.

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.