Skip to main content
QUICK REVIEW

[Paper Review] Detecting Adversarial Examples - A Lesson from Multimedia Forensics

Pascal Schöttle, Alexander Schlögl|arXiv (Cornell University)|Mar 9, 2018
Adversarial Robustness in Machine LearningComputer Science17 references5 citations
TL;DR

This paper proposes a steganalysis-inspired linear filter to detect adversarial examples generated via projected gradient descent (PGD) on MNIST. By leveraging pixel-level prediction residuals, the method achieves high detection rates—especially for larger perturbation budgets—and when combined with adversarially re-trained models, maintains over 96% accuracy, significantly reducing the attack surface for adversarial examples.

ABSTRACT

Adversarial classification is the task of performing robust classification in the presence of a strategic attacker. Originating from information hiding and multimedia forensics, adversarial classification recently received a lot of attention in a broader security context. In the domain of machine learning-based image classification, adversarial classification can be interpreted as detecting so-called adversarial examples, which are slightly altered versions of benign images. They are specifically crafted to be misclassified with a very high probability by the classifier under attack. Neural networks, which dominate among modern image classifiers, have been shown to be especially vulnerable to these adversarial examples. However, detecting subtle changes in digital images has always been the goal of multimedia forensics and steganalysis. In this paper, we highlight the parallels between these two fields and secure machine learning. Furthermore, we adapt a linear filter, similar to early steganalysis methods, to detect adversarial examples that are generated with the projected gradient descent (PGD) method, the state-of-the-art algorithm for this task. We test our method on the MNIST database and show for several parameter combinations of PGD that our method can reliably detect adversarial examples. Additionally, the combination of adversarial re-training and our detection method effectively reduces the attack surface of attacks against neural networks. Thus, we conclude that adversarial examples for image classification possibly do not withstand detection methods from steganalysis, and future work should explore the effectiveness of known techniques from multimedia forensics in other adversarial settings.

Motivation & Objective

  • To bridge adversarial machine learning and multimedia forensics by identifying conceptual parallels between steganalysis and adversarial example detection.
  • To investigate whether established steganalysis techniques can effectively detect adversarial examples in image classification.
  • To develop and evaluate a simple, linear detection method based on pixel prediction residuals for detecting PGD-generated adversarial examples.
  • To assess the effectiveness of combining the proposed detection method with adversarially retrained neural networks to enhance robustness.
  • To demonstrate that detection methods from steganalysis can complement robust classification, reducing the attacker's success rate.

Proposed method

  • Adapts a linear prediction filter from early steganalysis methods to detect adversarial examples by analyzing pixel-level deviations from expected values.
  • Uses a local pixel prediction model to compute residuals between actual and predicted pixel intensities, identifying anomalies caused by adversarial perturbations.
  • Applies the method to adversarial examples generated using the projected gradient descent (PGD) attack with varying perturbation budgets (ε).
  • Combines the detection method with adversarially retrained CNNs: only undetected (benign-like) examples are passed to the classifier.
  • Employs a threshold-based decision rule to classify inputs as adversarial or benign based on the magnitude of prediction residuals.
  • Evaluates performance on the MNIST dataset using true positive rate (TPR) and overall accuracy across different ε values and model types (natural vs. adversarially retrained).

Experimental results

Research questions

  • RQ1Can steganalysis-inspired detection methods effectively identify adversarial examples generated via PGD?
  • RQ2How does the detection performance vary with the magnitude of perturbations (ε) in PGD attacks?
  • RQ3Does combining the proposed detection method with adversarially retrained models improve overall robustness against adversarial attacks?
  • RQ4Why do adversarial examples from retrained models prove harder to detect, and what structural differences exist in their perturbations?
  • RQ5To what extent can detection methods from multimedia forensics complement robust classification in adversarial machine learning?

Key findings

  • The detection method achieves a true positive rate (TPR) of approximately 50% for the natural model at ε ≈ 0.17, improving with larger ε values.
  • For the adversarially retrained model, the TPR reaches 50% at ε ≈ 0.31, indicating that adversarial examples from retrained models are more difficult to detect.
  • The combination of detection and adversarially retrained models maintains an overall accuracy of at least 96% across all ε values, even when the original classifier's accuracy drops below 50%.
  • The method achieves perfect separation of adversarial and benign samples for ε ≥ 0.17 on the natural model and ε ≥ 0.31 on the retrained model.
  • Adversarial examples from retrained models exhibit more homogeneous pixel changes, lying closer to the prediction model’s expected values, which reduces detectability.
  • The orthogonal behavior of detection and robust classification suggests strong synergy when combined, significantly reducing the attacker’s effective attack surface.

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.