Associative Adversarial Learning Based on Selective Attack

Runqi Wang, Xiaoyue Duan, Baochang Zhang, Song Xue, Wentao Zhu, David S. Doermann, Guodong GuoarXiv 2021

TL;DR

This paper introduces Associative Adversarial Learning (AAL), a novel method that enhances adversarial robustness by selectively attacking critical regions of an image. By mimicking human-like attention and recalling clean counterparts, AAL improves model performance across adversarial training, object detection, and few-shot learning tasks.

What Problem Does This Paper Address?

Deep neural networks, despite their impressive performance, are notoriously vulnerable to adversarial attacks. These attacks involve making subtle, often imperceptible, perturbations to input images that can drastically alter a model's prediction. Traditional adversarial training methods often apply these perturbations globally across the entire image, which can negatively impact performance on clean, uncorrupted images and may not effectively target the most sensitive regions. The paper addresses this by proposing a more intelligent, selective attack strategy that focuses on critical image areas, inspired by how humans use attention and memory to process corrupted information.

Methods

The core of AAL is Associative Attention, a mechanism that links adversarial images with their clean counterparts. This allows the model to identify and focus on critical regions for attack. The key innovations include:

  • Selective Attack: Instead of global perturbations, AAL applies attacks to specific regions identified by the associative attention. This is achieved by formulating a coupling optimization problem between attention and perturbation.
  • Attention Backtracking: A novel algorithm is introduced to optimize attention by considering its relationship with the perturbation. This process, inspired by human associative memory, helps to refine the attention mechanism to be more robust to adversarial attacks.
  • Kernelized Associative Attention: Different kernel functions are used to tailor the selective attack to specific tasks, allowing for attacks on foreground regions (for adversarial training and object detection) or background regions (for few-shot learning).

Datasets

The paper evaluates AAL on several standard datasets:

  • Image Recognition/Adversarial Training: CIFAR10, ImageNet (ILSVRC 2012)
  • Object Detection: Pascal VOC, MS COCO 2014
  • Few-shot Learning: miniImageNet, tieredImageNet

Key Insights and Ideas

  • Human-like Attention is Key: The paper draws a strong parallel between how humans process corrupted information (recalling clean versions) and how AI models can improve robustness. This "associative" approach is central to AAL.
  • Selective Attacks Outperform Global Ones: By focusing attacks on critical regions, AAL achieves better adversarial robustness without sacrificing performance on clean data, a common issue with traditional methods.
  • Coupling Attention and Perturbation is Crucial: The authors highlight that attention mechanisms alone are insufficient for robust adversarial defense. It's the interaction and coupling between attention and the adversarial perturbation that unlocks improved performance.
  • Task-Specific Attack Strategies: The flexibility of AAL, achieved through kernelized attention, allows it to be effectively applied to diverse tasks by strategically choosing which image regions to attack.

Key Results

AAL demonstrates significant improvements across various tasks:

  • Adversarial Training:
    • ImageNet: 8.32% accuracy improvement compared to the baseline.
  • CIFAR10: Achieved 83.85% accuracy against FGSM and 60.88% against PGD, outperforming existing methods.
  • Object Detection:
    • Pascal VOC: Increased mAP by 2.02%.
  • MS COCO: Increased mAP by 1.50%.
  • Few-shot Learning:
    • miniImageNet: Achieved 68.45% (1-shot) and 85.02% (5-shot) accuracy, outperforming IER by 1.63% and 0.67% respectively.
  • tieredImageNet: Achieved 72.65% (1-shot) and 87.33% (5-shot) accuracy, also outperforming IER.

Limitations and Future Work

  • Computational Cost: While not explicitly detailed as a limitation, the paper mentions that further exploration of AAL on more applications would require "enough computational resources."
  • Potential for Misuse: The authors acknowledge that while AAL is a defense method, it could potentially be adapted to generate more aggressive or harmful perturbations, highlighting the need to prevent its application in harmful scenarios.
  • Future Work: The paper suggests exploring the potential of the AAL method on more applications and further investigating its capabilities. The source code will be made available upon publication.

Summary updated

BibTeX
@misc{wang2021associative,
  author = {Runqi Wang and Xiaoyue Duan and Baochang Zhang and Song Xue and Wentao Zhu and David S. Doermann and Guodong Guo},
  title = {{Associative Adversarial Learning Based on Selective Attack}},
  year = {2021},
  eprint = {2112.13989},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2112.13989},
}
Figure