Agnostic Multi-Robust Learning Using ERM

Saba Ahmadi, Avrim Blum, Omar Montasser, Kevin Stangl

Here is a concise, engaging summary of the paper "Agnostic Multi-Robust Learning Using ERM" tailored for a technically literate audience.

TL;DR

This paper tackles the fundamental asymmetry in adversarially robust learning—where a model must defend against exponentially many perturbations while an attacker only needs to find one that succeeds—without assuming a perfect classifier exists (the agnostic setting). By framing robust learning as a zero-sum game, the authors show how standard Empirical Risk Minimization (ERM) oracles can be used via boosting to achieve strong robustness guarantees. Furthermore, they extend this framework to a multi-group setting, ensuring robust performance across diverse data subgroups without requiring group labels at test time.

What Problem Does This Paper Address?

In adversarial machine learning, the learner faces a massive disadvantage. For instance, in an image patch attack, an adversary can place a malicious patch in an exponential number of locations or designs. Recent defenses like Patch-Cleanser (Xiang et al., 2022) successfully reduced this exponential threat space to a polynomial number of masking operations. However, Patch-Cleanser relied on a critical assumption: robust realizability, meaning a perfect classifier with zero robust error must exist within the hypothesis class.

This paper addresses the more realistic agnostic (non-realizable) setting, where no classifier is perfectly robust due to noisy data or limited model capacity. In this regime, simply running standard ERM on an augmented dataset (original data plus all perturbations) fails dramatically. As illustrated in Figure 1, plain ERM treats all perturbation mistakes equally, which can lead it to select a suboptimal classifier that incurs high robust loss across many examples rather than concentrating errors on a single un-fixable example.

ERM failure mode in the robustly un-realizable case.

Additionally, the paper addresses multi-group robustness. Standard robust learning optimizes for average performance, which can inadvertently concentrate adversarial vulnerability within specific demographic or contextual subgroups (e.g., a self-driving car failing consistently on a specific sequence of video frames).

Methods

The authors resolve these challenges by leveraging game theory and boosting techniques:

  1. Agnostic Robust Learning via Zero-Sum Games: The authors adapt a game-theoretic framework by Feige et al. [2015]. They model robust learning as a finite zero-sum game where the learner chooses a hypothesis and the adversary chooses a distribution over allowed perturbations. By iteratively updating weights on the perturbations using a multiplicative weights approach (Algorithm 1), they show that an ERM oracle can find a robust majority-vote classifier.
  2. Two-Layer Boosting for Multi-Group Robustness: To extend this to subgroups, the authors introduce a novel two-layer boosting algorithm (Algorithm 2). The outer layer uses boosting (via the Multiplicative Weights Update method) to shift focus toward subgroups suffering from high robust loss. The inner layer calls Algorithm 1 to handle the adversarial perturbations within those groups. Crucially, this method does not require group membership information at test time, making it highly practical for privacy-preserving or implicit subgroups.

Datasets

This is a purely theoretical paper. It does not evaluate its algorithms on empirical datasets or standard computer vision benchmarks. Instead, the authors use rigorous mathematical proofs and a constructed synthetic example (Example 1, visualized in Figure 1) to demonstrate the failure modes of standard ERM and validate their theoretical guarantees.

Key Insights and Ideas

  • The ERM Granularity Gap: The core reason plain ERM fails in the agnostic robust setting is a mismatch in granularity. ERM minimizes the total number of misclassified perturbed points, whereas robust learning minimizes the number of natural examples that have at least one successful perturbation.
  • Infinite Hypothesis Classes: While Feige et al. [2015] originally provided guarantees only for finite hypothesis classes, this paper extends the analysis to infinite hypothesis classes with bounded VC-dimension, making it applicable to standard machine learning models.
  • Fairness Without Test-Time Labels: Achieving subgroup fairness usually requires knowing which group an instance belongs to during inference. This paper demonstrates that through clever training-time distribution shifts (boosting), a model can be forced to perform uniformly well across all groups without needing to identify group membership at test time.

Key Results

  • Single-Group Guarantee: Theorem 1 proves that Algorithm 1 outputs a majority-vote predictor achieving a robust risk of at most $2\text{OPT}_H + \epsilon$, where $\text{OPT}_H$ is the best possible robust loss achievable by any single hypothesis in the class.
  • Multi-Group Guarantees: Theorems 12 and 13 provide generalization bounds for both average and deterministic ($\beta$-multi-robustness) settings. For the deterministic setting, the algorithm guarantees a robust loss on each subgroup $G_j$ of at most $2(\text{OPT}_{\max}^S + \epsilon)$, effectively bounding the worst-case subgroup performance.

Limitations and Future Work

  • Computational Overhead of Boosting: The proposed algorithms rely heavily on boosting, requiring multiple sequential calls to an ERM oracle. For massive modern architectures like deep neural networks, training multiple models sequentially may be computationally prohibitive.
  • The Multiplicative Factor of 2: The theoretical bounds introduce a multiplicative factor of 2 compared to the optimal benchmark ($\text{OPT}$). The authors leave it as an open question whether this gap can be tightened or if it represents an inherent cost of using a standard ERM oracle in the agnostic robust setting.

Summary updated

Abstract

A fundamental problem in robust learning is asymmetry: a learner needs to correctly classify every one of exponentially-many perturbations that an adversary might make to a test-time natural example. In contrast, the attacker only needs to find one successful perturbation. Xiang et al.[2022] proposed an algorithm that in the context of patch attacks for image classification, reduces the effective number of perturbations from an exponential to a polynomial number of perturbations and learns using an ERM oracle. However, to achieve its guarantee, their algorithm requires the natural examples to be robustly realizable. This prompts the natural question; can we extend their approach to the non-robustly-realizable case where there is no classifier with zero robust error? Our first contribution is to answer this question affirmatively by reducing this problem to a setting in which an algorithm proposed by Feige et al.[2015] can be applied, and in the process extend their guarantees. Next, we extend our results to a multi-group setting and introduce a novel agnostic multi-robust learning problem where the goal is to learn a predictor that achieves low robust loss on a (potentially) rich collection of subgroups.
BibTeX
@inproceedings{ahmadi2024agnostic,
  author = {Saba Ahmadi and Avrim Blum and Omar Montasser and Kevin Stangl},
  title = {{Agnostic Multi-Robust Learning Using ERM}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2024},
}
Figure