paper-with-me

홈 › Papers

On the Trajectories of SGD Without Replacement

2023-12-26 · Pierfrancesco Beneventano

This article examines the implicit regularization effect of Stochastic Gradient Descent (SGD). We consider the case of SGD without replacement, the variant typically used to optimize large-scale neural networks. We analyze this algorithm in a more realistic regime than typically considered in theoretical works on SGD, as, e.g., we allow the product of the learning rate and Hessian to be $O(1)$ and we do not specify any model architecture, learning task, or loss (objective) function. Our core theoretical result is that optimizing with SGD without replacement is locally equivalent to making an additional step on a novel regularizer. This implies that the expected trajectories of SGD without replacement can be decoupled in (i) following SGD with replacement (in which batches are sampled i.i.d.) along the directions of high curvature, and (ii) regularizing the trace of the noise covariance along the flat ones. As a consequence, SGD without replacement travels flat areas and may escape saddles significantly faster than SGD with replacement. On several vision tasks, the novel regularizer penalizes a weighted trace of the Fisher Matrix, thus encouraging sparsity in the spectrum of the Hessian of the loss in line with empirical observations from prior work. We also propose an explanation for why SGD does not train at the edge of stability (as opposed to GD).

📄 PDF Abstract BibTeX arXiv:2312.16143

Code (0)

등록된 구현이 없습니다.

Methods 이 논문이 사용한 방법론

SGD Stochastic Gradient Descent is an iterative optimization technique that uses minibatches of data to form an expectation of the gradient, rather than the full gradient using…

Similar Papers 제목 키워드 기반

Low-Variance Policy Gradient Estimation with World Models

2020-10-29 · Michal Nauman, Floris den Hengst

In this paper, we propose World Model Policy Gradient (WMPG), an approach to reduce the variance of policy gradient estimates using learned world models (WM's). In WMPG, a WM is trained online and used to imagine traject…

Developing the Temporal Graph Convolutional Neural Network Model to Predict Hip Replacement using Electronic Health Records

2024-09-10 · Zoe Hancox, Sarah R. Kingsbury, Andrew Clegg, Philip G. Conaghan 외

Background: Hip replacement procedures improve patient lives by relieving pain and restoring mobility. Predicting hip replacement in advance could reduce pain by enabling timely interventions, prioritising individuals fo…

Incremental Sampling Without Replacement for Sequence Models

2020-02-21 · ICML 2020 1 · Kensen Shi, David Bieber, Charles Sutton

Sampling is a fundamental technique, and sampling without replacement is often desirable when duplicate samples are not beneficial. Within machine learning, sampling is useful for generating diverse outputs from a traine…

Combinatorial OptimizationProgram Synthesis

Random Shuffling Beats SGD Only After Many Epochs on Ill-Conditioned Problems

2021-06-12 · NeurIPS 2021 12 · Itay Safran, Ohad Shamir

Recently, there has been much interest in studying the convergence rates of without-replacement SGD, and proving that it is faster than with-replacement SGD in the worst case. However, known lower bounds ignore the probl…

Long-Term Optimal Delivery Planning for Replacing the Liquefied Petroleum Gas Cylinder

2021-12-22 · Akihiro Yoshida, Haruki Sato, Shiori Uchiumi, Nariaki Tateiwa 외

In the daily operation of liquefied petroleum gas service, gas providers visit customers and replace cylinders if the gas is about to run out. For a long time, frequent visits to customers were required because they coul…