Memorization capacity of deep ReLU neural networks characterized by width and depth

Xin Yang, Yunfei Yang
3/10/2026
cs.LGmath.NA

No confident code implementation found for this paper.

Abstract

This paper studies the memorization capacity of deep neural networks with ReLU activation. Specifically, we investigate the minimal size of such networks to memorize any $N$ data points in the unit ball with pairwise separation distance $δ$ and discrete labels. Most prior studies characterize the memorization capacity by the number of parameters or neurons. We generalize these results by constructing neural networks, whose width $W$ and depth $L$ satisfy $W^2L^2= \mathcal{O}(N\log(δ^{-1}))$, that can memorize any $N$ data samples. We also prove that any such networks should also satisfy the lower bound $W^2L^2=Ω(N \log(δ^{-1}))$, which implies that our construction is optimal up to logarithmic factors when $δ^{-1}$ is polynomial in $N$. Hence, we explicitly characterize the trade-off between width and depth for the memorization capacity of deep neural networks in this regime.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{yang2026memorization,
  title  = {Memorization capacity of deep ReLU neural networks characterized by width and depth},
  author = {Xin Yang and Yunfei Yang},
  year   = {2026},
  eprint = {2603.09589},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2603.09589v1}
}

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

Discussion