Computing the Variance of Shuffling Stochastic Gradient Algorithms via Power Spectral Density Analysis

Carles Domingo-Enrich
6/1/2022
math.OCcs.LGstat.ML

Official code: CDEnrich/sgd_shuffling (0 stars, MATLAB, last commit 2022-05-22).

Abstract

When solving finite-sum minimization problems, two common alternatives to stochastic gradient descent (SGD) with theoretical benefits are random reshuffling (SGD-RR) and shuffle-once (SGD-SO), in which functions are sampled in cycles without replacement. Under a convenient stochastic noise approximation which holds experimentally, we study the stationary variances of the iterates of SGD, SGD-RR and SGD-SO, whose leading terms decrease in this order, and obtain simple approximations.

Show full abstract

To obtain our results, we study the power spectral density of the stochastic gradient noise sequences. Our analysis extends beyond SGD to SGD with momentum and to the stochastic Nesterov's accelerated gradient method. We perform experiments on quadratic objective functions to test the validity of our approximation and the correctness of our findings.

View on arXivView PDF

Code Implementations(1)

Experiments for the paper "Computing the Variance of Shuffling Stochastic Gradient Algorithms via Power Spectral Density Analysis "

00MATLABMay 17, 20224 years ago

Similar Papers

Cite this paper

@article{domingoenrich2022computing,
  title  = {Computing the Variance of Shuffling Stochastic Gradient Algorithms via Power Spectral Density Analysis},
  author = {Carles Domingo-Enrich},
  year   = {2022},
  eprint = {2206.00632},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2206.00632}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2206.00632.svg)](https://codeofpaper.com/paper/2206.00632)

Discussion