Dive into Layers: Neural Network Capacity Bounding using Algebraic Geometry

Ji Yang, Lu Sang, Daniel Cremers
9/3/2021
cs.LGcs.NE

Official code: Sangluisme/NeuralNetworkBettiNumber (1 star, Python, GPL-2.0, last commit 2021-12-03).

Abstract

The empirical results suggest that the learnability of a neural network is directly related to its size. To mathematically prove this, we borrow a tool in topological algebra: Betti numbers to measure the topological geometric complexity of input data and the neural network.

Show full abstract

By characterizing the expressive capacity of a neural network with its topological complexity, we conduct a thorough analysis and show that the network's expressive capacity is limited by the scale of its layers. Further, we derive the upper bounds of the Betti numbers on each layer within the network. As a result, the problem of architecture selection of a neural network is transformed to determining the scale of the network that can represent the input data complexity. With the presented results, the architecture selection of a fully connected network boils down to choosing a suitable size of the network such that it equips the Betti numbers that are not smaller than the Betti numbers of the input data. We perform the experiments on a real-world dataset MNIST and the results verify our analysis and conclusion. The code is publicly available.

View on arXivView PDF

Code Implementations(1)

GPL-2.0

demo code for paper "Dive into Layers: Neural Network Capacity Bounding using Algebraic Geometry"

10PythonNov 4, 20214 years agoGPL-2.0

Similar Papers

Cite this paper

@article{yang2021dive,
  title  = {Dive into Layers: Neural Network Capacity Bounding using Algebraic Geometry},
  author = {Ji Yang and Lu Sang and Daniel Cremers},
  year   = {2021},
  eprint = {2109.01461},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2109.01461}
}

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

Discussion