Sample Complexity of Adversarially Robust Linear Classification on Separated Data

Robi Bhattacharjee, Somesh Jha, Kamalika ChaudhuriarXiv 2020

Abstract

Traditional machine learning theory suggests that well-separated data is "easy" to learn, with sample complexity independent of dimensionality. This paper challenges that intuition in the context of adversarial robustness. We demonstrate that even when data classes are perfectly $r$-separable, robust learning can incur a "dimension tax," requiring significantly more samples than standard learning. We provide tight lower bounds of $\Omega(d/n)$ for robust loss and show that dimension-independent complexity is only recovered when the data separation significantly exceeds the adversarial perturbation radius.

Introduction

A cornerstone of statistical learning theory is that the difficulty of learning a linear classifier depends on the margin between classes rather than the dimensionality of the feature space. For standard linear classification, if a margin exists, the sample complexity is $O(1/\gamma^2)$, allowing for efficient learning in high-dimensional settings.

However, the requirement for adversarial robustness—where a classifier must remain stable under small input perturbations—fundamentally alters this landscape. While previous work highlighted the difficulty of robust learning in "noisy" or overlapping datasets, this study investigates the realizable case: can we efficiently learn a robust classifier when one is guaranteed to exist?

Illustration of standard vs. robust classification. $f_{std}$ (green) separates the classes, while $f_{rob}$ (purple) maintains a safety margin of at least $r$ from the support of the distributions $S^+$ and $S^-$.

Geometric Foundations of Robustness

To analyze this problem, we define linear $r$-separability. A distribution is $r$-separable if there exists a linear separator such that every point in the support of one class is at least distance $r$ from the decision boundary.

The Robust Margin

We introduce the concept of the robust margin ($\gamma_r$). Unlike the standard margin, which measures the distance from a point to the boundary, the robust margin measures the distance from the entire perturbation ball of radius $r$ around a point to the boundary. This distinction is critical: in robust learning, the learner must not only find a separator but must locate it with enough precision that perturbations do not cross it.

Theoretical Results

The "Dimension Tax" Lower Bound

The primary contribution of this work is the proof of a fundamental gap between standard and robust learning. We construct a family of $r$-separable distributions in $\mathbb{R}^d$ and prove that any learning algorithm requires a sample size that scales with the dimension $d$. Specifically, the expected robust loss is at least $\Omega(d/n)$. This "dimension tax" arises because the learner must resolve the boundary's orientation with high precision to ensure robustness across all $d$ dimensions.

Upper Bounds and the Adversarial-Perceptron

To complement the lower bound, we analyze the Adversarial-Perceptron algorithm. This variant of the classic Perceptron updates its weights only when it encounters an "adversarial example"—a point within distance $r$ that is misclassified or nearly misclassified.

We show that if the data is "very" well-separated (linearly $r + \gamma$-separable), the Adversarial-Perceptron achieves a robust loss of $O(\Delta^2 / \gamma^2 n)$, where $\Delta$ is the diameter of the space. This result is dimension-independent, suggesting that the "dimension tax" is only avoidable when the "excess margin" $\gamma$ is sufficiently large.

Discussion and Conclusion

The complexity of robust learning is governed by the robust aspect ratio ($\rho_r$), which characterizes the difficulty of the task. Our findings suggest that robustness is inherently more sensitive to the exact placement of the decision boundary than standard accuracy. In standard learning, any hyperplane within the margin gap suffices; in robust learning, the "safe" region for the hyperplane shrinks as the perturbation radius $r$ increases.

While these results are derived for linear and kernel classifiers, they provide a theoretical baseline for understanding the high sample requirements often observed in robust training of deep neural networks. Future work will explore whether similar dimension-dependent gaps exist for more complex, non-linear hypothesis classes.

Summary updated

BibTeX
@misc{bhattacharjee2020sample,
  author = {Robi Bhattacharjee and Somesh Jha and Kamalika Chaudhuri},
  title = {{Sample Complexity of Adversarially Robust Linear Classification on Separated Data}},
  year = {2020},
  eprint = {2012.10794},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2012.10794},
}
Figure