Memory capacity of two layer neural networks with smooth activations
Not on the map. Why?
Abstract (arXiv)
Determining the memory capacity of two layer neural networks with m hidden neurons and input dimension d (i.e., md+2m total trainable parameters), which refers to the largest size of general data the network can memorize, is a fundamental machine learning question. For activations that are real analytic at a point and, if restricting to a polynomial there, have sufficiently high degree, we establish a lower bound of lfloor md/2rfloor and optimality up to a factor of approximately 2. All practical activations, such as sigmoids, Heaviside, and the rectified linear unit (ReLU), are real analytic at a point. Furthermore, the degree condition is mild, requiring, for example, that binomk+d-1d-1≥ n if the activation is xk. Analogous prior results were limited to Heaviside and ReLU activations -- our result covers almost everything else. In order to analyze general activations, we derive the precise generic rank of the network's Jacobian, which can be written in terms of Hadamard powers and the Khatri-Rao product. Our analysis extends classical linear algebraic facts about the rank of Hadamard powers. Overall, our approach differs from prior works on memory capacity and holds promise for extending to deeper models and other architectures.
Key facts. Cited by 5 papers in the map (data through 7 Oct 2026). Builds on 9 of its 26 references that are in the map. First posted on arXiv 3 Aug 2023.
Builds on
9 of 26 references.
References · 9
- 2018Reconciling modern machine learning practice and the bias-variance trade-offcited by 919
- 2018Gradient Descent Provably Optimizes Over-parameterized Neural Networkscited by 655
- 2019Towards moderate overparameterization: global convergence guarantees for training shallow neural networkscited by 176
- 2018Fast and Faster Convergence of SGD for Over-Parameterized Models and an Accelerated Perceptroncited by 143
- 2020The Interpolation Phase Transition in Neural Networks: Memorization and Generalization under Lazy Trainingcited by 84
- 2018Small ReLU networks are powerful memorizers: a tight analysis of memorization capacitycited by 76
- 2019Quadratic Suffices for Over-parametrization via Matrix Chernoff Boundcited by 58
- 2016Diverse Neural Network Learns True Target Functionscited by 33
- 2022When Expressivity Meets Trainability: Fewer than n Neurons Can Workcited by 8
Built on by
Citing papers per year: 2023: 1; 2024: 3; 2025: 1.
5 papers.
- 2024Next-token prediction capacity: general upper bounds and a lower bound for transformerscited by 11
- 2023Memorization With Neural Nets: Going Beyond the Worst Casecited by 1
- 2024Interpolation with deep neural networks with non-polynomial activations: necessary and sufficient numbers of neuronscited by 1
- 2025Beyond Universal Approximation Theorems: Algorithmic Uniform Approximation by Neural Networks Trained with Noisy Datacited by 1
- 2024Memorization Capacity for Additive Fine-Tuning with Small ReLU Networkscited by 0
- 2025Beyond Universal Approximation Theorems: Algorithmic Uniform Approximation by Neural Networks Trained with Noisy Data31 Aug 2025
- 2024Memorization Capacity for Additive Fine-Tuning with Small ReLU Networks1 Aug 2024
- 2024Interpolation with deep neural networks with non-polynomial activations: necessary and sufficient numbers of neurons22 May 2024
- 2024Next-token prediction capacity: general upper bounds and a lower bound for transformers22 May 2024
- 2023Memorization With Neural Nets: Going Beyond the Worst Case30 Sep 2023