Input-Specific and Universal Adversarial Attack Generation for Spiking Neural Networks in the Spiking Domain

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Raptis, Spyridon, Stratigopoulos, Haralampos-G.
Format: Preprint
Publié: 2025
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866909606284886016
author Raptis, Spyridon
Stratigopoulos, Haralampos-G.
author_facet Raptis, Spyridon
Stratigopoulos, Haralampos-G.
contents As Spiking Neural Networks (SNNs) gain traction across various applications, understanding their security vulnerabilities becomes increasingly important. In this work, we focus on the adversarial attacks, which is perhaps the most concerning threat. An adversarial attack aims at finding a subtle input perturbation to fool the network's decision-making. We propose two novel adversarial attack algorithms for SNNs: an input-specific attack that crafts adversarial samples from specific dataset inputs and a universal attack that generates a reusable patch capable of inducing misclassification across most inputs, thus offering practical feasibility for real-time deployment. The algorithms are gradient-based operating in the spiking domain proving to be effective across different evaluation metrics, such as adversarial accuracy, stealthiness, and generation time. Experimental results on two widely used neuromorphic vision datasets, NMNIST and IBM DVS Gesture, show that our proposed attacks surpass in all metrics all existing state-of-the-art methods. Additionally, we present the first demonstration of adversarial attack generation in the sound domain using the SHD dataset.
format Preprint
id arxiv_https___arxiv_org_abs_2505_06299
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Input-Specific and Universal Adversarial Attack Generation for Spiking Neural Networks in the Spiking Domain
Raptis, Spyridon
Stratigopoulos, Haralampos-G.
Cryptography and Security
Artificial Intelligence
Machine Learning
As Spiking Neural Networks (SNNs) gain traction across various applications, understanding their security vulnerabilities becomes increasingly important. In this work, we focus on the adversarial attacks, which is perhaps the most concerning threat. An adversarial attack aims at finding a subtle input perturbation to fool the network's decision-making. We propose two novel adversarial attack algorithms for SNNs: an input-specific attack that crafts adversarial samples from specific dataset inputs and a universal attack that generates a reusable patch capable of inducing misclassification across most inputs, thus offering practical feasibility for real-time deployment. The algorithms are gradient-based operating in the spiking domain proving to be effective across different evaluation metrics, such as adversarial accuracy, stealthiness, and generation time. Experimental results on two widely used neuromorphic vision datasets, NMNIST and IBM DVS Gesture, show that our proposed attacks surpass in all metrics all existing state-of-the-art methods. Additionally, we present the first demonstration of adversarial attack generation in the sound domain using the SHD dataset.
title Input-Specific and Universal Adversarial Attack Generation for Spiking Neural Networks in the Spiking Domain
topic Cryptography and Security
Artificial Intelligence
Machine Learning
url https://arxiv.org/abs/2505.06299