A Capacity Scaling Law for Artificial Neural Networks

Gerald Friedland, Mario Krell
8/20/2017
cs.NEcs.LG

Official code: multimedia-berkeley/deep_thoughts (3 stars, Python, BSD-3-Clause, last commit 2017-10-11).

Abstract

We derive the calculation of two critical numbers predicting the behavior of perceptron networks. First, we derive the calculation of what we call the lossless memory (LM) dimension.

Show full abstract

The LM dimension is a generalization of the Vapnik--Chervonenkis (VC) dimension that avoids structured data and therefore provides an upper bound for perfectly fitting almost any training data. Second, we derive what we call the MacKay (MK) dimension. This limit indicates a 50% chance of not being able to train a given function. Our derivations are performed by embedding a neural network into Shannon's communication model which allows to interpret the two points as capacities measured in bits. We present a proof and practical experiments that validate our upper bounds with repeatable experiments using different network configurations, diverse implementations, varying activation functions, and several learning algorithms. The bottom line is that the two capacity points scale strictly linear with the number of weights. Among other practical applications, our result allows to compare and benchmark different neural network implementations independent of a concrete learning task. Our results provide insight into the capabilities and limits of neural networks and generate valuable know how for experimental design decisions.

View on arXivView PDF

Code Implementations(1)

BSD-3-Clause
32PythonJul 18, 20179 years agoBSD-3-Clause

Similar Papers

Cite this paper

@article{friedland2017capacity,
  title  = {A Capacity Scaling Law for Artificial Neural Networks},
  author = {Gerald Friedland and Mario Krell},
  year   = {2017},
  eprint = {1708.06019},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1708.06019}
}

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

Discussion