# A Capacity Scaling Law for Artificial Neural Networks

arXiv: https://arxiv.org/abs/1708.06019 · HTML: https://mlsanity.com/paper/1708.06019/

## Key facts

- Cited by 7 papers in the map (data through 14 Oct 2026).
- First posted on arXiv 20 Aug 2017.

## Built on by (most cited first, 7 of 7)

- [GraphKAN: Enhancing Feature Extraction with Graph Kolmogorov Arnold Networks](https://mlsanity.com/paper/2406.13597/) (2024)
- [Search, Verify and Feedback: Towards Next Generation Post-training Paradigm of Foundation Models via Verifier Engineering](https://mlsanity.com/paper/2411.11504/) (2024)
- [Deep Learning-based Extreme Heatwave Forecast](https://mlsanity.com/paper/2103.09743/) (2021)
- [Lifetime policy reuse and the importance of task capacity](https://mlsanity.com/paper/2106.01741/) (2021)
- [Efficiently Learning Small Policies for Locomotion and Manipulation](https://mlsanity.com/paper/2210.00140/) (2022)
- [From Tinkering to Engineering: Measurements in Tensorflow Playground](https://mlsanity.com/paper/2101.04141/) (2021)
- [On the Limit Performance of Floating Gossip](https://mlsanity.com/paper/2302.08413/) (2023)

## Abstract (arXiv)

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. 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.
