Inherent Adversarial Robustness of Deep Spiking Neural Networks: Effects of Discrete Input Encoding and Non-Linear Activations

Saima Sharmin, Nitin Rathi, Priyadarshini Panda, Kaushik Roy
3/23/2020
cs.CVcs.NE

Official code: ssharmin/spikingNN-adversarial-attack (17 stars, Python, last commit 2020-08-21).

Abstract

In the recent quest for trustworthy neural networks, we present Spiking Neural Network (SNN) as a potential candidate for inherent robustness against adversarial attacks. In this work, we demonstrate that adversarial accuracy of SNNs under gradient-based attacks is higher than their non-spiking counterparts for CIFAR datasets on deep VGG and ResNet architectures, particularly in blackbox attack scenario.

Show full abstract

We attribute this robustness to two fundamental characteristics of SNNs and analyze their effects. First, we exhibit that input discretization introduced by the Poisson encoder improves adversarial robustness with reduced number of timesteps. Second, we quantify the amount of adversarial accuracy with increased leak rate in Leaky-Integrate-Fire (LIF) neurons. Our results suggest that SNNs trained with LIF neurons and smaller number of timesteps are more robust than the ones with IF (Integrate-Fire) neurons and larger number of timesteps. Also we overcome the bottleneck of creating gradient-based adversarial inputs in temporal domain by proposing a technique for crafting attacks from SNN

View on arXivView PDF

Code Implementations(1)

176Python, ShellJul 16, 20206 years ago

Similar Papers

Cite this paper

@article{sharmin2020inherent,
  title  = {Inherent Adversarial Robustness of Deep Spiking Neural Networks: Effects of Discrete Input Encoding and Non-Linear Activations},
  author = {Saima Sharmin and Nitin Rathi and Priyadarshini Panda and Kaushik Roy},
  year   = {2020},
  eprint = {2003.10399},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2003.10399}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2003.10399.svg)](https://codeofpaper.com/paper/2003.10399)

Discussion