RSC-SNN: Exploring the Trade-off Between Adversarial Robustness and Accuracy in Spiking Neural Networks via Randomized Smoothing Coding

Keming Wu, Man Yao, Yuhong Chou, Xuerui Qiu, Rui Yang +2 more
7/29/2024
cs.CV

Official code: KemingWu/RSC-SNN (3 stars, Apache-2.0, last commit 2024-07-29).

Abstract

Spiking Neural Networks (SNNs) have received widespread attention due to their unique neuronal dynamics and low-power nature. Previous research empirically shows that SNNs with Poisson coding are more robust than Artificial Neural Networks (ANNs) on small-scale datasets. However, it is still unclear in theory how the adversarial robustness of SNNs is derived, and whether SNNs can still maintain its adversarial robustness advantage on large-scale dataset tasks. This work theoretically demonstrates that SNN's inherent adversarial robustness stems from its Poisson coding. We reveal the conceptual equivalence of Poisson coding and randomized smoothing in defense strategies, and analyze in depth the trade-off between accuracy and adversarial robustness in SNNs via the proposed Randomized Smoothing Coding (RSC) method. Experiments demonstrate that the proposed RSC-SNNs show remarkable adversarial robustness, surpassing ANNs and achieving state-of-the-art robustness results on large-scale dataset ImageNet. Our open-source implementation code is available at this https URL: https://github.com/KemingWu/RSC-SNN.

View on arXivView PDF

Code Implementations(1)

KemingWu/RSC-SNNOfficial100%
Apache-2.0

[ACM MM 2024] RSC-SNN: Exploring the Trade-off Between Adversarial Robustness and Accuracy in Spiking Neural Networks via Randomized Smoothing Coding

30Jul 29, 20242 years agoApache-2.0

Similar Papers

Cite this paper

@article{wu2024rscsnn,
  title  = {RSC-SNN: Exploring the Trade-off Between Adversarial Robustness and Accuracy in Spiking Neural Networks via Randomized Smoothing Coding},
  author = {Keming Wu and Man Yao and Yuhong Chou and Xuerui Qiu and Rui Yang and Bo Xu and Guoqi Li},
  year   = {2024},
  eprint = {2407.20099},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2407.20099v1}
}

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/2407.20099.svg)](https://codeofpaper.com/paper/2407.20099)

Discussion