Abstract
In modern machine learning, larger models typically generalize better—a phenomenon known as "double descent." However, this research demonstrates that for adversarial robustness, overparametrization can be a curse. Using a precise analysis of random features regression, the authors show that increasing model size beyond a certain point often increases robust generalization error, suggesting that smaller models may be more resilient to attacks.
Introduction: The Overparametrization Paradox
In modern deep learning, models are often trained with far more parameters than training samples. This "overparametrized" regime is generally associated with superior performance on clean data. However, these same models are notoriously fragile: small, carefully crafted "adversarial perturbations" to an input can completely flip a model's prediction.
To combat this, researchers use adversarial training, where models are trained on perturbed examples. A fundamental question remains: how does the size of the model (the degree of overparametrization) affect its robust generalization? While some suggest larger models are necessary for smooth, robust interpolation, others have shown they can hurt robustness in simple linear settings. This paper provides a precise mathematical answer for random features (RF) regression—a non-linear model that serves as a bridge between linear regression and fully trained neural networks.
Theoretical Framework: Random Features and High-Dimensional Asymptotics
The authors analyze an RF model, essentially a two-layer neural network where the first-layer weights are random and fixed, and only the second layer is trained. To find a precise characterization of the robust error, they study the model in a high-dimensional asymptotic regime where the number of training samples ($n$), the input dimension ($d$), and the number of parameters ($N$) all grow to infinity at proportional rates.
Their technical approach involves three key steps:
- Asymptotic Closed Form: Deriving a simplified formula for how an adversary would attack an RF model.
- Gaussian Equivalence Property (GEP): Proving that in this high-dimensional limit, the complex non-linear RF model behaves like a simpler "noisy linear model" with Gaussian features.
- Convex Gaussian Minimax Theorem (CGMT): Utilizing this framework to solve the optimization problem of the equivalent Gaussian model, resulting in a deterministic formula for the robust generalization error.
The "Curse" of Overparametrization
The authors provide an asymptotically exact formula for adversarial risk. Their theoretical curves match empirical simulations almost perfectly, even for moderate dimensions.
As seen in the figure above, when there is no adversary ($\epsilon \approx 0$), the error is minimized at infinite overparametrization. However, as the adversary's power ($\epsilon$) increases, the minimum error shifts to the left—into the underparametrized regime ($N < n$). This is a direct reversal of the "bigger is better" trend seen in standard deep learning. In cases with very strong adversaries, the robustly trained model can actually perform worse than a "trivial zero estimator" (a model that always predicts zero), highlighting the extreme difficulty of robust generalization.
Adversarial Training as Regularization
The analysis reveals that adversarial training acts as a specific type of regularization. Interestingly, the "perceived" adversary power used during training ($\epsilon_{train}$) should often be different from the actual power of the attacker at test time ($\epsilon_{test}$) to achieve the lowest error.
As the model gets wider, you generally need to "perceive" a stronger adversary during training to keep the model regularized and robust. This suggests that the optimal training strategy is highly dependent on the model's width and the expected attack strength.
Conclusion and Future Directions
While RF models are a powerful theoretical tool, they do not capture the full complexity of "feature learning" seen in deep neural networks where all layers are trained. Future work may extend this analysis to classification tasks using logistic loss, multi-layer networks with learnable weights, and investigations into whether specific inductive biases or optimization algorithms can break this "curse" to allow large models to be both accurate and robust.
Summary updated