Skip to main content
QUICK REVIEW

[Paper Review] Attribution-driven Causal Analysis for Detection of Adversarial Examples

Susmit Jha, Sunny Raj|arXiv (Cornell University)|Mar 14, 2019
Adversarial Robustness in Machine LearningComputer Science34 references8 citations
TL;DR

This paper proposes a novel, training-free defense against adversarial examples by leveraging attribution-driven causal analysis: it incrementally masks high-attribution features in a model's explanation (via Integrated Gradients) to detect adversarial inputs. The key finding is that adversarial examples—especially physically realizable ones—are highly sensitive to such masking, while benign inputs remain robust, enabling detection with over 98% accuracy across multiple attack types including FGSM, PGD, CW, and adversarial patches.

ABSTRACT

Attribution methods have been developed to explain the decision of a machine learning model on a given input. We use the Integrated Gradient method for finding attributions to define the causal neighborhood of an input by incrementally masking high attribution features. We study the robustness of machine learning models on benign and adversarial inputs in this neighborhood. Our study indicates that benign inputs are robust to the masking of high attribution features but adversarial inputs generated by the state-of-the-art adversarial attack methods such as DeepFool, FGSM, CW and PGD, are not robust to such masking. Further, our study demonstrates that this concentration of high-attribution features responsible for the incorrect decision is more pronounced in physically realizable adversarial examples. This difference in attribution of benign and adversarial inputs can be used to detect adversarial examples. Such a defense approach is independent of training data and attack method, and we demonstrate its effectiveness on digital and physically realizable perturbations.

Motivation & Objective

  • To address the critical gap in detecting adversarial examples that are imperceptible yet mislead deep learning models.
  • To investigate whether adversarial examples are robust in the attribution space, where model decisions are explained via feature importance.
  • To develop a defense mechanism independent of training data and attack-specific knowledge, relying solely on model explanations.
  • To evaluate the robustness of adversarial examples under incremental masking of high-attribution features in the causal neighborhood.
  • To demonstrate that physically realizable adversarial perturbations are more detectable due to localized attribution concentration.

Proposed method

  • Use Integrated Gradient method to compute feature attributions for a given input, assigning importance scores to each input feature (e.g., pixel) in the model's decision.
  • Define a causal neighborhood by iteratively masking the top-k% of features with highest attribution values, starting from the highest.
  • Evaluate model prediction stability under incremental masking: benign inputs maintain their original label, while adversarial inputs frequently change label.
  • Apply the masking process to both digital adversarial examples (e.g., FGSM, PGD, CW, DeepFool) and physically realizable adversarial patches (e.g., banana, toaster, baseball patches).
  • Use the point at which the model's prediction changes as an indicator of adversarial nature, with early label shifts signaling high vulnerability.
  • Formulate a two-tier cognition model: System 1 (the original DNN) and System 2 (the attribution-based analysis), where both must be fooled for a successful attack.

Experimental results

Research questions

  • RQ1Are adversarial examples robust to incremental masking of high-attribution features in the attribution space?
  • RQ2How does the attribution distribution of adversarial examples differ from that of benign inputs under masking?
  • RQ3Can the causal neighborhood defined via attribution masking serve as a reliable detection mechanism for adversarial examples?
  • RQ4Does the localization of high-attribution features in physically realizable adversarial patches make them more detectable than digital perturbations?
  • RQ5To what extent does this defense method remain effective across diverse attack types without prior knowledge of the attack or training data?

Key findings

  • Masking just 0.4% of the highest-attribution pixels detected 99.71% of adversarial examples based on banana patches, 98.14% for toaster patches, and 99.20% for baseball patches.
  • Adversarial examples generated by FGSM, PGD, CW, and DeepFool attacks showed significant label shifts under minimal masking (e.g., 0.2% to 4% of top attributions), indicating high sensitivity in attribution space.
  • Benign inputs remained robust to masking of up to 4% of the highest-attribution features, maintaining their original label in all tested cases.
  • The detection rate increased with smaller adversarial patch sizes due to higher concentration of high-attribution features, suggesting a trade-off between physical realizability and attribution-space robustness.
  • The method detected over 98% of adversarial patch attacks even at small patch sizes (25% of image area), demonstrating effectiveness in real-world physical threat models.
  • The defense is effective across diverse attack types and does not require access to training data or knowledge of the specific attack method, making it broadly applicable.

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.