A law of robustness for two-layers neural networks
arXiv:2009.14444
Abstract
We initiate the study of the inherent tradeoffs between the size of a neural network and its robustness, as measured by its Lipschitz constant. We make a precise conjecture that, for any Lipschitz activation function and for most datasets, any two-layers neural network with neurons that perfectly fit the data must have its Lipschitz constant larger (up to a constant) than where is the number of datapoints. In particular, this conjecture implies that overparametrization is necessary for robustness, since it means that one needs roughly one neuron per datapoint to ensure a -Lipschitz network, while mere data fitting of -dimensional data requires only one neuron per datapoints. We prove a weaker version of this conjecture when the Lipschitz constant is replaced by an upper bound on it based on the spectral norm of the weight matrix. We also prove the conjecture in the high-dimensional regime (which we also refer to as the undercomplete case, since only is relevant here). Finally we prove the conjecture for polynomial activation functions of degree when . We complement these findings with experimental evidence supporting the conjecture.
18 pages, 3 figures. V2: improved Theorem 4 (weaker version of the Conjecture with replaced by ) from ReLU with no bias term in V1, to arbitrary non-linearities (even data-dependent) in V2
References in corpus (1)
Cited by in corpus (7)
- Large-time asymptotics in deep learning
- Dense Hopfield Networks in the Teacher-Student Setting
- Concentration of Non-Isotropic Random Tensors with Applications to Learning and Empirical Risk Minimization
- A Law of Robustness for Weight-bounded Neural Networks
- Achieving Small Test Error in Mildly Overparameterized Neural Networks
- Fundamental tradeoffs between memorization and robustness in random features and neural tangent regimes
- Classification and Adversarial examples in an Overparameterized Linear Model: A Signal Processing Perspective