Learning to Generate Image Source-Agnostic Universal Adversarial Perturbations

Pu Zhao, Parikshit Ram, Songtao Lu, Yuguang Yao, Djallel Bouneffouf, Xue Lin, Sijia Liu

Adversarial perturbations represent a significant vulnerability in deep neural networks, where imperceptible noise can lead to catastrophic misclassifications. Among these, Universal Adversarial Perturbations (UAPs) are particularly potent because a single noise pattern can fool a model across an entire dataset. However, traditional UAP generation methods are often computationally expensive, fail to generalize to unseen data, and are strictly tied to specific image resolutions. This paper presents a novel meta-learning framework designed to overcome these limitations by generating source-agnostic UAPs that adapt rapidly to new tasks.

The Challenges of Universal Adversarial Perturbations

Existing UAP generation techniques face three primary obstacles:

  1. Generalization Gap: Perturbations optimized on a training set often show a marked drop in performance when applied to "unseen" images from the same distribution.
  2. Computational Inefficiency: Adapting an existing UAP to new data typically requires full retraining, which is resource-intensive.
  3. Source-Specificity: Most generators are architecture-bound to a specific input resolution. For instance, a generator trained on $28 \times 28$ MNIST images cannot be directly applied to $32 \times 32$ CIFAR-10 images without significant modification.

The Learned Fine-Tuner (LFT) Framework

To address these hurdles, the authors propose the Learned Fine-Tuner (LFT), which frames UAP generation as a few-shot learning problem. The LFT integrates two core meta-learning paradigms: Model-Agnostic Meta-Learning (MAML) and Learning-to-Optimize (L2O).

Overview of the LFT framework generating UAPs across incongruous tasks like MNIST and CIFAR-10.

MAML is employed to find a "meta-initialization" for the perturbation, providing a warm-start that facilitates rapid adaptation. To achieve source-agnosticism, the authors replace standard gradient descent with a learnable Recurrent Neural Network (RNN) optimizer, following the L2O approach. The critical innovation is the use of a coordinate-wise LSTM. By sharing weights across every pixel (coordinate) of the perturbation, the RNN optimizer becomes invariant to the total number of pixels. This allows a single meta-learned optimizer to generate effective perturbations for images of any resolution, effectively handling "incongruous" tasks.

Experimental Setup

The framework's efficacy was evaluated using two benchmark datasets:

  • MNIST: $28 \times 28$ grayscale handwritten digits.
  • CIFAR-10: $32 \times 32$ color images.
  • Victim Models: The attacks targeted various architectures, including LeNet-5, LeNet-7, and VGG-11, to test cross-model transferability.

Experimental Results

The LFT method demonstrates significant improvements over standard baselines such as Projected Gradient Descent (PGD) and Singular Vector-based UAP (S-UAP).

Attack Success Rate (ASR) curves comparing LFT against L2O, PGD, MAML, and S-UAP across various meta-learning (L) and meta-testing (T) scenarios.

Key findings include:

  • Superior Attack Success Rate (ASR): In few-shot scenarios, LFT achieved an ASR up to 50% higher than non-meta-learning baselines.
  • Rapid Convergence: LFT reached a 100% ASR approximately 37% faster than vanilla MAML or L2O frameworks, highlighting the efficiency of the learned initialization and optimizer.
  • Improved Stealth: Perturbations generated by LFT exhibited smaller $\ell_1$ norms (up to 10% reduction), making the adversarial noise less perceptible to human observers while maintaining high effectiveness.
  • Cross-Source Generalization: A generator meta-trained on MNIST successfully attacked CIFAR-10 models, outperforming UAP methods trained directly on the target CIFAR-10 distribution.

Conclusion and Future Directions

By treating UAP generation as a few-shot meta-learning problem, this work provides a robust solution for creating efficient, generalizable, and source-agnostic adversarial attacks. The use of weight-sharing RNNs allows for seamless transfer between different image resolutions, a significant step forward in adversarial robustness research. Future work may involve scaling this approach to high-resolution datasets like ImageNet and evaluating its performance against state-of-the-art adversarial defense mechanisms.

Summary updated

BibTeX
@inproceedings{zhao2022learning,
  author = {Pu Zhao and Parikshit Ram and Songtao Lu and Yuguang Yao and Djallel Bouneffouf and Xue Lin and Sijia Liu},
  title = {{Learning to Generate Image Source-Agnostic Universal Adversarial Perturbations}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2022},
  doi = {10.24963/ijcai.2022/239},
}
Figure