[Paper Review] Provable Memorization via Deep Neural Networks using Sub-linear Parameters
This paper demonstrates that deep neural networks with sub-linear parameters—specifically O(N^{2/3})—can provably memorize N input-label pairs when the inputs are Δ-separated, a condition satisfied by many practical datasets. By leveraging depth and ReLU/sigmoidal activations, the authors construct narrow (width-3) deep networks that achieve memorization with significantly fewer parameters than the standard O(N) bound, resolving a key theoretical gap in overparameterization.
It is known that $O(N)$ parameters are sufficient for neural networks to memorize arbitrary $N$ input-label pairs. By exploiting depth, we show that $O(N^{2/3})$ parameters suffice to memorize $N$ pairs, under a mild condition on the separation of input points. In particular, deeper networks (even with width $3$) are shown to memorize more pairs than shallow networks, which also agrees with the recent line of works on the benefits of depth for function approximation. We also provide empirical results that support our theoretical findings.
Motivation & Objective
- To identify conditions under which neural networks can memorize N input-label pairs using fewer than O(N) parameters.
- To demonstrate that depth enables sub-linear parameter scaling for memorization, overcoming limitations from prior negative results.
- To formalize a geometric condition—Δ-separateness—that captures practical data distributions and enables tighter memorization bounds.
- To bridge the theoretical gap between function approximation and memorization capacity in overparameterized networks.
Proposed method
- Introduce the Δ-separateness condition: the ratio of maximum to minimum pairwise distance among N inputs is bounded by Δ.
- Construct a deep, narrow (width-3) fully-connected network using ReLU or sigmoidal activations to memorize any Δ-separated set of N pairs.
- Design a modular network architecture that uses binary representation and bit-level manipulation via indicator functions to encode labels.
- Implement each layer using linear combinations of ReLU/sigmoidal indicator functions to extract and propagate bits of the label.
- Use depth to simulate bit-wise operations: each layer processes a subset of bits, enabling efficient representation of large label spaces.
- Prove that the network depth is O(N^{2-2w} + log Δ) and parameters O(N^w + log Δ) for w ∈ [2/3, 1], achieving O(N^{2/3}) parameters at w=2/3.
Experimental results
Research questions
- RQ1Can deep neural networks memorize N input-label pairs using fewer than O(N) parameters under realistic data conditions?
- RQ2What geometric or structural properties of data allow for sub-linear parameter memorization?
- RQ3How does depth contribute to reducing the number of parameters required for memorization?
- RQ4Can the negative result of Sontag (1997) on o(N) parameters be circumvented under mild data assumptions?
Key findings
- For any Δ-separated set of N input-label pairs, a fully-connected deep network with O(N^{2/3}) parameters can memorize the data when Δ = 2^{O(N^{2/3})}.
- The network achieves memorization using only O(N^{2/3}) parameters, improving upon the standard O(N) bound.
- The construction works for width-3 networks, showing that even narrow architectures benefit significantly from depth in memorization.
- The log Δ term in depth and parameter count is typically negligible for practical datasets (e.g., log Δ < 17 for ImageNet), making the bound effective in real-world settings.
- Empirical results confirm that networks with fewer parameters than data points can perfectly memorize training sets under Δ-separateness.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.