Defending against Universal Perturbations with Shared Adversarial Training

Chaithanya Kumar Mummadi, Thomas Brox, Jan Hendrik Metzen

Introduction

In the field of adversarial machine learning, most research focuses on image-specific attacks where a unique perturbation is crafted for every input. However, universal perturbations—single noise patterns that can fool a classifier across many different images—represent a more realistic and dangerous threat in physical-world deployments. For instance, a static artifact on a sensor could cause a self-driving system to consistently misidentify objects regardless of the background.

Standard adversarial training (AT) is often computationally prohibitive and forces a significant trade-off between clean accuracy and robustness. This paper introduces Shared Adversarial Training (SAT), a novel defense mechanism designed to protect deep learning models against these input-agnostic attacks more efficiently and gracefully than existing methods.

Shared Adversarial Training (SAT)

The core innovation of SAT is the concept of a "heap adversary." Instead of calculating a unique perturbation for every image in a mini-batch (standard AT) or one for the entire dataset (fully universal), SAT splits the mini-batch into "heaps" of size $s$, referred to as sharedness.

The SAT framework: Images are split into heaps of size $s$, and a single shared perturbation is optimized per heap to maximize average loss.

Key components of the SAT methodology include:

  1. Mathematical Bound Optimization: The authors demonstrate that standard adversarial risk is a loose upper bound on universal risk. By training on heaps, SAT optimizes a tighter bound, specifically targeting universal robustness.
  2. Loss Thresholding: To prevent the adversary from focusing only on the easiest-to-fool image in a heap (a "winner-takes-all" effect), the authors implement a threshold $\kappa$ to cap the loss. This forces the adversary to find a perturbation that effectively impacts all images in the heap.
  3. Scalability: SAT is the first defense of its kind to scale to complex tasks like semantic segmentation, where perturbations must fool millions of pixel-wise decisions simultaneously.

Experimental Results

The researchers evaluated SAT across three benchmarks: CIFAR10, an ImageNet subset, and Cityscapes (for semantic segmentation).

  • Classification: On CIFAR10 and ImageNet, SAT achieved a 3x increase in universal robustness. Notably, on ImageNet, robustness tripled while clean accuracy only dropped by approximately 5%.
  • Semantic Segmentation: On the Cityscapes dataset, the authors demonstrated a 5x increase in robustness. This is a significant milestone given the high-dimensional output space of segmentation models.
  • Efficiency: SAT requires no more computation time than standard adversarial training but provides superior protection against universal threats, outperforming baselines such as DeepFool UAD and FictitiousPlay.

Qualitative Insights: The Nature of Robustness

A striking finding of this research is the qualitative shift in adversarial noise as model robustness increases. In undefended models, universal perturbations appear as meaningless high-frequency noise. However, in models hardened by SAT, the perturbations become clearly perceptible and begin to resemble the "target" class features.

Comparison of clean images and adversarial examples for undefended vs. SAT-defended models. In defended models (right), the adversarial noise becomes structured and perceptible.

This suggests that as models become more robust to universal attacks, the adversary is forced to introduce more semantically meaningful features to cause a misclassification. Furthermore, the study reveals a trade-off: hardening a model against universal attacks may slightly increase its vulnerability to image-specific attacks, indicating that robustness is not a monolithic property.

Conclusion and Future Work

Shared Adversarial Training provides a scalable and efficient defense against universal adversarial perturbations. While it significantly improves universal robustness with minimal impact on clean performance, future work is needed to address the slight increase in image-specific vulnerability and to test these models against actual physical-world attacks. Reducing the computational overhead of the inner-loop PGD iterations also remains a priority for making such defenses standard in production environments.

Summary updated

BibTeX
@inproceedings{mummadi2018defending,
  author = {Chaithanya Kumar Mummadi and Thomas Brox and Jan Hendrik Metzen},
  title = {{Defending against Universal Perturbations with Shared Adversarial Training}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2018},
  doi = {10.1109/iccv.2019.00503},
}
Figure