Abstract
While standard neural networks can memorize $N$ data points using a tiny, constant width, this research proves that such "brittle" memorization vanishes under minimal noise. To achieve robust memorization—where the network remains accurate even under adversarial perturbations—the network width must grow logarithmically with the number of samples ($\log N$). This paper establishes nearly tight bounds for the robustness radius and identifies the first hidden layer as the primary bottleneck for robust classification.
Introduction
In deep learning theory, "memorization" refers to a network's capacity to perfectly fit a labeled dataset. Previous findings established that a dataset of any size $N$ could be memorized by a network with a fixed, constant width (as small as 12 neurons). However, these constructions are often delicate mathematical abstractions that fail if the input is nudged even slightly. In practical applications, robustness is essential: a network must maintain its classification even when inputs are subject to adversarial perturbations. This paper investigates the minimum width required to achieve such robust memorization, specifically examining the trade-off between network width ($k$) and the robustness radius ($\sigma$).
Methodology: The Robust Johnson-Lindenstrauss Lemma
The authors approach the problem by analyzing the dimensionality reduction occurring in the network's first hidden layer. A width-$k$ layer maps high-dimensional data ($d$) into a $k$-dimensional space. The core challenge is ensuring this mapping preserves the separation between classes.
To address this, the authors developed a Robust Johnson-Lindenstrauss (JL) Lemma. Unlike the standard JL Lemma, which ensures random projections preserve distances between discrete points, the robust version guarantees that the neighborhoods (balls of radius $\sigma$) around those points do not overlap after projection. This theoretical tool allows for the derivation of universal bounds applicable to any $\delta$-separated dataset—where any two points of different classes are at least distance $\delta$ apart.
Key Results and the Robustness-Width Trade-off
The research establishes that robustness incurs a "tax" on network architecture. While non-robust width can be independent of $N$, robust width must scale with $\log N$.
As shown in the figure above, the relationship between width and robustness is characterized by several distinct regimes:
- The $\log N$ Threshold: A width of $k \approx \frac{\log N}{\log(\delta/\sigma)}$ is identified as the critical threshold. This is the minimum width required to pack $N$ "safety bubbles" (neighborhoods of radius $\sigma$) into $k$ dimensions without intersection.
- The Decay Rule: For a fixed width $k$, the maximum achievable robustness radius $\sigma$ decays polynomially as the dataset size $N$ increases (specifically, $\sigma \propto N^{-2/k}$).
- Possibility vs. Impossibility: If $k$ exceeds the threshold, any $\delta$-separated dataset can be robustly memorized (Upper Bound). Conversely, if $k$ falls below this threshold, there exist datasets that cannot be robustly memorized regardless of network depth (Lower Bound).
Discussion and Limitations
This work provides a theoretical foundation for the empirical observation that wider networks tend to be more robust. However, several gaps remain. There is a small discrepancy between the upper and lower bounds (roughly a factor of $\sqrt{d}$), which might be resolved by further refining the Robust JL Lemma. Additionally, while the paper focuses on width, a robust network still requires $O(N)$ total parameters. Finally, the existence of these robust networks does not guarantee that standard optimization algorithms like Stochastic Gradient Descent (SGD) will successfully converge to them, marking a significant avenue for future research into "trainability."
Summary updated