Charting the Topography of the Neural Network Landscape with Thermal-Like Noise

Theo Jules, Gal Brener, Tal Kachman, Noam Levi, Yohai Bar-Sinai
4/3/2023
cond-mat.stat-mechcs.LG

No confident code implementation found for this paper.

Abstract

The training of neural networks is a complex, high-dimensional, non-convex and noisy optimization problem whose theoretical understanding is interesting both from an applicative perspective and for fundamental reasons. A core challenge is to understand the geometry and topography of the landscape that guides the optimization. In this work, we employ standard Statistical Mechanics methods, namely, phase-space exploration using Langevin dynamics, to study this landscape for an over-parameterized fully connected network performing a classification task on random data. Analyzing the fluctuation statistics, in analogy to thermal dynamics at a constant temperature, we infer a clear geometric description of the low-loss region. We find that it is a low-dimensional manifold whose dimension can be readily obtained from the fluctuations. Furthermore, this dimension is controlled by the number of data points that reside near the classification decision boundary. Importantly, we find that a quadratic approximation of the loss near the minimum is fundamentally inadequate due to the exponential nature of the decision boundary and the flatness of the low-loss region. This causes the dynamics to sample regions with higher curvature at higher temperatures, while producing quadratic-like statistics at any given temperature. We explain this behavior by a simplified loss model which is analytically tractable and reproduces the observed fluctuation statistics.

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{jules2023charting,
  title  = {Charting the Topography of the Neural Network Landscape with Thermal-Like Noise},
  author = {Theo Jules and Gal Brener and Tal Kachman and Noam Levi and Yohai Bar-Sinai},
  year   = {2023},
  eprint = {2304.01335},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2304.01335v2}
}

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

Discussion