Memorization capacity of deep ReLU neural networks characterized by width and depth
Organizations: School of Mathematics (Zhuhai), Sun Yat-sen University, Zhuhai, China. · School of Mathematics (Zhuhai) and Guangdong Province Key Laboratory of Computational Science, Sun Yat-sen University, Zhuhai, China.
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 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 and depth satisfy , that can memorize any data samples. We also prove that any such networks should also satisfy the lower bound , which implies that our construction is optimal up to logarithmic factors when is polynomial in . Hence, we explicitly characterize the trade-off between width and depth for the memorization capacity of deep neural networks in this regime.