Progressive Defense Against Adversarial Attacks for Deep Learning as a Service in Internet of Things

Ling Wang, Cheng Zhang, Zejian Luo, Chenguang Liu, Jie Liu, Xi Zheng, Athanasios V. VasilakosarXiv 2020

TL;DR

This paper introduces a "progressive defense" strategy (PDAAA) to protect Deep Learning as a Service (DLaaS) in IoT from adversarial attacks. By efficiently identifying and filtering only the "sensitive" pixels that cause misclassifications, PDAAA significantly reduces computational cost while maintaining high defense performance against various attacks.

What Problem Does This Paper Address?

Deep Learning as a Service (DLaaS) is increasingly deployed in Internet of Things (IoT) for smart applications. However, these systems are vulnerable to adversarial attacks, where small, often imperceptible, perturbations to input data (like images) can trick deep neural networks (DNNs) into making incorrect predictions. A major challenge is efficiently detecting and neutralizing these adversarial perturbations without requiring extensive retraining of the DNN for every new attack. Existing defense methods often involve computationally expensive filtering of all pixels or require model retraining, which is impractical for resource-constrained IoT environments.

Methods

The proposed defense strategy, PDAAA, consists of two main steps:

  1. Sensitive Point Identification: The core idea is that only a small subset of pixels, termed "sensitive points," are responsible for causing misclassifications. The paper formalizes this as an optimization problem: find the minimum number of pixels whose change can cause the DNN's prediction confidence to drop significantly. To solve this, they employ the Differential Evolution (DE) algorithm. DE is chosen because it's less sensitive to local minima and doesn't require the objective function (the DNN's prediction) to be differentiable, making it suitable for complex DNNs. The algorithm iteratively searches for pixels that, when slightly altered, lead to incorrect predictions.
  2. Sensitive Point Filtering: Once sensitive points are identified, their values are "filtered" to mitigate the adversarial effect. The method averages the RGB values of the sensitive point and its eight immediate neighbors. This smoothing operation aims to restore the pixel's value closer to its original, non-adversarial state, thereby correcting the misclassification without altering the original network architecture.

Datasets

The paper evaluates its proposed defense strategy on two well-known datasets:

  • CIFAR-10: A dataset of 32x32 color images categorized into 10 classes (e.g., airplane, car, bird).
  • MNIST: A dataset of 28x28 grayscale images of handwritten digits (0-9).

Key Insights and Ideas

  • The "Few Pixels Matter" Principle: The most crucial insight is that adversarial attacks often rely on perturbing a surprisingly small number of pixels to fool a DNN. Identifying and targeting only these "sensitive points" is far more efficient than processing the entire image.
  • Differential Evolution for Robust Optimization: Using DE for finding sensitive points is a smart move, as it bypasses the need for gradient information, which is often unavailable or unreliable in black-box attack scenarios or for non-differentiable models.
  • Computational Efficiency: By focusing on a small subset of pixels, the defense mechanism significantly reduces computational overhead, making it practical for resource-constrained IoT devices.
  • Attack Agnosticism: The defense strategy doesn't require prior knowledge of the specific attack type, making it a more generalizable solution.

Key Results

  • Outperforms State-of-the-Art: The PDAAA strategy demonstrates superior defense success rates compared to existing methods on both CIFAR-10 and MNIST datasets across various adversarial attack methods (FGSM, BIM, PGD).
  • Significant Cost Reduction: The paper claims an average reduction of 50% in model training cost (though the abstract mentions model training cost, the experimental results focus on defense computation time and success rate, implying the defense mechanism itself is faster). The defense process is significantly faster than other methods.
  • Performance Scales with Sensitive Points: The defense success rate generally increases as more sensitive points are considered, but the paper highlights that even a small number of identified points can yield substantial defense. For instance, with d=100 sensitive points, defense success rates for FGSM attacks on ResNet reached 84.26%.

Limitations and Future Work

  • Sensitivity to Sensitive Point Count: While the defense improves with more identified sensitive points, there's a trade-off with computation time. The optimal number of sensitive points (d) needs careful selection.
  • Performance Variation Across Attacks: The defense is most effective against FGSM attacks, with performance decreasing for BIM and PGD, which often involve smaller, more subtle perturbations.
  • Future Work: The authors plan to implement their defense mechanism in real autonomous driving systems, suggesting its potential for safety-critical applications.

Summary updated

Abstract

Nowadays, Deep Learning as a service can be deployed in Internet of Things (IoT) to provide smart services and sensor data processing. However, recent research has revealed that some Deep Neural Networks (DNN) can be easily misled by adding relatively small but adversarial perturbations to the input (e.g., pixel mutation in input images). One challenge in defending DNN against these attacks is to efficiently identifying and filtering out the adversarial pixels. The state-of-the-art defense strategies with good robustness often require additional model training for specific attacks. To reduce the computational cost without loss of generality, we present a defense strategy called a progressive defense against adversarial attacks (PDAAA) for efficiently and effectively filtering out the adversarial pixel mutations, which could mislead the neural network towards erroneous outputs, without a-priori knowledge about the attack type. We evaluated our progressive defense strategy against various attack methods on two well-known datasets. The result shows it outperforms the state-of-the-art while reducing the cost of model training by 50% on average.

Empirical ResultsBrowse all benchmarks →

BenchmarkMethodMetricScoreProtocol / Evidence
CIFAR-10PDAAA (proposed progressive defense; table label “Ours”)Defense success rate (PGD)21.23%backbone=ResNet · sensitive-points=d=100
Source quote
L555: Ours │ 84.26%(d=100) │ 21.23%(d=100)
Reported baseline / comparator measurements (2)
BenchmarkMethodMetricScoreProtocol / Evidence
CIFAR-10Adversarial-Dual-Network baselineDefense success rate (FGSM)82.71%backbone=ResNet
Source quote
L554: Adversarial-Dual-Network │ 82.71% │ 80.92%
CIFAR-10Adversarial-Dual-Network baselineDefense success rate (PGD)80.92%backbone=ResNet
Source quote
L554: Adversarial-Dual-Network │ 82.71% │ 80.92%
BibTeX
@misc{wang2020progressive,
  author = {Ling Wang and Cheng Zhang and Zejian Luo and Chenguang Liu and Jie Liu and Xi Zheng and Athanasios V. Vasilakos},
  title = {{Progressive Defense Against Adversarial Attacks for Deep Learning as a Service in Internet of Things}},
  year = {2020},
  eprint = {2010.11143},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2010.11143},
}
Figure