Random-reshuffled SARAH does not need a full gradient computations
Aleksandr Beznosikov, Martin Takáč
TL;DR
This work introduces Shuffled-SARAH, a variance-reduced finite-sum optimization method that eliminates the need for periodic full-gradient computations by building a gradient estimate on-the-fly through randomized reshuffling. By averaging gradients seen in each pass and updating with a fixed step-size, the method achieves linear convergence under μ-strong convexity and δ-similarity of component Hessians, with a total gradient-computation complexity of $S = O\big([nL/μ + n^2δ/μ]\log(1/ε)\big)$. Theoretical results show contraction bounds that hold for RR, SO, and IG shuffles, and an optimal local batch size scales as $b = N^{2/3}$ under δ ~ L/√b. Empirical results on toy trajectories and LIBSVM logistic-regression tasks demonstrate faster convergence and show that the gradient estimator $v_s$ closely tracks the true gradient ∇P(w_s) as training proceeds.
Abstract
The StochAstic Recursive grAdient algoritHm (SARAH) algorithm is a variance reduced variant of the Stochastic Gradient Descent (SGD) algorithm that needs a gradient of the objective function from time to time. In this paper, we remove the necessity of a full gradient computation. This is achieved by using a randomized reshuffling strategy and aggregating stochastic gradients obtained in each epoch. The aggregated stochastic gradients serve as an estimate of a full gradient in the SARAH algorithm. We provide a theoretical analysis of the proposed approach and conclude the paper with numerical experiments that demonstrate the efficiency of this approach.
