Skip to main content
QUICK REVIEW

[Paper Review] Adversarial Examples Detection in Deep Networks with Convolutional Filter Statistics

Xin Li, Fuxin Li|arXiv (Cornell University)|Dec 22, 2016
Adversarial Robustness in Machine LearningComputer Science31 references17 citations
TL;DR

This paper proposes a lightweight, non-subdifferentiable cascade classifier that detects adversarial examples by analyzing convolutional filter statistics across multiple layers in deep networks. It achieves over 85% detection accuracy and enables recovery of 73% of adversarial examples using a simple 3×3 average filter, demonstrating robust generalization across different adversarial attack methods.

ABSTRACT

Deep learning has greatly improved visual recognition in recent years. However, recent research has shown that there exist many adversarial examples that can negatively impact the performance of such an architecture. This paper focuses on detecting those adversarial examples by analyzing whether they come from the same distribution as the normal examples. Instead of directly training a deep neural network to detect adversarials, a much simpler approach was proposed based on statistics on outputs from convolutional layers. A cascade classifier was designed to efficiently detect adversarials. Furthermore, trained from one particular adversarial generating mechanism, the resulting classifier can successfully detect adversarials from a completely different mechanism as well. The resulting classifier is non-subdifferentiable, hence creates a difficulty for adversaries to attack by using the gradient of the classifier. After detecting adversarial examples, we show that many of them can be recovered by simply performing a small average filter on the image. Those findings should lead to more insights about the classification mechanisms in deep convolutional neural networks.

Motivation & Objective

  • To address the critical need for reliable detection of adversarial examples that can compromise deep neural networks in safety-critical applications.
  • To develop a detection method that is robust across different adversarial attack mechanisms without requiring retraining.
  • To provide insights into the internal behavior of deep networks by analyzing intermediate convolutional layer statistics.
  • To explore practical recovery techniques for adversarial examples that preserve model accuracy.

Proposed method

  • The method extracts simple statistical features (e.g., mean, variance) from the outputs of convolutional filters across multiple layers in a pre-trained CNN.
  • A cascade classifier is trained on these filter statistics to distinguish between normal and adversarial examples.
  • The classifier is trained on adversarials generated via one method (e.g., L-BFGS) and tested on others (e.g., EA), enabling zero-shot generalization.
  • The approach avoids gradient-based optimization by being non-subdifferentiable, making it resistant to adversarial attacks targeting the detector.
  • Image recovery is performed by applying a small 3×3 average filter to detected adversarial examples to cancel out localized perturbations.
  • The framework integrates a self-aware learning strategy where the model abstains from prediction when uncertainty is high, improving safety.

Experimental results

Research questions

  • RQ1Can simple statistics from intermediate convolutional layer outputs effectively distinguish adversarial examples from normal inputs?
  • RQ2Can a detector trained on one adversarial generation method generalize to detect adversarials from a completely different attack mechanism?
  • RQ3To what extent can adversarial perturbations be reversed using simple, non-learning-based image processing techniques?
  • RQ4How does the proposed method compare in performance to state-of-the-art adversarial detection techniques?
  • RQ5Can the detection and recovery pipeline improve the robustness and safety of deep neural networks in real-world deployment?

Key findings

  • The proposed cascade classifier detects more than 85% of adversarial examples across multiple datasets and attack types.
  • The detector generalizes effectively: a model trained on L-BFGS adversarials successfully detects EA-adversarials without fine-tuning.
  • Applying a 3×3 average filter to detected adversarial examples recovers classification accuracy to 73.0% on top-5 metrics.
  • The recovery performance degrades slightly with larger filters (e.g., 5×5 average filter achieves 68.0% accuracy), indicating sensitivity to filter size.
  • The method demonstrates that adversarial perturbations are often localized and can be canceled by simple spatial smoothing, suggesting a vulnerability in current network design.
  • The results indicate that current deep networks are overly sensitive to small, localized perturbations, highlighting the need for larger receptive fields or alternative normalization strategies.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.