English

On the Optimal Memorization Power of ReLU Neural Networks

Machine Learning 2021-10-08 v1 Neural and Evolutionary Computing Machine Learning

Abstract

We study the memorization power of feedforward ReLU neural networks. We show that such networks can memorize any NN points that satisfy a mild separability assumption using O~(N)\tilde{O}\left(\sqrt{N}\right) parameters. Known VC-dimension upper bounds imply that memorizing NN samples requires Ω(N)\Omega(\sqrt{N}) parameters, and hence our construction is optimal up to logarithmic factors. We also give a generalized construction for networks with depth bounded by 1LN1 \leq L \leq \sqrt{N}, for memorizing NN samples using O~(N/L)\tilde{O}(N/L) parameters. This bound is also optimal up to logarithmic factors. Our construction uses weights with large bit complexity. We prove that having such a large bit complexity is both necessary and sufficient for memorization with a sub-linear number of parameters.

Keywords

Cite

@article{arxiv.2110.03187,
  title  = {On the Optimal Memorization Power of ReLU Neural Networks},
  author = {Gal Vardi and Gilad Yehudai and Ohad Shamir},
  journal= {arXiv preprint arXiv:2110.03187},
  year   = {2021}
}