Robust Universal Adversarial Perturbations

Changming Xu, Gagandeep Singh

TL;DR

Universal Adversarial Perturbations (UAPs) are single, image-agnostic noise vectors capable of fooling neural networks. However, they typically fail in real-world scenarios due to natural physical transformations like scaling or rotation. This paper introduces a novel algorithm to generate Robust UAPs that maintain their adversarial power even after undergoing complex physical transformations. By optimizing over a probabilistic bound of transformation neighborhoods, this method creates perturbations up to 23% more robust than existing baselines, presenting a much more realistic threat to deployed AI systems.

The Problem with Standard UAPs

Standard adversarial attacks often assume a highly unrealistic threat model: the attacker knows the exact input image in advance, computes a custom perturbation for it, and perfectly injects that digital noise into the model. Universal Adversarial Perturbations (UAPs) relax the first assumption by creating a single "universal" noise vector that fools the model on most inputs.

Conceptual overview of a Robust UAP attack in the physical world.

However, if an attacker tries to deploy a UAP in the physical world—for example, by placing a semi-transparent sticker on a security camera lens or broadcasting an audio jammer over the air—the perturbation itself undergoes physical transformations. It might be rotated, scaled, subjected to contrast changes from lighting, or distorted by transmission noise.

The authors show that standard UAPs are incredibly fragile to these real-world transformations. If the UAP isn't perfectly and digitally added to the input, it completely loses its ability to fool the network. This paper addresses this critical gap by formulating and generating UAPs that are explicitly robust to these transmission and environmental transformations.

Generating Robust UAPs

To create Robust UAPs, the authors frame the challenge as an expectation maximization problem. The goal is to find a perturbation that, even when transformed by a set of functions $T$ (like rotation or scaling), still causes the model to misclassify a wide distribution of inputs.

Their core contribution is the RobustUAP algorithm, which relies on three main pillars:

  1. Probabilistic Bounds: Instead of just randomly applying transformations during training (like standard Expectation over Transformation), they use Chernoff bounds. This calculates exactly how many sampled transformations are needed to mathematically guarantee that the UAP will be robust across the entire continuous transformation space.
  2. Iterative Optimization: They use Projected Gradient Descent (PGD) to iteratively update the perturbation on batches of data and sampled transformations. The algorithm only stops updating when the estimated robustness on the batch satisfies a strict probabilistic threshold.
  3. Primitive Transformations for the Unknown: To handle scenarios where the attacker doesn't know what transformations the UAP will face in the wild, they train the UAP using a set of "primitive" transformations (spectral, spatial, and color shifts).

Key Insights

  • Standard UAPs are highly overfit: The paper empirically proves that standard UAPs rely on exact pixel-to-pixel alignment. Even a tiny rotation or a slight contrast shift completely neutralizes them.
  • Generalizing to the unknown: By training the UAP against a core set of "primitive" transformations (adapted from data augmentation literature), the resulting UAP becomes Universally Robust. It successfully generalizes to completely unseen corruptions like fog, motion blur, or JPEG compression.
  • Transferability remains intact: Robust UAPs don't just survive physical transformations; they also transfer across different model architectures. A robust UAP crafted on an Inception-v3 model can still effectively fool a MobileNet or Vision Transformer (ViT) model, meaning attackers don't need white-box access to the target system.

Key Results

The authors evaluated their method extensively on CIFAR-10 and ImageNet (ILSVRC 2012), alongside real-world transmission tests.

Robustness comparison of different UAP generation methods.
  • Massive Robustness Gains: RobustUAP achieved up to 23% higher Robust Adversarial Success Rate compared to state-of-the-art baselines (like momentum-based SGD).
  • Surviving Complex Transformations: On ImageNet, against a harsh combination of rotation, translation, shearing, scaling, and brightness changes, RobustUAP maintained an 86.4% success rate. Under the exact same conditions, standard UAPs dropped to a 0.0% success rate.
  • Real-World Wireless Attack: The authors tested their method on FIRE, a real-world 5G wireless channel prediction system. A Robust UAP transmitted over the air caused a median Signal-to-Noise Ratio (SNR) drop of 4.06 dB—more than double the disruption caused by standard Gaussian noise (1.84 dB) or a standard UAP (1.91 dB).

Limitations and Future Work

While highly effective, the current RobustUAP algorithm requires the transformation functions to be sub-differentiable so that gradients can be computed. It cannot natively handle non-differentiable transformations. The authors suggest exploring reinforcement learning methods (like REINFORCE) in future work to bypass this limitation. Additionally, in threat models where both the source image and the perturbation are transformed simultaneously, the method assumes the transformations are distributive/associative.

Looking forward, the authors note that their preliminary findings on defending against Robust UAPs are very promising. Future work will likely explore how to train models to resist these practical physical attacks without sacrificing standard accuracy.

Summary updated

BibTeX
@inproceedings{xu2024robust,
  author = {Changming Xu and Gagandeep Singh},
  title = {{Robust Universal Adversarial Perturbations}},
  booktitle = {International Conference on Machine Learning},
  year = {2024},
  url = {https://openreview.net/forum?id=Paw0BkPaTN},
}
Figure