Robust Attacks against Multiple Classifiers

Juan C. Perdomo, Yaron SingerarXiv 2019

Abstract: We address the challenge of designing optimal adversarial noise algorithms for settings where a learner has access to multiple classifiers. We demonstrate how this problem can be framed as finding strategies at equilibrium in a two-player, zero-sum game between a learner and an adversary. In doing so, we illustrate the need for randomization in adversarial attacks. In order to compute Nash equilibrium, our main technical focus is on the design of best response oracles that can then be implemented within a Multiplicative Weights Update framework to boost deterministic perturbations against a set of models into optimal mixed strategies. We demonstrate the practical effectiveness of our approach on a series of image classification tasks using both linear classifiers and deep neural networks.

Introduction

Adversarial attacks—small, imperceptible perturbations to data that fool a model—are well-studied for single classifiers. However, a common defense strategy is to use an ensemble or to randomize predictions across multiple models. Because different models (even those with similar accuracy) often have very different decision boundaries, an attack that fools "Model A" might be completely ignored by "Model B."

Current heuristic approaches usually involve attacking the "average" of the models (an ensemble attack). This paper argues that such approaches are fundamentally suboptimal. The authors seek to answer: How do we design a provably optimal attack against a learner who can choose from a library of different classifiers?

The Adversarial Game Framework

The interaction between the learner and the adversary is treated as a zero-sum game:

  1. The Learner aims to choose a classifier from a set $\mathcal{C}$ to maximize accuracy.
  2. The Adversary aims to choose a noise vector $v$ (within a budget $\epsilon$) to minimize that accuracy.

To find the Nash equilibrium of this game, the authors employ the Multiplicative Weights Update (MWU) algorithm. The core technical challenge is building a "Best Response Oracle"—a sub-routine that finds the best deterministic attack against a specific distribution of classifiers. Just as a poker player shouldn't always bluff in the same way, an attacker shouldn't always use the same noise vector. A "mixed strategy" of different perturbations is required to reliably defeat a randomized defense.

Geometric Partitioning and Best Response

For linear classifiers, the authors show that the input space is partitioned into convex regions where model predictions are constant. Finding the best response reduces to solving a quadratic program over these regions. While this is polynomial-time for a small number of models, the paper proves it becomes NP-hard as the number of classifiers grows.

Geometric partitioning of the input space for (a) one linear classifier, (b) two linear classifiers, (c) multiple linear classifiers, and (d) non-linear classifiers.

For deep neural networks, where the exact geometric approach is intractable, the authors use a surrogate: Projected Gradient Descent (PGD) on a weighted sum of "untargeted reverse hinge losses." This loss is designed to be zero if a model is fooled and positive otherwise, allowing the optimizer to focus on the models that haven't been "broken" yet.

Experimental Evaluation

The framework was evaluated on two primary benchmarks: MNIST (for linear SVM experiments) and ImageNet (using a set of five pre-trained deep models: ResNet18, ResNet50, VGG13, VGG19, and DenseNet161).

An adversarial example generated for the MNIST dataset using the proposed framework.

Key Results

  • Superior Performance: On MNIST multiclass, the MWU-Oracle reduced the maximum accuracy across the set to 16.8%, compared to 55% for the standard ensemble attack.
  • Deep Learning Success: On ImageNet, the MWU-PGD approach reduced the max accuracy to 24.2%, while the ensemble attack left the models with 55% accuracy.
  • The "Boosting" Effect: Running the oracle for multiple MWU iterations (the "boosting" effect) improved the attack quality by an additional 12% on ImageNet compared to a single-round oracle baseline.

Conclusion

This work demonstrates that attacking multiple classifiers requires a shift from deterministic to randomized strategies. By framing the problem as a zero-sum game and utilizing the MWU framework, the authors provide a principled method to defeat randomized defenses. While the linear case offers theoretical guarantees, the heuristic approach for neural networks shows significant practical gains over traditional ensemble attacks. Future work remains in extending these methods to black-box settings where model parameters are not fully known.

Summary updated

BibTeX
@misc{perdomo2019robust,
  author = {Juan C. Perdomo and Yaron Singer},
  title = {{Robust Attacks against Multiple Classifiers}},
  year = {2019},
  eprint = {1906.02816},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1906.02816},
}
Figure