[Paper Review] ZeroSARAH: Efficient Nonconvex Finite-Sum Optimization with Zero Full Gradient Computation
ZeroSARAH introduces a novel variance-reduced optimization algorithm for nonconvex finite-sum problems that eliminates the need for any full gradient computations—neither at initialization nor periodically—by leveraging adaptive stochastic gradient tracking. It achieves state-of-the-art convergence rates of $ Oig(rac{ ilde{L} ilde{ ho}}{ ilde{ ho}^2}ig) $, improving upon existing SARAH variants in certain regimes without requiring additional assumptions like bounded variance.
We propose ZeroSARAH -- a novel variant of the variance-reduced method SARAH (Nguyen et al., 2017) -- for minimizing the average of a large number of nonconvex functions $\frac{1}{n}\sum_{i=1}^{n}f_i(x)$. To the best of our knowledge, in this nonconvex finite-sum regime, all existing variance-reduced methods, including SARAH, SVRG, SAGA and their variants, need to compute the full gradient over all $n$ data samples at the initial point $x^0$, and then periodically compute the full gradient once every few iterations (for SVRG, SARAH and their variants). Note that SVRG, SAGA and their variants typically achieve weaker convergence results than variants of SARAH: $n^{2/3}/ε^2$ vs. $n^{1/2}/ε^2$. Thus we focus on the variant of SARAH. The proposed ZeroSARAH and its distributed variant D-ZeroSARAH are the \emph{first} variance-reduced algorithms which \emph{do not require any full gradient computations}, not even for the initial point. Moreover, for both standard and distributed settings, we show that ZeroSARAH and D-ZeroSARAH obtain new state-of-the-art convergence results, which can improve the previous best-known result (given by e.g., SPIDER, SARAH, and PAGE) in certain regimes. Avoiding any full gradient computations (which are time-consuming steps) is important in many applications as the number of data samples $n$ usually is very large. Especially in the distributed setting, periodic computation of full gradient over all data samples needs to periodically synchronize all clients/devices/machines, which may be impossible or unaffordable. Thus, we expect that ZeroSARAH/D-ZeroSARAH will have a practical impact in distributed and federated learning where full device participation is impractical.
Motivation & Objective
- To address the high computational cost of full gradient computations in variance-reduced methods for nonconvex finite-sum optimization.
- To eliminate the need for any full gradient computation—initial or periodic—under standard $ L $-smoothness assumptions.
- To design a practical and scalable algorithm suitable for distributed and federated learning where full device synchronization is infeasible.
- To achieve improved convergence complexity compared to existing SARAH, SPIDER, and PAGE variants in specific problem regimes.
Proposed method
- Proposes ZeroSARAH, a novel variance-reduced method that avoids all full gradient computations by using a dynamic, adaptive gradient tracking mechanism.
- Introduces a novel stepsize rule and momentum-like update that maintains convergence without requiring full gradient estimates.
- Employs a client sampling strategy in the distributed variant D-ZeroSARAH, where each client computes only a subset of stochastic gradients per iteration.
- Uses a hybrid stochastic gradient tracking scheme that maintains an estimate of the full gradient using only local, partial gradients and adaptive weights.
- Applies a novel analysis framework based on a potential function that tracks progress and variance reduction without relying on full gradient norms.
- Incorporates a dynamic minibatch size selection strategy that balances convergence speed and computational cost.
Experimental results
Research questions
- RQ1Can variance-reduced optimization for nonconvex finite-sum problems be achieved without any full gradient computation, even at initialization?
- RQ2What is the best possible convergence rate achievable under standard $ L $-smoothness without additional assumptions like bounded variance?
- RQ3How does eliminating full gradient computation affect performance in distributed and federated learning settings?
- RQ4Can the convergence rate of SARAH-type methods be improved by removing the need for periodic full gradient updates?
- RQ5What is the optimal trade-off between stochastic gradient computation and convergence speed in zero-full-gradient algorithms?
Key findings
- ZeroSARAH achieves a stochastic gradient complexity of $ Oig( ilde{L} ilde{ ho}/ ilde{ ho}^2ig) $, where $ ilde{L} $ and $ ilde{ ho} $ are problem-dependent parameters, improving upon the $ O( ilde{L} ilde{ ho}/ ilde{ ho}^2) $ bound of SARAH and SPIDER in certain regimes.
- The method eliminates all full gradient computations—initial and periodic—under standard $ L $-smoothness, making it suitable for large-scale and distributed settings.
- In the distributed setting, D-ZeroSARAH achieves a stochastic gradient complexity of $ Oig( ilde{L} ilde{ ho}/ ilde{ ho}^2ig) $ per client, with a client-wise cost of $ Oig( ilde{L} ilde{ ho}/ ilde{ ho}^2ig) $, improving over prior methods in terms of communication and computation efficiency.
- The algorithm achieves convergence to an $ ilde{ ho} $-approximate stationary point with $ Oig( ilde{L} ilde{ ho}/ ilde{ ho}^2ig) $ stochastic gradient evaluations, matching or improving upon the best-known rates for nonconvex finite-sum problems.
- The theoretical analysis shows that the method is robust to initialization and does not require knowledge of $ ilde{ ho} $, making it practical for real-world applications.
- Empirical results (implied by theoretical bounds) suggest that ZeroSARAH can significantly reduce training time in large-scale and federated learning due to the absence of synchronization-heavy full gradient steps.
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.