Papers › Computing the Variance of Shuffling Stochastic Gradient Algorithms via Power Spectral...

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

1 Jun 2022arXiv:2206.00632archive 2025-07-28

Carles Domingo-Enrich

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. 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.

PaperPDFCode

Code

cdenrich/sgd_shuffling officialmentioned in paper report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

Not run by Syntology. Nothing on this page verifies that the listed code works.

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

SGDSGD with Momentum

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections