Adversarial Robustness Across Representation Spaces

Pranjal Awasthi, George Yu, Chun-Sung Ferng, Andrew Tomkins, Da-Cheng Juan

Abstract

Deep learning models are notoriously vulnerable to adversarial perturbations. While most defenses focus on pixel-level $\ell_p$ norm constraints, this paper explores robustness across diverse representation spaces, such as the frequency domain (DCT). We propose a game-theoretic framework using the Multiplicative Weights Update (MWU) method to train models that are simultaneously robust against multiple attack types and norms. Our approach achieves superior "union robustness" with only a marginal increase in training overhead.

Introduction

Adversarial robustness is often a game of "whack-a-mole." Training a model to be robust against small pixel changes (the standard $\ell_\infty$ attack) often leaves it vulnerable to attacks in other domains, such as the Discrete Cosine Transform (DCT) basis used in image compression. This phenomenon, termed representation blindness, occurs because an adversary can craft "imperceptible" perturbations in frequency space that appear as noise to a pixel-robust model.

Visualizing DCT attacks and their differences in pixel vs. DCT domains.

Furthermore, most defenses exhibit norm rigidity, optimizing for a single $\ell_p$ norm (usually $\ell_\infty$ or $\ell_2$). A model robust to $\ell_\infty$ perturbations often fails significantly against $\ell_1$ attacks. The challenge lies in training a single model to handle these diverse threats simultaneously without the training cost scaling linearly with the number of attack types.

Methodology

We frame the problem as a min-max game. The "row player" (the model) seeks to minimize loss, while the "column player" (the adversary) chooses which representation space or norm to attack to maximize that loss. To solve this efficiently, we employ the Multiplicative Weights Update (MWU) algorithm:

  1. Weighting Attacks: The algorithm maintains a weight for each possible attack type (e.g., Pixel-$\ell_\infty$, DCT-$\ell_2$, etc.).
  2. Iterative Training: In each training step, an attack is sampled based on these weights. If the model performs poorly against a specific attack, that attack's weight increases, forcing the model to focus on its biggest weakness in the next round.
  3. Weight Averaging: To make this practical for deep learning, we utilize a "near-convexity" assumption, showing that a sliding window average of model weights provides benefits similar to a full ensemble at a fraction of the memory cost.

Results

The framework was evaluated on standard benchmarks including MNIST and CIFAR-10. Experiments confirm that robustness does not naturally transfer across representation borders; for instance, a pixel-robust CIFAR-10 model drops from 44% accuracy against pixel attacks to 27% against DCT attacks.

Performance comparison on CIFAR-10 across different training strategies and attack types.

As shown in Figure 5, the MWU approach significantly outperforms baseline heuristics in "Union Attack" scenarios (where the adversary wins if any attack type succeeds). On CIFAR-10, MWU achieved a 39.13% minimum accuracy across all attacks, compared to 29.99% for the Round Robin baseline. On MNIST, the gap was even more pronounced, with MWU reaching ~57% minimum accuracy while the Round Robin baseline collapsed to below 10%.

Importantly, the training cost for the multi-representation model was only 20-30% higher than training for a single attack type, demonstrating the scalability of the stochastic sampling approach.

Conclusion

This work demonstrates that training for robustness across multiple representation spaces and norms is both feasible and efficient. By employing a game-theoretic weighting strategy, models can achieve holistic robustness that transcends the limitations of single-domain defenses. Future research will explore the application of this framework to other natural representations, such as Wavelets, and its performance against black-box attack vectors.

Summary updated

BibTeX
@inproceedings{awasthi2021adversarial,
  author = {Pranjal Awasthi and George Yu and Chun-Sung Ferng and Andrew Tomkins and Da-Cheng Juan},
  title = {{Adversarial Robustness Across Representation Spaces}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2021},
  doi = {10.1109/cvpr46437.2021.00752},
}
Figure