English

Training Diagonal Linear Networks with Stochastic Sharpness-Aware Minimization

Machine Learning 2025-03-18 v1 Statistics Theory Machine Learning Statistics Theory

Abstract

We analyze the landscape and training dynamics of diagonal linear networks in a linear regression task, with the network parameters being perturbed by small isotropic normal noise. The addition of such noise may be interpreted as a stochastic form of sharpness-aware minimization (SAM) and we prove several results that relate its action on the underlying landscape and training dynamics to the sharpness of the loss. In particular, the noise changes the expected gradient to force balancing of the weight matrices at a fast rate along the descent trajectory. In the diagonal linear model, we show that this equates to minimizing the average sharpness, as well as the trace of the Hessian matrix, among all possible factorizations of the same matrix. Further, the noise forces the gradient descent iterates towards a shrinkage-thresholding of the underlying true parameter, with the noise level explicitly regulating both the shrinkage factor and the threshold.

Keywords

Cite

@article{arxiv.2503.11891,
  title  = {Training Diagonal Linear Networks with Stochastic Sharpness-Aware Minimization},
  author = {Gabriel Clara and Sophie Langer and Johannes Schmidt-Hieber},
  journal= {arXiv preprint arXiv:2503.11891},
  year   = {2025}
}

Comments

54 pages, 3 figures

R2 v1 2026-06-28T22:21:27.634Z