BadSNN: Backdoor Attacks on Spiking Neural Networks via Adversarial Spiking Neuron

Abdullah Arafat Miah, Kevin Vu, Yu Bi
2/6/2026
cs.CRcs.AI

Official code: SiSL-URI/BadSNN (1 star, last commit 2026-02-06).

Abstract

Spiking Neural Networks (SNNs) are energy-efficient counterparts of Deep Neural Networks (DNNs) with high biological plausibility, as information is transmitted through temporal spiking patterns. The core element of an SNN is the spiking neuron, which converts input data into spikes following the Leaky Integrate-and-Fire (LIF) neuron model. This model includes several important hyperparameters, such as the membrane potential threshold and membrane time constant. Both the DNNs and SNNs have proven to be exploitable by backdoor attacks, where an adversary can poison the training dataset with malicious triggers and force the model to behave in an attacker-defined manner. Yet, how an adversary can exploit the unique characteristics of SNNs for backdoor attacks remains underexplored. In this paper, we propose \textit{BadSNN}, a novel backdoor attack on spiking neural networks that exploits hyperparameter variations of spiking neurons to inject backdoor behavior into the model. We further propose a trigger optimization process to achieve better attack performance while making trigger patterns less perceptible. \textit{BadSNN} demonstrates superior attack performance on various datasets and architectures, as well as compared with state-of-the-art data poisoning-based backdoor attacks and robustness against common backdoor mitigation techniques. Codes can be found at https://github.com/SiSL-URI/BadSNN.

View on arXivView PDF

Code Implementations(1)

SiSL-URI/BadSNNOfficial100%
10Feb 6, 20268 months ago

Similar Papers

Cite this paper

@article{miah2026badsnn,
  title  = {BadSNN: Backdoor Attacks on Spiking Neural Networks via Adversarial Spiking Neuron},
  author = {Abdullah Arafat Miah and Kevin Vu and Yu Bi},
  year   = {2026},
  eprint = {2602.07200},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2602.07200v1}
}

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

Discussion