[Paper Review] Visual Explanations from Spiking Neural Networks using Interspike Intervals
This paper proposes Spike Activation Map (SAM), a bio-plausible visualization method for Spiking Neural Networks (SNNs) that explains internal spike activity without backpropagation or class labels. By leveraging inter-spike intervals (ISIs) and a temporal spike contribution score with an exponential kernel, SAM generates attention maps highlighting discriminative image regions through forward propagation, demonstrating robustness to adversarial attacks and sensory suppression behavior.
Spiking Neural Networks (SNNs) compute and communicate with asynchronous binary temporal events that can lead to significant energy savings with neuromorphic hardware. Recent algorithmic efforts on training SNNs have shown competitive performance on a variety of classification tasks. However, a visualization tool for analysing and explaining the internal spike behavior of such temporal deep SNNs has not been explored. In this paper, we propose a new concept of bio-plausible visualization for SNNs, called Spike Activation Map (SAM). The proposed SAM circumvents the non-differentiable characteristic of spiking neurons by eliminating the need for calculating gradients to obtain visual explanations. Instead, SAM calculates a temporal visualization map by forward propagating input spikes over different time-steps. SAM yields an attention map corresponding to each time-step of input data by highlighting neurons with short inter-spike interval activity. Interestingly, without both the backpropagation process and the class label, SAM highlights the discriminative region of the image while capturing fine-grained details. With SAM, for the first time, we provide a comprehensive analysis on how internal spikes work in various SNN training configurations depending on optimization types, leak behavior, as well as when faced with adversarial examples.
Motivation & Objective
- To address the lack of explainability tools for Spiking Neural Networks (SNNs), which are increasingly deployed in low-power applications.
- To develop a visualization method that does not rely on backpropagation or class labels, overcoming the non-differentiability of spiking neurons.
- To analyze how internal spike dynamics vary across different SNN training configurations, including surrogate gradient and conversion-based methods.
- To evaluate the robustness of SNNs and their explanations under adversarial attacks and multi-object stimuli.
Proposed method
- SAM computes a Neuronal Contribution Score (NCS) based on the temporal spike history of each neuron, using an exponential kernel to emphasize short inter-spike intervals (ISIs).
- The Temporal Spike Contribution Score (TSCS) assigns higher values to spikes occurring within a short time window, reflecting higher information content.
- NCS is aggregated across channels to generate a 2D spatial heatmap representing the attention map for each time-step.
- The method operates solely through forward propagation, eliminating the need for gradients or backpropagation.
- SAM is applied across multiple SNN architectures (e.g., VGG11) and training methods, including surrogate gradient and ANN-SNN conversion.
- The approach is validated using Tiny-ImageNet and adversarial attacks (FGSM), with comparisons to Grad-CAM.
Experimental results
Research questions
- RQ1How can we visualize the internal spike activity of SNNs without relying on backpropagation or class labels?
- RQ2How do different SNN training methods (e.g., surrogate gradient vs. conversion) affect spike dynamics and explainability?
- RQ3What is the impact of hyperparameters like leak factor (λ) and kernel steepness (γ) on visualization quality and localization accuracy?
- RQ4How does SAM perform under adversarial attacks compared to traditional visualization tools like Grad-CAM?
- RQ5Do SNNs exhibit bio-plausible behaviors such as sensory suppression, and can SAM reveal them?
Key findings
- SAM achieves low localization error (0.97) with high leak factor (λ=0.9), indicating that sufficient memory retention in neurons improves visualization quality.
- Low leak values (λ=0.7) cause drastic accuracy drops (from 56.57% to 47.53%) and poor visualization due to excessive forgetting of membrane potential.
- Optimal γ values (e.g., 0.5) minimize localization error; both γ=0 (no filtering) and γ=1.0 (overly short window) degrade performance.
- SAM maintains consistent attention maps under FGSM attacks, while Grad-CAM shows large changes, indicating superior robustness of SNN explanations.
- SNNs trained with surrogate gradient methods exhibit sensory suppression, where neurons shift focus from multiple objects to a single dominant object over time, as revealed by SAM.
- SAM successfully highlights discriminative image regions without any class label or gradient computation, demonstrating label-free interpretability.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.