Resilience and Security of Deep Neural Networks Against Intentional and Unintentional Perturbations: Survey and Research Challenges

Sazzad Sayyed, Milin Zhang, Shahriar Rifat, Ananthram Swami, Michael DeLucia, Francesco RestucciaarXiv 2024 · DOI

TL;DR

Deep neural networks (DNNs) are vulnerable to both intentional attacks (adversarial examples) and unintentional perturbations (out-of-distribution data). This paper surveys the state-of-the-art in detecting both, highlighting their interconnectedness and identifying key research challenges for building truly resilient AI systems.

What Problem Does This Paper Address?

Deploying DNNs in critical applications like autonomous driving or medical diagnosis requires them to be robust against unexpected inputs. These inputs can be broadly categorized into two types:

  1. Intentional Perturbations (Adversarial Attacks): Malicious actors can craft subtle changes to input data (e.g., an image) that are imperceptible to humans but cause DNNs to misclassify them with high confidence. This is a significant security concern.
  2. Unintentional Perturbations (Out-of-Distribution - OOD): Real-world data often deviates from the training distribution due to natural variations, sensor noise, or novel scenarios. DNNs trained on specific data distributions can fail unpredictably when encountering these OOD samples, leading to safety issues.

While research has addressed these two domains separately, a unified understanding of their similarities, shared vulnerabilities, and potential for cross-pollination of defense strategies has been lacking. This paper aims to bridge this gap by providing a comprehensive survey and identifying common research challenges.

Methods

The paper surveys existing research and categorizes approaches for detecting both intentional and unintentional perturbations. The methods are broadly classified based on where they operate:

  • Input Space: Techniques that directly analyze or preprocess the input data before feeding it to the DNN. This includes methods like generative modeling for perturbed inputs or masking.
  • Model (or Latent) Space: Approaches that leverage the internal representations (features) learned by the DNN. This involves techniques like augmentation, regularization, model adaptation, and scoring functions based on intermediate layer activations.
  • Output (or Logit) Space: Methods that analyze the final output (logits or softmax probabilities) of the DNN. This often involves adapting the model or using scoring functions to distinguish between in-distribution and out-of-distribution samples.

The survey also delves into specific attack strategies (e.g., white-box, black-box, query-based) and types of distribution shifts (covariate, semantic, prior, generalized label).

Datasets

The paper references a wide array of datasets commonly used in the field for training and evaluating DNNs, including:

  • Image Classification: CIFAR-10, CIFAR-100, MNIST, Fashion-MNIST, ImageNet, SVHN, TinyImageNet, LSUN, iSUN, Places365.
  • Facial Recognition: LFW, VGGFace2, CFP, AgeDB-30, CALFW, CPLFW.
  • Object Detection: COCO, Pascal-VOC, BDD-100k.
  • Speaker Identification: Voxceleb1.

The paper also mentions the introduction of a new dataset called Species for testing OOD detection performance on ImageNet, consisting of 700,000 images and over 1,000 anomalous species.

Key Insights and Ideas

  • Intertwined Nature: Intentional perturbations can be viewed as a specific type of OOD sample, and the presence of "natural adversarial examples" further blurs the lines between the two.
  • Shared Vulnerabilities: Both intentional and unintentional perturbations can lead to DNNs becoming overconfident in their incorrect predictions. This suggests that detection algorithms for both might share common characteristics.
  • Cross-Domain Benefits: Techniques developed for one domain can be beneficial for the other. For instance, Bayesian Uncertainty estimation models used for adversarial detection could be explored for OOD detection. Similarly, modeling activation patterns using discrete states or exploring cross-domain approaches for modeling embeddings could benefit both communities.
  • Intermediate Representations are Key: Many successful detection methods leverage the intermediate representations (latent space) of DNNs, suggesting that these internal features hold crucial information for distinguishing between normal and perturbed inputs.
  • The Need for Unified Frameworks: The lack of a unified vision hinders progress. A collaborative effort between adversarial robustness and OOD detection communities is crucial for developing truly resilient AI.

Key Results

The paper is primarily a survey and analysis of existing research, rather than presenting new experimental results. However, it highlights that:

  • Various approaches achieve high detection rates for specific types of attacks or OOD shifts on benchmark datasets like CIFAR-10 and CIFAR-100.
  • Performance often degrades significantly on larger, more complex, real-world datasets, indicating a lack of dataset-agnostic solutions.
  • Some methods show promise in generalizing across different attacks or OOD scenarios, but often with trade-offs in computational cost or complexity.

Limitations and Future Work

  • Dataset-Agnostic Detectors: A significant challenge is the development of OOD detection approaches that perform consistently across various datasets and architectures, without requiring prior knowledge of the OOD distribution.
  • Computational Cost and Latency: Many current methods are computationally expensive and do not consider real-world deployment constraints like latency and energy consumption, especially for edge devices.
  • Curated Datasets: There's a need for curated datasets that disentangle covariate and semantic shifts, and are large-scale enough to capture real-world scenarios for robust OOD detection.
  • Explainability: Current OOD detection methods often lack explainability, making it difficult to understand why a sample is flagged as OOD. Developing explainable methods is crucial for trust and further innovation.
  • Joint Resilience: The problem of achieving joint resilience against both intentional and unintentional perturbations remains largely under-explored, with limited work demonstrating impressive performance across diverse datasets. Future work should focus on developing unified frameworks and exploring more realistic datasets.

Summary updated

BibTeX
@misc{sayyed2024resilience,
  author = {Sazzad Sayyed and Milin Zhang and Shahriar Rifat and Ananthram Swami and Michael DeLucia and Francesco Restuccia},
  title = {{Resilience and Security of Deep Neural Networks Against Intentional and Unintentional Perturbations: Survey and Research Challenges}},
  year = {2024},
  eprint = {2408.00193},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2408.00193},
}
Figure