Enregistré dans:
Détails bibliographiques
Auteurs principaux: Lowell, Mark, Kastner, Catharine
Format: Preprint
Publié: 2024
Sujets:
Accès en ligne:https://arxiv.org/abs/2406.00127
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866914819096969216
author Lowell, Mark
Kastner, Catharine
author_facet Lowell, Mark
Kastner, Catharine
contents During neural network training, the sharpness of the Hessian matrix of the training loss rises until training is on the edge of stability. As a result, even nonstochastic gradient descent does not accurately model the underlying dynamical system defined by the gradient flow of the training loss. We use an exponential Euler solver to train the network without entering the edge of stability, so that we accurately approximate the true gradient descent dynamics. We demonstrate experimentally that the increase in the sharpness of the Hessian matrix is caused by the layerwise Jacobian matrices of the network becoming aligned, so that a small change in the network preactivations near the inputs of the network can cause a large change in the outputs of the network. We further demonstrate that the degree of alignment scales with the size of the dataset by a power law with a coefficient of determination between 0.74 and 0.98.
format Preprint
id arxiv_https___arxiv_org_abs_2406_00127
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Training on the Edge of Stability Is Caused by Layerwise Jacobian Alignment
Lowell, Mark
Kastner, Catharine
Machine Learning
During neural network training, the sharpness of the Hessian matrix of the training loss rises until training is on the edge of stability. As a result, even nonstochastic gradient descent does not accurately model the underlying dynamical system defined by the gradient flow of the training loss. We use an exponential Euler solver to train the network without entering the edge of stability, so that we accurately approximate the true gradient descent dynamics. We demonstrate experimentally that the increase in the sharpness of the Hessian matrix is caused by the layerwise Jacobian matrices of the network becoming aligned, so that a small change in the network preactivations near the inputs of the network can cause a large change in the outputs of the network. We further demonstrate that the degree of alignment scales with the size of the dataset by a power law with a coefficient of determination between 0.74 and 0.98.
title Training on the Edge of Stability Is Caused by Layerwise Jacobian Alignment
topic Machine Learning
url https://arxiv.org/abs/2406.00127