Adversarially Robust Learning with Unknown Perturbation Sets

Omar Montasser, Steve Hanneke, Nathan Srebro

Abstract

We study the problem of learning predictors that are robust to adversarial examples with respect to an unknown perturbation set, relying instead on interaction with an adversarial attacker or access to attack oracles, examining different models for such interactions. We obtain upper bounds on the sample complexity and upper and lower bounds on the number of required interactions, or number of successful attacks, in different interaction models, in terms of the VC and Littlestone dimensions of the hypothesis class of predictors, and without any assumptions on the perturbation set.

Introduction

Adversarial robustness research typically starts with a fixed assumption: we know exactly how the attacker will perturb the data (e.g., within an $\ell_\infty$ ball of radius $\epsilon$). Consequently, training algorithms are often "hard-coded" for these specific sets. However, in the real world, "natural" perturbations—like changes in lighting, rotation, or subtle texture shifts—are hard to define mathematically.

This paper, presented at COLT 2021, addresses whether robust learning is possible if we only have access to an attacker (an oracle that finds weaknesses) rather than a mathematical definition of the attack. It explores the fundamental limits of learning under such "unknown" adversaries, focusing on sample and interaction complexity.

Interaction Models and Algorithms

The authors introduce several interaction models to bridge the gap between standard PAC learning and unknown adversarial sets:

  • Perfect Attack Oracle: Given a point $(x, y)$ and a model, the oracle either confirms the model is robust at that point or returns a specific perturbation $z \in \mathcal{U}(x)$ that causes a misclassification.
  • Imperfect Attack Oracle: A more realistic model where the attacker might fail to find a perturbation even if one exists (e.g., a heuristic like PGD).
  • Actual Attacker: An online setting where the learner monitors a stream of data and adapts every time an attacker successfully "scores" a hit.

To handle these models, two primary algorithms are proposed:

  1. CycleRobust: A simple algorithm that cycles through training data and queries the attack oracle. Successful attacks are treated as new training points for an online learner.
  2. RLUA (Robust Learner against Unknown Adversaries): A framework using sample compression and boosting. It "discretizes" the unknown, potentially infinite perturbation set into a finite set of representative "behaviors" that the model must defend against.

Theoretical Insights

The most significant insight is that a hypothesis class is robustly learnable against an unknown adversary if and only if it has a finite Littlestone dimension ($lit(\mathcal{H})$). This establishes a direct link between adversarial robustness and online mistake-bound learning.

Furthermore, the paper identifies an Oracle Trade-off. One can achieve sample complexity depending only on the (smaller) VC dimension, but this requires an exponential number of interactions with the attack oracle. Conversely, interaction counts can be minimized if one accepts sample complexity tied to the (larger) Littlestone dimension.

Complexity Results

The paper provides a comprehensive set of upper and lower bounds for both realizable and agnostic learning settings. These bounds characterize the statistical cost of robustness when the perturbation set is unknown.

Table 1: Summary of sample and oracle complexity bounds for robust learning with unknown perturbation sets.

In the realizable case (where a perfectly robust predictor exists), the model can be learned with $\tilde{O}(lit(\mathcal{H})/\epsilon)$ samples. The authors also prove a lower bound of $\Omega(\text{lit}(\mathcal{H}))$ interactions in certain settings, indicating that some dependence on the Littlestone dimension is unavoidable. In the agnostic setting, the results show that it is possible to compete with the best robust predictor in the class, albeit with increased oracle complexity.

Limitations and Future Work

While the paper establishes crucial statistical limits, several challenges remain:

  • Computational Efficiency: The proposed algorithms (especially RLUA) are meta-algorithms that are not yet computationally efficient for deep neural networks, as they involve complex operations over data subsets.
  • Agnostic VC Bounds: There is still a theoretical gap regarding whether agnostic sample complexity can be achieved purely in terms of VC dimension without Littlestone dependence.
  • Adaptive Adversaries: Future research could explore adversaries that actively learn and change their strategy to exploit the learner's specific training trajectory, moving beyond the stationary "Imperfect Oracle" model.

Summary updated

BibTeX
@inproceedings{montasser2021adversarially,
  author = {Omar Montasser and Steve Hanneke and Nathan Srebro},
  title = {{Adversarially Robust Learning with Unknown Perturbation Sets}},
  booktitle = {Conference on Learning Theory},
  year = {2021},
  url = {https://openreview.net/forum?id=e9JIBDq3VX},
}
Figure