Weight fluctuations in (deep) linear neural networks and a derivation of the inverse-variance flatness relation

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Gross, Markus, Raulf, Arne P., Räth, Christoph
Format: Preprint
Publié: 2023
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866910545142087680
author Gross, Markus
Raulf, Arne P.
Räth, Christoph
author_facet Gross, Markus
Raulf, Arne P.
Räth, Christoph
contents We investigate the stationary (late-time) training regime of single- and two-layer underparameterized linear neural networks within the continuum limit of stochastic gradient descent (SGD) for synthetic Gaussian data. In the case of a single-layer network in the weakly underparameterized regime, the spectrum of the noise covariance matrix deviates notably from the Hessian, which can be attributed to the broken detailed balance of SGD dynamics. The weight fluctuations are in this case generally anisotropic, but effectively experience an isotropic loss. For an underparameterized two-layer network, we describe the stochastic dynamics of the weights in each layer and analyze the associated stationary covariances. We identify the inter-layer coupling as a distinct source of anisotropy for the weight fluctuations. In contrast to the single-layer case, the weight fluctuations are effectively subject to an anisotropic loss, the flatness of which is inversely related to the fluctuation variance. We thereby provide an analytical derivation of the recently observed inverse variance-flatness relation in a model of a deep linear neural network.
format Preprint
id arxiv_https___arxiv_org_abs_2311_14120
institution arXiv
publishDate 2023
record_format arxiv
spellingShingle Weight fluctuations in (deep) linear neural networks and a derivation of the inverse-variance flatness relation
Gross, Markus
Raulf, Arne P.
Räth, Christoph
Machine Learning
Disordered Systems and Neural Networks
Statistical Mechanics
We investigate the stationary (late-time) training regime of single- and two-layer underparameterized linear neural networks within the continuum limit of stochastic gradient descent (SGD) for synthetic Gaussian data. In the case of a single-layer network in the weakly underparameterized regime, the spectrum of the noise covariance matrix deviates notably from the Hessian, which can be attributed to the broken detailed balance of SGD dynamics. The weight fluctuations are in this case generally anisotropic, but effectively experience an isotropic loss. For an underparameterized two-layer network, we describe the stochastic dynamics of the weights in each layer and analyze the associated stationary covariances. We identify the inter-layer coupling as a distinct source of anisotropy for the weight fluctuations. In contrast to the single-layer case, the weight fluctuations are effectively subject to an anisotropic loss, the flatness of which is inversely related to the fluctuation variance. We thereby provide an analytical derivation of the recently observed inverse variance-flatness relation in a model of a deep linear neural network.
title Weight fluctuations in (deep) linear neural networks and a derivation of the inverse-variance flatness relation
topic Machine Learning
Disordered Systems and Neural Networks
Statistical Mechanics
url https://arxiv.org/abs/2311.14120