Unveiling the Hessian's Connection to the Decision Boundary

Mahalakshmi Sabanayagam, Freya Behrens, Urte Adomaityte, Anna Dawid
6/12/2023
cs.LGcond-mat.dis-nnstat.ML

No official code found. Best implementation: Shmoo137/Hessian-and-Decision-Boundary (4 stars, MIT, last commit 2024-04-10).

Abstract

Understanding the properties of well-generalizing minima is at the heart of deep learning research. On the one hand, the generalization of neural networks has been connected to the decision boundary complexity, which is hard to study in the high-dimensional input space. Conversely, the flatness of a minimum has become a controversial proxy for generalization. In this work, we provide the missing link between the two approaches and show that the Hessian top eigenvectors characterize the decision boundary learned by the neural network. Notably, the number of outliers in the Hessian spectrum is proportional to the complexity of the decision boundary. Based on this finding, we provide a new and straightforward approach to studying the complexity of a high-dimensional decision boundary; show that this connection naturally inspires a new generalization measure; and finally, we develop a novel margin estimation technique which, in combination with the generalization measure, precisely identifies minima with simple wide-margin boundaries. Overall, this analysis establishes the connection between the Hessian and the decision boundary and provides a new method to identify minima with simple wide-margin decision boundaries.

View on arXivView PDF

Code Implementations(1)

MIT

The repository accompanying the research paper "Unveiling the Hessian’s Connection to the Decision Boundary" by M. Sabanayagam, F. Behrens, U. Adomaityte, and A. Dawid

40PythonMay 24, 20232 years agoMIT

Similar Papers

Cite this paper

@article{sabanayagam2023unveiling,
  title  = {Unveiling the Hessian's Connection to the Decision Boundary},
  author = {Mahalakshmi Sabanayagam and Freya Behrens and Urte Adomaityte and Anna Dawid},
  year   = {2023},
  eprint = {2306.07104},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2306.07104v1}
}

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/2306.07104.svg)](https://codeofpaper.com/paper/2306.07104)

Discussion