Exploring Adversarial Attack in Spiking Neural Networks with Spike-Compatible Gradient
Not on the map. Why?
Abstract (arXiv)
Recently, backpropagation through time inspired learning algorithms are widely introduced into SNNs to improve the performance, which brings the possibility to attack the models accurately given Spatio-temporal gradient maps. We propose two approaches to address the challenges of gradient input incompatibility and gradient vanishing. Specifically, we design a gradient to spike converter to convert continuous gradients to ternary ones compatible with spike inputs. Then, we design a gradient trigger to construct ternary gradients that can randomly flip the spike inputs with a controllable turnover rate, when meeting all zero gradients. Putting these methods together, we build an adversarial attack methodology for SNNs trained by supervised algorithms. Moreover, we analyze the influence of the training loss function and the firing threshold of the penultimate layer, which indicates a "trap" region under the cross-entropy loss that can be escaped by threshold tuning. Extensive experiments are conducted to validate the effectiveness of our solution. Besides the quantitative analysis of the influence factors, we evidence that SNNs are more robust against adversarial attack than ANNs. This work can help reveal what happens in SNN attack and might stimulate more research on the security of SNN models and neuromorphic devices.
Key facts. Cited by 31 papers in the map (data through 14 Oct 2026). First posted on arXiv 1 Jan 2020.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 4; 2022: 6; 2023: 3; 2024: 5; 2025: 8; 2026: 5.
31 papers.
Sort:
- 2022Exploring Temporal Information Dynamics in Spiking Neural Networkscited by 24
- 2021DVS-Attacks: Adversarial Attacks on Dynamic Vision Sensors for Spiking Neural Networkscited by 21
- 2021Adversarial Attacks on Spiking Convolutional Neural Networks for Event-based Visioncited by 14
- 2022Attacking the Spike: On the Transferability and Security of Spiking Neural Networks to Adversarial Examplescited by 13
- 2022Toward Robust Spiking Neural Network Against Adversarial Perturbationcited by 12
- 2023Uncovering the Representation of Spiking Neural Networks Trained with Surrogate Gradientcited by 11
- 2024Enhancing Adversarial Robustness in SNNs with Sparse Gradientscited by 10
- 2021R-SNN: An Analysis and Design Methodology for Robustifying Spiking Neural Networks against Adversarial Attacks through Noise Filters for Dynamic Vision Sensorscited by 9
- 2025Towards Effective and Sparse Adversarial Attack on Spiking Neural Networks via Breaking Invisible Surrogate Gradientscited by 9
- 2022Fast Adversarial Training with Noise Augmentation: A Unified Perspective on RandStart and GradAligncited by 7
- 2023Adversarially Robust Spiking Neural Networks Through Conversioncited by 7
- 2024BrainLeaks: On the Privacy-Preserving Properties of Neuromorphic Architectures against Model Inversion Attackscited by 7
19 more
- 2022Special Session: Towards an Agile Design Methodology for Efficient, Reliable, and Secure ML Systemscited by 6
- 2025Input-Triggered Hardware Trojan Attack on Spiking Neural Networkscited by 5
- 2026Time Is All It Takes: Spike-Retiming Attacks on Event-Driven Spiking Neural Networkscited by 5
- 2024Flashy Backdoor: Real-world Environment Backdoor Attack on SNNs with DVS Camerascited by 3
- 2021Adversarial Examples Detection with Bayesian Neural Networkcited by 2
- 2024Benchmarking Spiking Neural Network Learning Methods with Varying Localitycited by 2
- 2025MPD-SGR: Robust Spiking Neural Networks with Membrane Potential Distribution-Driven Surrogate Gradient Regularizationcited by 2
- 2022Adversarial Defense via Neural Oscillation inspired Gradient Maskingcited by 1
- 2024Understanding the Functional Roles of Modelling Components in Spiking Neural Networkscited by 1
- 2025Input-Specific and Universal Adversarial Attack Generation for Spiking Neural Networks in the Spiking Domaincited by 1
- 2025Boosting the Robustness-Accuracy Trade-off of SNNs by Robust Temporal Self-Ensemblecited by 1
- 2023Learning Spiking Neural Network from Easy to Hard taskcited by 0
- 2025On the Adversarial Robustness of Spiking Neural Networks Trained by Local Learningcited by 0
- 2025Adversarially Robust Spiking Neural Networks with Sparse Connectivitycited by 0
- 2025Towards Reliable Evaluation of Adversarial Robustness for Spiking Neural Networkscited by 0
- 2026Emerging Threats and Countermeasures in Neuromorphic Systems: A Surveycited by 0
- 2026Robust Spiking Neural Networks Against Adversarial Attackscited by 0
- 2026Fluently Lying: Adversarial Robustness Can Be Substrate-Dependentcited by 0
- 2026Driving up Inference Energy on SNNs: Per-Sample and Universal Sponge Attackscited by 0
- 2026Driving up Inference Energy on SNNs: Per-Sample and Universal Sponge Attacks30 Jul 2026
- 2026Fluently Lying: Adversarial Robustness Can Be Substrate-Dependent1 Apr 2026
- 2026Robust Spiking Neural Networks Against Adversarial Attacks24 Feb 2026
- 2026Time Is All It Takes: Spike-Retiming Attacks on Event-Driven Spiking Neural Networks3 Feb 2026
- 2026Emerging Threats and Countermeasures in Neuromorphic Systems: A Survey23 Jan 2026
- 2025Towards Reliable Evaluation of Adversarial Robustness for Spiking Neural Networks27 Dec 2025
- 2025MPD-SGR: Robust Spiking Neural Networks with Membrane Potential Distribution-Driven Surrogate Gradient Regularization15 Nov 2025
- 2025Boosting the Robustness-Accuracy Trade-off of SNNs by Robust Temporal Self-Ensemble15 Aug 2025
- 2025Adversarially Robust Spiking Neural Networks with Sparse Connectivity16 May 2025
- 2025Input-Specific and Universal Adversarial Attack Generation for Spiking Neural Networks in the Spiking Domain7 May 2025
- 2025On the Adversarial Robustness of Spiking Neural Networks Trained by Local Learning11 Apr 2025
- 2025Input-Triggered Hardware Trojan Attack on Spiking Neural Networks20 Mar 2025
19 more
- 2025Towards Effective and Sparse Adversarial Attack on Spiking Neural Networks via Breaking Invisible Surrogate Gradients5 Mar 2025
- 2024Flashy Backdoor: Real-world Environment Backdoor Attack on SNNs with DVS Cameras5 Nov 2024
- 2024Enhancing Adversarial Robustness in SNNs with Sparse Gradients30 May 2024
- 2024Understanding the Functional Roles of Modelling Components in Spiking Neural Networks25 Mar 2024
- 2024Benchmarking Spiking Neural Network Learning Methods with Varying Locality1 Feb 2024
- 2024BrainLeaks: On the Privacy-Preserving Properties of Neuromorphic Architectures against Model Inversion Attacks1 Feb 2024
- 2023Adversarially Robust Spiking Neural Networks Through Conversion15 Nov 2023
- 2023Learning Spiking Neural Network from Easy to Hard task9 Sep 2023
- 2023Uncovering the Representation of Spiking Neural Networks Trained with Surrogate Gradient25 Apr 2023
- 2022Exploring Temporal Information Dynamics in Spiking Neural Networks26 Nov 2022
- 2022Adversarial Defense via Neural Oscillation inspired Gradient Masking4 Nov 2022
- 2022Attacking the Spike: On the Transferability and Security of Spiking Neural Networks to Adversarial Examples7 Sep 2022
- 2022Special Session: Towards an Agile Design Methodology for Efficient, Reliable, and Secure ML Systems18 Apr 2022
- 2022Toward Robust Spiking Neural Network Against Adversarial Perturbation12 Apr 2022
- 2022Fast Adversarial Training with Noise Augmentation: A Unified Perspective on RandStart and GradAlign11 Feb 2022
- 2021Adversarial Attacks on Spiking Convolutional Neural Networks for Event-based Vision6 Oct 2021
- 2021R-SNN: An Analysis and Design Methodology for Robustifying Spiking Neural Networks against Adversarial Attacks through Noise Filters for Dynamic Vision Sensors1 Sep 2021
- 2021DVS-Attacks: Adversarial Attacks on Dynamic Vision Sensors for Spiking Neural Networks1 Jul 2021
- 2021Adversarial Examples Detection with Bayesian Neural Network18 May 2021
- 2022Exploring Temporal Information Dynamics in Spiking Neural Networkscited by 24
- 2021DVS-Attacks: Adversarial Attacks on Dynamic Vision Sensors for Spiking Neural Networkscited by 21
- 2021Adversarial Attacks on Spiking Convolutional Neural Networks for Event-based Visioncited by 14
- 2022Attacking the Spike: On the Transferability and Security of Spiking Neural Networks to Adversarial Examplescited by 13
- 2022Toward Robust Spiking Neural Network Against Adversarial Perturbationcited by 12
- 2023Uncovering the Representation of Spiking Neural Networks Trained with Surrogate Gradientcited by 11
- 2024Enhancing Adversarial Robustness in SNNs with Sparse Gradientscited by 10
- 2021R-SNN: An Analysis and Design Methodology for Robustifying Spiking Neural Networks against Adversarial Attacks through Noise Filters for Dynamic Vision Sensorscited by 9
- 2025Towards Effective and Sparse Adversarial Attack on Spiking Neural Networks via Breaking Invisible Surrogate Gradientscited by 9
- 2022Fast Adversarial Training with Noise Augmentation: A Unified Perspective on RandStart and GradAligncited by 7
- 2023Adversarially Robust Spiking Neural Networks Through Conversioncited by 7
- 2024BrainLeaks: On the Privacy-Preserving Properties of Neuromorphic Architectures against Model Inversion Attackscited by 7
12 most cited of 31 All 31 (JSON)
- 2026Driving up Inference Energy on SNNs: Per-Sample and Universal Sponge Attacks30 Jul 2026
- 2026Fluently Lying: Adversarial Robustness Can Be Substrate-Dependent1 Apr 2026
- 2026Robust Spiking Neural Networks Against Adversarial Attacks24 Feb 2026
- 2026Time Is All It Takes: Spike-Retiming Attacks on Event-Driven Spiking Neural Networks3 Feb 2026
- 2026Emerging Threats and Countermeasures in Neuromorphic Systems: A Survey23 Jan 2026
- 2025Towards Reliable Evaluation of Adversarial Robustness for Spiking Neural Networks27 Dec 2025
- 2025MPD-SGR: Robust Spiking Neural Networks with Membrane Potential Distribution-Driven Surrogate Gradient Regularization15 Nov 2025
- 2025Boosting the Robustness-Accuracy Trade-off of SNNs by Robust Temporal Self-Ensemble15 Aug 2025
- 2025Adversarially Robust Spiking Neural Networks with Sparse Connectivity16 May 2025
- 2025Input-Specific and Universal Adversarial Attack Generation for Spiking Neural Networks in the Spiking Domain7 May 2025
- 2025On the Adversarial Robustness of Spiking Neural Networks Trained by Local Learning11 Apr 2025
- 2025Input-Triggered Hardware Trojan Attack on Spiking Neural Networks20 Mar 2025
12 newest of 31 All 31 (JSON)