Saved in:
Bibliographic Details
Main Authors: Ghosh, Avrajit, Kwon, Soo Min, Wang, Rongrong, Ravishankar, Saiprasad, Qu, Qing
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2502.20531
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866910849817378816
author Ghosh, Avrajit
Kwon, Soo Min
Wang, Rongrong
Ravishankar, Saiprasad
Qu, Qing
author_facet Ghosh, Avrajit
Kwon, Soo Min
Wang, Rongrong
Ravishankar, Saiprasad
Qu, Qing
contents Deep neural networks trained using gradient descent with a fixed learning rate $η$ often operate in the regime of "edge of stability" (EOS), where the largest eigenvalue of the Hessian equilibrates about the stability threshold $2/η$. In this work, we present a fine-grained analysis of the learning dynamics of (deep) linear networks (DLNs) within the deep matrix factorization loss beyond EOS. For DLNs, loss oscillations beyond EOS follow a period-doubling route to chaos. We theoretically analyze the regime of the 2-period orbit and show that the loss oscillations occur within a small subspace, with the dimension of the subspace precisely characterized by the learning rate. The crux of our analysis lies in showing that the symmetry-induced conservation law for gradient flow, defined as the balancing gap among the singular values across layers, breaks at EOS and decays monotonically to zero. Overall, our results contribute to explaining two key phenomena in deep networks: (i) shallow models and simple tasks do not always exhibit EOS; and (ii) oscillations occur within top features. We present experiments to support our theory, along with examples demonstrating how these phenomena occur in nonlinear networks and how they differ from those which have benign landscape such as in DLNs.
format Preprint
id arxiv_https___arxiv_org_abs_2502_20531
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Learning Dynamics of Deep Linear Networks Beyond the Edge of Stability
Ghosh, Avrajit
Kwon, Soo Min
Wang, Rongrong
Ravishankar, Saiprasad
Qu, Qing
Machine Learning
Deep neural networks trained using gradient descent with a fixed learning rate $η$ often operate in the regime of "edge of stability" (EOS), where the largest eigenvalue of the Hessian equilibrates about the stability threshold $2/η$. In this work, we present a fine-grained analysis of the learning dynamics of (deep) linear networks (DLNs) within the deep matrix factorization loss beyond EOS. For DLNs, loss oscillations beyond EOS follow a period-doubling route to chaos. We theoretically analyze the regime of the 2-period orbit and show that the loss oscillations occur within a small subspace, with the dimension of the subspace precisely characterized by the learning rate. The crux of our analysis lies in showing that the symmetry-induced conservation law for gradient flow, defined as the balancing gap among the singular values across layers, breaks at EOS and decays monotonically to zero. Overall, our results contribute to explaining two key phenomena in deep networks: (i) shallow models and simple tasks do not always exhibit EOS; and (ii) oscillations occur within top features. We present experiments to support our theory, along with examples demonstrating how these phenomena occur in nonlinear networks and how they differ from those which have benign landscape such as in DLNs.
title Learning Dynamics of Deep Linear Networks Beyond the Edge of Stability
topic Machine Learning
url https://arxiv.org/abs/2502.20531