How Many Data Are Needed for Robust Learning?

Hongyang Zhang, Yihan Wu, Heng Huang · OpenReview

Abstract

We study the robust interpolation problem of arbitrary data distributions supported on a bounded space and propose a two-fold law of robustness. Robust interpolation refers to the problem of interpolating $n$ noisy training data points in $\mathbb{R}^d$ by a Lipschitz function. While this problem is well-understood for isoperimetric distributions, its performance under generic or worst-case distributions has remained elusive. We prove a Lipschitzness lower bound of $\Omega(\sqrt{n/p})$ for neural networks with $p$ parameters and a universal lower bound of $\Omega(n^{1/d})$ for any interpolating approximator. Our results demonstrate a two-fold law: overparametrization benefits smooth interpolation when $n = \mathrm{poly}(d)$, but robust interpolation becomes impossible when $n = \exp(\omega(d))$.

Introduction

In modern machine learning, robustness—the ability of a model to remain stable under small input perturbations—is a critical requirement. Mathematically, this is often quantified by the Lipschitz constant ($L$) of the model. A low Lipschitz constant indicates a "smooth" function where small changes in input result in small changes in output, whereas a high constant suggests vulnerability to adversarial attacks.

The "robust interpolation problem" investigates whether we can fit $n$ noisy data points using a function with a small Lipschitz constant. Previous research, notably by Bubeck and Sellke, suggested that overparametrization is a prerequisite for robustness. However, these findings relied heavily on the assumption of isoperimetry—where data follows specific high-dimensional distributions like Gaussians. This paper moves beyond these constraints to establish laws of robustness that apply to any arbitrary data distribution.

The Two-Fold Law of Robustness

The authors establish a fundamental relationship between the number of samples ($n$), the number of parameters ($p$), and the dimensionality of the input space ($d$). This relationship manifests as a "two-fold law."

1. The Benefit of Overparametrization

For neural networks with $p$ parameters, the authors derive a lower bound for the Lipschitz constant: $L \geq \Omega(\sqrt{n/p})$. This result confirms that for a fixed dataset size $n$, increasing the number of parameters $p$ can potentially lower the Lipschitz constant, thereby improving the smoothness of the model. This validates the "law of robustness" conjecture for two-layer neural networks with polynomial weights, showing that overparametrization is a necessary condition for maintaining robustness when $n$ is polynomially related to $d$.

2. The Curse of Big Data

Counter-intuitively, the research identifies a "curse of big data." As the number of data points $n$ increases within a fixed, bounded space, the points are forced closer together. If these points carry noisy labels, any function attempting to interpolate them must oscillate rapidly to match the labels, causing the Lipschitz constant to grow.

The authors prove a universal lower bound for any interpolating function: $L \geq \Omega(n^{1/d})$. This bound implies that as $n$ grows exponentially relative to $d$, the Lipschitz constant must also grow. Specifically, when $n = \exp(\omega(d))$, it becomes mathematically impossible to find an $O(1)$-Lipschitz function that fits the data. In this regime, no amount of overparametrization can restore robustness.

Methodology: Beyond Isoperimetry

To derive these bounds without relying on isoperimetry, the authors utilized several advanced mathematical tools:

  • Azuma’s Inequality: Used to establish concentration bounds for arbitrary distributions in bounded spaces, ensuring the results are not tied to specific data shapes.
  • Rademacher Complexity and Dudley’s Integral: These tools from statistical learning theory helped relate the complexity of a function class to its Lipschitz constant, allowing for "universal" bounds that apply to any interpolator.
  • Lipschitz No-Free-Lunch Theorem: The authors developed a specialized version of this theorem to demonstrate the inherent trade-offs between sample size, dimensionality, and error in robust learning.

Implications for Practice

While theoretical, these findings align with empirical observations in datasets like CIFAR-10 and ImageNet. The "Blessing of Dimensionality" suggests that higher dimensions provide more "room" to separate data points, potentially allowing for lower Lipschitz constants. However, the "Curse of Big Data" warns that simply collecting more data is not a panacea for adversarial vulnerability.

Limitations and Future Directions

The study focuses on lower bounds for generic or worst-case distributions. It is possible that highly structured data manifolds—common in natural images—might allow for better robustness than these universal bounds suggest. Furthermore, the results assume the presence of label noise; perfectly clean data might yield different dynamics.

Future research may explore techniques to "scatter" data into higher-dimensional spaces or strategically reduce training set sizes to maintain model smoothness without sacrificing accuracy.

Summary updated

BibTeX
@inproceedings{zhang2023how,
  author = {Hongyang Zhang and Yihan Wu and Heng Huang},
  title = {{How Many Data Are Needed for Robust Learning?}},
  booktitle = {International Conference on Machine Learning},
  year = {2023},
  url = {https://openreview.net/forum?id=jky0AfLHir},
}
Figure