DVS-Attacks: Adversarial Attacks on Dynamic Vision Sensors for Spiking Neural Networks

Alberto Marchisio, Giacomo Pira, Maurizio Martina, Guido Masera, Muhammad Shafique · DOI

Abstract

Spiking Neural Networks (SNNs), despite being energy-efficient when implemented on neuromorphic hardware and coupled with event-based Dynamic Vision Sensors (DVS), are vulnerable to security threats, such as adversarial attacks—small perturbations added to the input for inducing a misclassification. Toward this, we propose DVS-Attacks, a set of stealthy yet efficient adversarial attack methodologies targeted to perturb the event sequences that compose the input of the SNNs. First, we show that noise filters for DVS can be used as defense mechanisms against adversarial attacks. Afterwards, we implement several attacks and test them in the presence of two types of noise filters for DVS cameras. The experimental results show that the filters can only partially defend the SNNs against our proposed DVS-Attacks. Using the best settings for the noise filters, our proposed Mask Filter-Aware Dash Attack reduces the accuracy by more than 20% on the DVS-Gesture dataset and by more than 65% on the MNIST dataset, compared to the original clean frames.

Introduction: The Vulnerability of Neuromorphic Vision

Spiking Neural Networks (SNNs) paired with event-based cameras (DVS) represent a promising "green" future for computer vision. Unlike traditional AI that processes static frames, SNNs operate on asynchronous "spikes" generated by DVS sensors, which mimic the human retina by reporting only changes in light intensity. This efficiency makes them ideal for low-power edge applications like autonomous drones or medical wearables. However, this unique temporal nature also introduces new security risks. While adversarial attacks on traditional image-based AI are well-studied, event-based vision presents a different challenge: DVS data is a continuous stream of (x, y, time, polarity) events. This paper introduces DVS-Attacks, the first suite of adversarial methodologies specifically designed to exploit the temporal and spatial characteristics of event-based sensors.

Methodology: Designing DVS-Attacks

The researchers developed a comprehensive framework to evaluate the robustness of SNNs against targeted event-stream perturbations. As shown in the overview below, the methodology involves integrating event-based datasets with SNN architectures and evaluating the impact of various noise filters.

Overview of the DVS-Attacks methodology and evaluation framework.

The proposed attacks include:

  • Sparse Attack: A gradient-based method that iteratively selects specific frames in an event sequence to perturb.
  • Frame & Corner Attacks: These add "noise" events to the boundaries or corners of the field of view, disrupting the network's spatial logic.
  • Dash Attack: A stealthier variant of the Corner Attack targeting only two consecutive pixels, making it nearly invisible to the naked eye.
  • MF-Aware Dash Attack: The most sophisticated attack, designed to bypass the Mask Filter (MF). By understanding the filter's threshold for firing frequency, it limits spikes per pixel and moves the "dash" across the frame to remain undetected.

Evaluation and Key Results

The attacks were tested on the DVS-Gesture and NMNIST (Neuromorphic MNIST) datasets. A critical finding is that while standard hardware noise filters like the Background Activity Filter (BAF) and Mask Filter (MF) can offer some protection, they are not foolproof.

Accuracy vs. Noise Magnitude for different filter configurations, illustrating the trade-off between noise reduction and SNN performance.

Key results include:

  • Devastating Impact: Without filters, the Sparse Attack reduced accuracy on DVS-Gesture from 92% to 15% and on NMNIST from 95% to just 4%.
  • Bypassing Defenses: The MF-Aware Dash Attack successfully bypassed optimized filters, dropping accuracy by over 20% on DVS-Gesture and over 65% on NMNIST compared to clean data.
  • Temporal Vulnerability: The effectiveness of these attacks stems from disrupting the SNN's membrane potential at precise moments in time. The study demonstrates that the very filters used to clean DVS data can be systematically bypassed by adversaries who understand the underlying hardware logic.

Conclusion and Future Directions

Currently, these are digital attacks where perturbations are added to the data stream post-capture. Future work will focus on physical-world attacks—such as using LED patterns to fool a camera in real-time—and developing robust "adversarial training" techniques to help SNNs ignore malicious spike patterns during the learning phase.

Summary updated

BibTeX
@inproceedings{marchisio2021dvs,
  author = {Alberto Marchisio and Giacomo Pira and Maurizio Martina and Guido Masera and Muhammad Shafique},
  title = {{DVS-Attacks: Adversarial Attacks on Dynamic Vision Sensors for Spiking Neural Networks}},
  booktitle = {IJCNN},
  year = {2021},
  doi = {10.1109/ijcnn52387.2021.9534364},
}
Figure