NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Advances in Adversarial Attacks and Defenses in Computer Vision: A Survey

Naveed Akhtar, Ajmal Mian, Navid Kardan, Mubarak Shah · DOI

TL;DR

This paper provides a comprehensive survey of the latest advancements in adversarial attacks and defenses in computer vision since 2018. It updates a foundational 2018 review, detailing new attack strategies, defense mechanisms, and emerging trends, highlighting the ongoing arms race between attackers and defenders in making AI systems more robust and secure.

What Problem Does This Paper Address?

The paper addresses the critical vulnerability of deep learning (DL) models in computer vision to adversarial attacks. These attacks involve subtly manipulating input data (like images) with imperceptible perturbations, causing DL models to make incorrect predictions, even with high confidence. This poses a significant threat to security-critical applications like autonomous driving and facial recognition. The paper builds upon a previous survey from 2018, aiming to capture the rapid progress and evolving landscape of adversarial attacks and defenses in the field since then.

Methods

The paper provides a structured overview of adversarial attacks and defenses, categorizing them based on their objectives and methodologies.

Attacks: * Gradient-based attacks: These are the most prevalent, leveraging model gradients to craft perturbations. Techniques like FGSM, PGD, and their iterative variants are discussed. * Black-box attacks: These assume limited knowledge of the target model, further divided into: * Query-based attacks: The attacker queries the model to infer its behavior and craft attacks. * Transfer-based attacks: Perturbations are computed on surrogate models and transferred to fool the target model. * Unrestricted adversarial attacks: These focus on semantic manipulation rather than just norm-bounded perturbations. * Physical world attacks: Attacks designed to fool models in real-world scenarios, often involving printed patches or manipulated objects. * Attacks beyond classification: Targeting tasks like object detection, tracking, reinforcement learning, image captioning, and face recognition.

Defenses: * Model alteration: Primarily adversarial training, where models are trained on adversarial examples to improve robustness. * Detection for defense: Mechanisms to identify adversarial inputs during inference. * Input transformations: Preprocessing inputs to remove or mitigate adversarial perturbations. * Certified defenses: Methods that provide mathematical guarantees of robustness within a certain perturbation bound.

Datasets

The paper discusses attacks and defenses evaluated on various standard computer vision datasets, including:

  • ImageNet: A large-scale dataset for image classification, frequently used as a benchmark.
  • CIFAR-10/100: Smaller image classification datasets.
  • MNIST: A dataset of handwritten digits.
  • CelebA: A dataset of celebrity faces.

The paper also mentions the creation of specialized datasets or benchmarks for specific tasks, such as datasets for adversarial attacks on object detectors in the physical world.

Key Insights and Ideas

  • The "arms race" continues: The field is characterized by a constant back-and-forth between increasingly sophisticated attacks and more robust defense mechanisms.
  • Gradient-based attacks remain dominant: Despite advancements, leveraging model gradients is still the cornerstone of many effective white-box and transfer-based attacks.
  • Black-box attacks are gaining traction: Their practicality and ability to bypass direct model access make them a significant area of research. Transfer-based attacks are particularly popular due to their independence from querying the target model.
  • Physical world attacks are a growing concern: The transition from digital to real-world scenarios introduces unique challenges and opportunities for attackers, especially in safety-critical applications like autonomous driving.
  • Adversarial training is the leading defense, but not a silver bullet: While it's the most principled defense, it faces challenges like generalization issues, vulnerability to specific attack types, and often a trade-off with accuracy on clean data.
  • Certified defenses offer guarantees but are computationally expensive: These methods provide mathematical proof of robustness but are often limited to specific perturbation norms and can be computationally intensive.
  • The "why" behind adversarial vulnerability is still debated: While various hypotheses exist (linearity, manifold assumption, etc.), a consensus on the fundamental reasons for deep learning's susceptibility remains elusive.

Key Results

The paper doesn't present new experimental results but rather synthesizes findings from numerous research papers. It highlights:

  • High fooling rates: Many attacks achieve very high success rates (e.g., >95% fooling rates for image-specific attacks) with minimal, often imperceptible, perturbations.
  • Transferability: Adversarial examples computed on one model can often fool others, especially those with similar architectures.
  • Robustness-accuracy trade-off: Adversarially trained models often exhibit lower accuracy on clean data compared to standard models, a persistent challenge.
  • Evolving attack sophistication: Newer attacks are designed to be more threatening, more transferable, and harder to detect, even in physical-world scenarios.
  • Defense effectiveness varies: While many defenses are proposed, they are often broken by subsequent, more adaptive attacks, underscoring the need for principled and robust defense strategies.

Limitations and Future Work

Limitations: * Defining "black-box": The paper points out a trend where "black-box" attacks are evaluated using models trained on the same data as the target, violating the strict definition of a black-box setup. This needs more careful consideration in research. * Computational cost: Many advanced attacks and certified defenses are computationally expensive, limiting their practical application. * Generalizability of defenses: Defenses often struggle to generalize across different attack types, perturbation norms, or tasks. * Understanding fundamental causes: The core reasons for adversarial vulnerability are still not fully understood, hindering the development of universally robust models.

Future Work: * More specialized attacks: Attacks will likely continue to become more specialized for specific vision tasks and data modalities. * Advancements in black-box attacks: Query-based and transfer-based attacks will see further development, especially for Transformer models in vision. * Focus on principled defenses: Research will likely continue to focus on adversarial training and certified defenses due to their principled nature. * Addressing the robustness-accuracy trade-off: Finding ways to achieve robustness without significantly sacrificing clean accuracy remains a key challenge. * Understanding adversarial phenomena: Further research into the fundamental causes of adversarial vulnerability and the interpretability of adversarial perturbations is crucial. * Multi-modal attacks: Combining adversarial attacks across different modalities (e.g., vision and language) is an emerging area.

Summary updated

BibTeX
@article{akhtar2021advances,
  author = {Naveed Akhtar and Ajmal Mian and Navid Kardan and Mubarak Shah},
  title = {{Advances in Adversarial Attacks and Defenses in Computer Vision: A Survey}},
  journal = {IEEE Access},
  year = {2021},
  doi = {10.1109/access.2021.3127960},
}
Figure