Skip to main content
QUICK REVIEW

[Paper Review] RAID: Randomized Adversarial-Input Detection for Neural Networks

Hasan Ferit Enişer, Maria Christakis|arXiv (Cornell University)|Feb 7, 2020
Adversarial Robustness in Machine LearningComputer Science51 references13 citations
TL;DR

RAID is a novel, robust adversarial-image detection method that trains a secondary classifier to detect adversarial inputs by identifying differences in neuron activation patterns between benign and adversarial samples. It outperforms state-of-the-art techniques like SADL and mMutant by up to 88% across six attack types and can be extended with P-RAID to resist detection-aware adversaries without sacrificing effectiveness.

ABSTRACT

In recent years, neural networks have become the default choice for image classification and many other learning tasks, even though they are vulnerable to so-called adversarial attacks. To increase their robustness against these attacks, there have emerged numerous detection mechanisms that aim to automatically determine if an input is adversarial. However, state-of-the-art detection mechanisms either rely on being tuned for each type of attack, or they do not generalize across different attack types. To alleviate these issues, we propose a novel technique for adversarial-image detection, RAID, that trains a secondary classifier to identify differences in neuron activation values between benign and adversarial inputs. Our technique is both more reliable and more effective than the state of the art when evaluated against six popular attacks. Moreover, a straightforward extension of RAID increases its robustness against detection-aware adversaries without affecting its effectiveness.

Motivation & Objective

  • To address the lack of generalization in existing adversarial detection methods across diverse attack types.
  • To develop a detection mechanism that remains effective without requiring attack-specific hyperparameter tuning.
  • To enhance robustness against adaptive adversaries who tailor attacks to evade detection.
  • To provide a simple, effective, and publicly available detection framework for real-world deployment.

Proposed method

  • RAID trains a secondary classifier to distinguish between benign and adversarial inputs based on differences in neuron activation values across a randomly selected subset of neurons.
  • The method uses a fixed random seed to select neurons for activation comparison, ensuring consistency and reducing sensitivity to hyperparameter choices.
  • It leverages the observation that adversarial inputs induce distinct activation patterns compared to benign inputs, even when perturbations are imperceptible.
  • A variant, P-RAID, introduces randomization in the neuron selection process at inference time to increase robustness against adaptive adversaries.
  • The approach does not require architectural changes to the primary network and operates as a lightweight online detector.
  • The detection mechanism is evaluated using standard metrics such as AUC and EER across multiple attack types and datasets.

Experimental results

Research questions

  • RQ1Can a detection method based on neuron activation differences generalize across diverse adversarial attack types without hyperparameter tuning?
  • RQ2How does RAID compare in performance and stability to state-of-the-art detection techniques like SADL and mMutant?
  • RQ3Can RAID be extended to remain effective against adaptive adversaries who target detection mechanisms?
  • RQ4What is the impact of randomizing neuron selection on detection robustness against evasion attacks?
  • RQ5How does RAID perform under strong attacks such as Carlini & Wagner (CW) and DeepFool (DF)?

Key findings

  • RAID achieves a 90% AUC score against the strongest attacks, including Carlini & Wagner (CW) and DeepFool (DF), demonstrating high detection performance.
  • RAID outperforms SADL and mMutant by up to 88% in detection effectiveness across six popular adversarial attack types.
  • RAID achieves perfect detection (100% true positive rate) against weaker attacks such as PGD, BIM, and FGSM.
  • The P-RAID extension maintains high detection effectiveness while significantly increasing robustness against detection-aware adversaries.
  • RAID shows stable performance across a wide range of hyperparameters, indicating low sensitivity to configuration choices.
  • The method is effective even when applied to unseen attack types, suggesting strong generalization capabilities.

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.