JOURNAL ARTICLE

Rate Gradient Approximation Attack Threats Deep Spiking Neural Networks

Abstract

Spiking Neural Networks (SNNs) have attracted significant attention due to their energy-efficient properties and potential application on neuromorphic hardware. State-of-the-art SNNs are typically composed of simple Leaky Integrate-and-Fire (LIF) neurons and have become comparable to ANNs in image classification tasks on large-scale datasets. However, the robustness of these deep SNNs has not yet been fully uncovered. In this paper, we first experimentally observe that layers in these SNNs mostly communicate by rate coding. Based on this rate coding property, we develop a novel rate coding SNN-specified attack method, Rate Gradient Approximation Attack (RGA). We generalize the RGA attack to SNNs composed of LIF neurons with different leaky parameters and input encoding by designing surrogate gradients. In addition, we develop the time-extended enhancement to generate more effective adversarial examples. The experiment results indicate that our proposed RGA attack is more effective than the previous attack and is less sensitive to neuron hyperparameters. We also conclude from the experiment that rate-coded SNN composed of LIF neurons is not secure, which calls for exploring training methods for SNNs composed of complex neurons and other neuronal codings. Code is available at https://github.com/putshua/SNN_attack_RGA

Keywords:
Spiking neural network Computer science Robustness (evolution) Deep neural networks Artificial intelligence Hyperparameter Neural coding Coding (social sciences) Artificial neural network Pattern recognition (psychology) Mathematics

Metrics

17
Cited By
2.82
FWCI (Field Weighted Citation Impact)
108
Refs
0.89
Citation Normalized Percentile
Is in top 1%
Is in top 10%

Citation History

Topics

Advanced Memory and Neural Computing
Physical Sciences →  Engineering →  Electrical and Electronic Engineering
Adversarial Robustness in Machine Learning
Physical Sciences →  Computer Science →  Artificial Intelligence
Ferroelectric and Negative Capacitance Devices
Physical Sciences →  Engineering →  Electrical and Electronic Engineering

Related Documents

JOURNAL ARTICLE

Gradual Surrogate Gradient Learning in Deep Spiking Neural Networks

Yi ChenSilin ZhangShiyu RenHong Qu

Journal:   ICASSP 2022 - 2022 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP) Year: 2022 Pages: 8927-8931
JOURNAL ARTICLE

Exploring Adversarial Attack in Spiking Neural Networks With Spike-Compatible Gradient

Ling LiangXing HuLei DengYujie WuGuoqi LiYufei DingPeng LiYuan Xie

Journal:   IEEE Transactions on Neural Networks and Learning Systems Year: 2021 Vol: 34 (5)Pages: 2569-2583
© 2026 ScienceGate Book Chapters — All rights reserved.