Skip to main content
QUICK REVIEW

[Paper Review] Exploring the Back Alleys: Analysing The Robustness of Alternative Neural Network Architectures against Adversarial Attacks

Yi Tan, Yuval Elovici|arXiv (Cornell University)|Dec 8, 2019
Adversarial Robustness in Machine LearningComputer Science47 references5 citations
TL;DR

This paper investigates the adversarial robustness of alternative neural network architectures—specifically Spiking Neural Networks (SNNs) and stochastic Artificial Neural Networks (ANNs)—in the raw image space. It finds that while stochastic ANNs are vulnerable to simple white-box attacks like BIM, they show enhanced robustness in black-box settings, particularly against boundary and transfer attacks. The study proposes Variance Mimicking (VM) surrogate training to improve black-box attacks on stochastic models and demonstrates that stochastic model ensembles can partially harden networks against adversarial examples.

ABSTRACT

We investigate to what extent alternative variants of Artificial Neural Networks (ANNs) are susceptible to adversarial attacks. We analyse the adversarial robustness of conventional, stochastic ANNs and Spiking Neural Networks (SNNs) in the raw image space, across three different datasets. Our experiments reveal that stochastic ANN variants are almost equally as susceptible as conventional ANNs when faced with simple iterative gradient-based attacks in the white-box setting. However we observe, that in black-box settings, stochastic ANNs are more robust than conventional ANNs, when faced with boundary attacks, transferability and surrogate attacks. Consequently, we propose improved attacks and defence mechanisms for stochastic ANNs in black-box settings. When performing surrogate-based black-box attacks, one can employ stochastic models as surrogates to observe higher attack success on both stochastic and deterministic targets. This success can be further improved with our proposed Variance Mimicking (VM) surrogate training method, against stochastic targets. Finally, adopting a defender's perspective, we investigate the plausibility of employing stochastic switching of model mixtures as a viable hardening mechanism. We observe that such a scheme does provide a partial hardening.

Motivation & Objective

  • To evaluate the adversarial robustness of alternative neural network architectures—SNNs and stochastic ANNs—against adversarial attacks in the raw image space.
  • To investigate whether stochasticity in neural networks inherently improves robustness against adversarial attacks compared to conventional ANNs.
  • To develop improved black-box attack strategies targeting stochastic ANNs, particularly using surrogate models.
  • To explore the feasibility of using stochastic model mixtures as a defense mechanism against adversarial attacks.
  • To compare the performance of different attack types (white-box, black-box, surrogate-based) across deterministic and stochastic models.

Proposed method

  • Employs three datasets—MNIST, CIFAR-10, and PCam—for comprehensive evaluation of adversarial robustness.
  • Uses vanilla ResNet18 as a baseline model to compare with SNNs (MCSEFRON and $SNN_{m}$) and stochastic ANNs (BSN and BNN).
  • Applies white-box attacks including FGSM, CWL2, and BIM, with an improved objective function inspired by prior work.
  • Designs and implements surrogate-based black-box attacks using stochastic surrogates, introducing Variance Mimicking (VM) to better match the target model's stochastic behavior.
  • Proposes a stochastic model mixture defense strategy where inference involves random switching between different stochastic networks.
  • Visualizes decision boundaries using t-SNE on logits and variances to analyze the impact of stochasticity on model robustness.

Experimental results

Research questions

  • RQ1How do SNNs and stochastic ANNs compare to conventional ANNs in terms of adversarial robustness under white-box and black-box attack settings?
  • RQ2To what extent does stochasticity in the network's weights or activations improve robustness against adversarial attacks?
  • RQ3Can surrogate-based black-box attacks be made more effective against stochastic ANNs, and if so, how can surrogate training be improved?
  • RQ4Does using a stochastic mixture of models during inference provide a viable defense mechanism against adversarial examples?
  • RQ5What role does the variance in decision boundaries play in the difficulty of crafting successful adversarial examples for stochastic networks?

Key findings

  • In white-box settings, stochastic ANNs (BSN and BNN) are almost as vulnerable to simple iterative attacks like BIM as conventional ANNs, indicating limited robustness under strong gradient-based attacks.
  • In black-box settings, stochastic ANNs show significantly higher robustness against boundary attacks and transfer-based attacks, suggesting that stochasticity disrupts transferability.
  • Surrogate-based attacks achieve the highest attack success rate (ASR) among black-box methods, especially when using stochastic surrogates trained with Variance Mimicking (VM), which improves attack performance on stochastic targets.
  • The proposed Variance Mimicking (VM) method enhances surrogate training by capturing the stochastic behavior of target models, resulting in the highest ASR across all black-box attacks tested.
  • Stochastic model ensembles, where inference involves random switching between different stochastic networks, reduce the attack success rate (ASR), demonstrating partial hardening against adversarial examples.
  • t-SNE visualizations confirm that stochastic networks exhibit noisier, spikier, and more overlapping decision boundaries with high variance zones, explaining their resistance to boundary and transfer attacks.

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.