The Sample Complexity of Adversarial Robustness

You are reading version 1 of this direction, frozen 2026-10-04. The latest version is version 2.

Version 1 of 2150 papers221 conceptsfrozen 2026-10-04

In standard machine learning, we typically assume that if a model performs well on a large enough set of training data, it will generalize to unseen test data. However, the rise of adversarial attacks—tiny, malicious perturbations that flip a model's prediction—has revealed a fundamental flaw in this assumption. Making a model robust to these attacks is not just computationally harder; it is statistically more demanding.

The core insight emerging from recent research is that adversarial robustness requires significantly more data than standard generalization. This "sample complexity gap" explains why models that are highly accurate on clean data often remain fragile under attack.

The Complexity of Local Invariance

To understand why robust learning is harder, we must look at what we are asking the model to learn. In standard classification, a model only needs to find a decision boundary that separates classes. In robust learning, the model must be invariant within a "perturbation ball" around every data point.

As Nicolas Papernot and colleagues argued in Towards the Science of Security and Privacy in Machine Learning, increasing model complexity to resist these perturbations significantly raises the risk of overfitting. To maintain the same level of accuracy while adding robustness, a model requires a much larger volume of training data to support its more complex architecture. Aditi Raghunathan further demonstrated in Adversarial Training Can Hurt Generalization that this isn't necessarily a conflict between accuracy and robustness, but a sample complexity problem: robust models are naturally more complex and simply "starve" on datasets that would be sufficient for standard models.

Measuring the Robustness Gap

How much more data do we actually need? Classical learning theory uses the Vapnik-Chervonenkis (VC) dimension to quantify sample complexity. However, standard VC-dimension fails to capture the difficulty of adversarial settings.

In PAC-learning in the presence of adversaries, Daniel Cullina and his co-authors introduced the Adversarial VC-dimension. They proved that for many tasks, the number of samples required to guarantee robustness scales much faster than for standard learning. This requirement is often driven by the adversary's "perturbation budget." Pascale Gourdeau showed in Sample Complexity Bounds for Robustly Learning Decision Lists against Evasion Attacks that as the number of features an attacker can manipulate increases, the data requirement can grow exponentially.

This "adversarial tax" is particularly heavy in high-dimensional spaces. Austin Watkins and others have noted in Adversarially Robust Multi-task Representation Learning that this overhead scales with the input dimension, creating a major barrier for securing models in fields like autonomous driving or healthcare.

The Robust Overfitting Paradox

A frustrating phenomenon in this field is "robust overfitting." Unlike standard training, where more epochs generally help, robust models often see a collapse in test-set robustness late in training.

Leslie Rice and Eric Wong identified in Overfitting in adversarially robust deep learning that models easily memorize adversarial examples in the training set without learning the underlying stable features. Binghui Li provided a theoretical explanation in Why Robust Generalization in Deep Learning is Difficult, proving an exponential separation between the capacity needed to memorize adversarial training points and the capacity needed to generalize that robustness to unseen data.

Strategies to Bridge the Data Gap

If the primary barrier to robustness is a lack of data, researchers have proposed several ways to acquire it more efficiently:

  1. Unlabeled Data: Di He demonstrated in Adversarially Robust Generalization Just Requires More Unlabeled Data that we can bridge the robustness gap by using unlabeled data to teach the model where the data manifold lies, even if we don't have enough labels to define the decision boundary perfectly.
  2. Transductive Learning: Omar Montasser showed in Transductive Robust Learning Guarantees that if we can see the test examples (without labels) during training, the sample complexity scales linearly with the VC dimension rather than exponentially.
  3. Data Pruning: Conversely, if we have enough data, we can speed up the notoriously slow process of adversarial training by strategically selecting only the most informative "hard" examples. Yize Li showed in Less is More that pruning up to 70% of a dataset can maintain robustness if the selection strategy effectively captures the adversarial landscape.

Ultimately, the science of secure machine learning suggests that robustness is not just an algorithmic choice, but a property that must be "bought" with increased statistical information. Understanding the fundamental limits of this sample complexity is the first step toward building models that are resilient by design.

Papers in this version

Showing 60 of 150 papers.

History & citationVersion 2 · 2026-10-04

Current · Permanent link

  1. Version 2 (latest) · 2026-10-04 · 150 papers
  2. Version 1 · 2026-10-04 · 150 papers
Cite this direction

Latest version (a living page):

@misc{lacuna_robust_sample_complexity_adversarial_sam_72d1a106,
  title = {robust sample complexity (adversarial sample complexity)},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/robust-sample-complexity-adversarial-sample-complexity/rdr_72d1a106d6764746b7e9e129a01402e8},
  note = {Latest version of a living research direction; cite a version for a fixed text. Accessed 2026-11-24},
}

This exact version (version 1, frozen text):

@misc{lacuna_the_sample_complexity_of_adversarial_rob_72d1a106_v1,
  title = {The Sample Complexity of Adversarial Robustness},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/the-sample-complexity-of-adversarial-robustness/rdr_72d1a106d6764746b7e9e129a01402e8/v/1},
  note = {Version 1, frozen 2026-10-04. Accessed 2026-11-24},
}