Noise Balance and Stationary Distribution of Stochastic Gradient Descent

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Ziyin, Liu, Li, Hongchao, Ueda, Masahito
Format: Preprint
Published: 2023
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866909646337343488
author Ziyin, Liu
Li, Hongchao
Ueda, Masahito
author_facet Ziyin, Liu
Li, Hongchao
Ueda, Masahito
contents The stochastic gradient descent (SGD) algorithm is the algorithm we use to train neural networks. However, it remains poorly understood how the SGD navigates the highly nonlinear and degenerate loss landscape of a neural network. In this work, we show that the minibatch noise of SGD regularizes the solution towards a noise-balanced solution whenever the loss function contains a rescaling parameter symmetry. Because the difference between a simple diffusion process and SGD dynamics is the most significant when symmetries are present, our theory implies that the loss function symmetries constitute an essential probe of how SGD works. We then apply this result to derive the stationary distribution of stochastic gradient flow for a diagonal linear network with arbitrary depth and width. The stationary distribution exhibits complicated nonlinear phenomena such as phase transitions, broken ergodicity, and fluctuation inversion. These phenomena are shown to exist uniquely in deep networks, implying a fundamental difference between deep and shallow models.
format Preprint
id arxiv_https___arxiv_org_abs_2308_06671
institution arXiv
publishDate 2023
record_format arxiv
spellingShingle Noise Balance and Stationary Distribution of Stochastic Gradient Descent
Ziyin, Liu
Li, Hongchao
Ueda, Masahito
Machine Learning
Artificial Intelligence
The stochastic gradient descent (SGD) algorithm is the algorithm we use to train neural networks. However, it remains poorly understood how the SGD navigates the highly nonlinear and degenerate loss landscape of a neural network. In this work, we show that the minibatch noise of SGD regularizes the solution towards a noise-balanced solution whenever the loss function contains a rescaling parameter symmetry. Because the difference between a simple diffusion process and SGD dynamics is the most significant when symmetries are present, our theory implies that the loss function symmetries constitute an essential probe of how SGD works. We then apply this result to derive the stationary distribution of stochastic gradient flow for a diagonal linear network with arbitrary depth and width. The stationary distribution exhibits complicated nonlinear phenomena such as phase transitions, broken ergodicity, and fluctuation inversion. These phenomena are shown to exist uniquely in deep networks, implying a fundamental difference between deep and shallow models.
title Noise Balance and Stationary Distribution of Stochastic Gradient Descent
topic Machine Learning
Artificial Intelligence
url https://arxiv.org/abs/2308.06671