Barcodes as Summary of Loss Function Topology

Serguei Barannikov, Alexander Korotin, Dmitry Oganesyan, Daniil Emtsev, Evgeny Burnaev
11/29/2019
cs.LGmath.ATmath.DS

Official code: grag90/BarcodeCalc (0 stars, Python, last commit 2019-12-06).

Abstract

We propose to study neural networks' loss surfaces by methods of topological data analysis. We suggest to apply barcodes of Morse complexes to explore topology of loss surfaces.

Show full abstract

An algorithm for calculations of the loss function's barcodes of local minima is described. We have conducted experiments for calculating barcodes of local minima for benchmark functions and for loss surfaces of small neural networks. Our experiments confirm our two principal observations for neural networks' loss surfaces. First, the barcodes of local minima are located in a small lower part of the range of values of neural networks' loss function. Secondly, increase of the neural network's depth and width lowers the barcodes of local minima. This has some natural implications for the neural network's learning and for its generalization properties.

View on arXivView PDF

Code Implementations(1)

grag90/BarcodeCalcOfficial100%

Small package for calculating zero persistent homology of sublevel set filtration of a function

00Python, Jupyter NotebookDec 6, 20196 years ago

Similar Papers

Cite this paper

@article{barannikov2019barcodes,
  title  = {Barcodes as Summary of Loss Function Topology},
  author = {Serguei Barannikov and Alexander Korotin and Dmitry Oganesyan and Daniil Emtsev and Evgeny Burnaev},
  year   = {2019},
  eprint = {1912.00043},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1912.00043}
}

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

Discussion