SANE: The phases of gradient descent through Sharpness Adjusted Number of Effective parameters

Lawrence Wang, Stephen J. Roberts
5/29/2023
cs.LG

No confident code implementation found for this paper.

Abstract

Modern neural networks are undeniably successful. Numerous studies have investigated how the curvature of loss landscapes can affect the quality of solutions. In this work we consider the Hessian matrix during network training. We reiterate the connection between the number of "well-determined" or "effective" parameters and the generalisation performance of neural nets, and we demonstrate its use as a tool for model comparison. By considering the local curvature, we propose Sharpness Adjusted Number of Effective parameters (SANE), a measure of effective dimensionality for the quality of solutions. We show that SANE is robust to large learning rates, which represent learning regimes that are attractive but (in)famously unstable. We provide evidence and characterise the Hessian shifts across "loss basins" at large learning rates. Finally, extending our analysis to deeper neural networks, we provide an approximation to the full-network Hessian, exploiting the natural ordering of neural weights, and use this approximation to provide extensive empirical evidence for our claims.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{wang2023sane,
  title  = {SANE: The phases of gradient descent through Sharpness Adjusted Number of Effective parameters},
  author = {Lawrence Wang and Stephen J. Roberts},
  year   = {2023},
  eprint = {2305.18490},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2305.18490v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2305.18490.svg)](https://codeofpaper.com/paper/2305.18490)

Discussion