Learning to Learn Transferable Attack

Shuman Fang, Jie Li, Xianming Lin, Rongrong Ji

Abstract

Adversarial attacks often overfit to the specific architectures of surrogate models, limiting their effectiveness against unknown "black-box" victim models. We introduce Learning to Learn Transferable Attack (LLTA), a framework that frames adversarial perturbation as a meta-learning problem. By generating diverse tasks through data and model augmentation—specifically by modifying backpropagation with learnable decay factors—LLTA crafts perturbations that generalize across different model configurations. Experimental results demonstrate that LLTA achieves an 86% success rate on black-box models and significantly outperforms existing methods on commercial systems like the Google Cloud Vision API.

Introduction

Deep Neural Networks (DNNs) are notoriously vulnerable to adversarial examples: inputs specifically crafted to induce misclassification through human-imperceptible noise. While "white-box" attacks are highly effective when model parameters are known, "black-box" attacks rely on the transferability of adversarial noise from a surrogate model to a target victim model.

The primary obstacle to transferability is overfitting. Perturbations often exploit idiosyncratic features of the surrogate model's architecture. Existing mitigation strategies, such as data augmentation or model ensembles, often incur high computational costs or offer marginal improvements. LLTA addresses this by treating the search for transferable noise as a meta-learning objective, ensuring the perturbation is effective across a wide distribution of simulated model behaviors.

Methodology: The LLTA Framework

The LLTA framework operates in two distinct phases: Task Generation and Meta-Learning Optimization.

Task Generation

To prevent the adversarial noise from specializing in one model, LLTA simulates a variety of "tasks." 1. Data Augmentation: Images are subjected to random resizing and padding, ensuring the noise is not tied to specific pixel coordinates. 2. Model Augmentation: Instead of using multiple physical models, LLTA modifies the backpropagation of a single surrogate model. By introducing learnable decay factors (\gamma) on residual connections, the system simulates different architectural behaviors. 3. Linearity Optimization: These decay factors are optimized using Maximum Likelihood Estimation (MLE) to enhance the "local linearity" of the surrogate model, a property known to correlate with higher transferability.

Overview of the LLTA framework, illustrating Task Generation and Meta-Learning Optimization phases.

Meta-Learning Optimization

The generated tasks are divided into Support and Query sets. During meta-training, a perturbation is initialized on the Support Set. In the meta-testing phase, this perturbation is evaluated and refined on the Query Set. This nested optimization loop forces the adversarial noise to find "universal" directions that remain effective across varying data transformations and model simulations.

Experimental Evaluation

LLTA was evaluated using the NIPS 2017 Adversarial Competition dataset and tested against both naturally trained and defense-hardened (adversarially trained) models.

Key Results

  • Black-Box Success: LLTA achieved an average success rate of over 86% on standard black-box models, a 6.67% improvement over the previous state-of-the-art (LinBP).
  • Robustness to Defenses: Against models specifically trained to resist adversarial attacks, LLTA maintained a success rate of 46-57%, outperforming competitors by nearly 10%.
  • Commercial API Testing: On the Google Cloud Vision API, LLTA reached a 42% success rate, nearly doubling the performance of the SGM method (22%).
Attack success rates of LLTA compared to baseline methods across different model configurations.

Discussion and Conclusion

LLTA represents a significant shift in adversarial attack design by applying meta-learning to noise generation. By explicitly optimizing for cross-task generalization and local linearity, it overcomes the overfitting issues prevalent in surrogate-based attacks.

While LLTA provides superior transferability, it comes with increased computational overhead due to the meta-learning loops and decay factor optimization. Future work may focus on streamlining these processes for real-time applications and exploring the interpretability of the learned decay factors to identify structural vulnerabilities in DNNs.

Summary updated

BibTeX
@inproceedings{fang2022learning,
  author = {Shuman Fang and Jie Li and Xianming Lin and Rongrong Ji},
  title = {{Learning to Learn Transferable Attack}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2022},
  doi = {10.1609/aaai.v36i1.19936},
}
Figure