Spiking neural networks compute with trains of all-or-nothing pulses ("spikes"), and neuromorphic chips run them cheaply because work happens only when a spike occurs. Existing ways to explain which input spikes drove a spiking network's decision are slow or unreliable. Model-agnostic sampling takes tens of seconds per example. Gradient methods have to replace the spike's step function, whose true derivative is zero almost everywhere, with a smooth stand-in called a surrogate gradient, and then run backpropagation through every time step. That stand-in is chosen arbitrarily, so the explanation partly reflects the choice of curve and not only the network.
We propose to train a small explainer network, once and offline, that outputs a spatio-temporal importance map for any input in a single forward pass. It is supervised only by cheap, noisy, unbiased attribution labels computed from the target network's exact discrete behavior, meaning forward runs with groups of input events switched on or off. No surrogate gradient ever touches the explanation. Surrogate gradients keep a role, but a narrower one: they train the explainer itself, which can be a spiking network. Their bias is harmless there because the supervision target is unbiased.
Core Claim
The claim has two parts and a clear success condition. First, the stochastic amortization result of Covert et al. carries over to spiking models. That paper showed a regression network trained on unbiased noisy Shapley or Banzhaf estimates converges toward the true values; for spiking models this yields single-pass explanations that match many-sample perturbation attributions. Second, this route is more faithful to the deployed discrete network than distilling surrogate-gradient attributions. Surrogate attributions carry a systematic bias that no amount of amortization removes.
The piece that makes this a spiking-specific contribution is how "players" and absence are defined. Following Nguyen et al., who showed that silent inputs carry causal information and that omitting them makes explanations incomplete, each player is a spatio-temporal cell of the event stream. A cell's "off" state is a draw from a reference distribution of event patterns, not a forced zero. A silent cell therefore earns credit when filling it would change the output.
The target is the Banzhaf value of cell $i$:
$$\phi_i(x) = \mathbb{E}_{S \subseteq N \setminus \{i\}}\big[v_x(S \cup \{i\}) - v_x(S)\big].$$
The symbols are defined as follows. $N$ is the set of cells. $S$ is a uniformly random subset of the other cells. $v_x(S)$ is the frozen target network's output logit for its predicted class when the cells in $S$ keep their observed events and all others are resampled from the reference.
The explainer $g_\theta$ is trained by minimizing
$$\mathbb{E}_x \,\big\| g_\theta(x) - \hat\phi(x) \big\|^2,$$
where $\hat\phi(x)$ is a fresh unbiased estimate from a handful of forward runs, regenerated every epoch. By the argument of Covert et al., the minimizer is $\phi$ itself: noise in unbiased labels averages out across training, while bias would not.
Research Program
The target models are spiking networks trained with spatio-temporal backpropagation, the surrogate-gradient training method of Wu et al.. We train them on DVS128 Gesture, N-MNIST and Spiking Heidelberg Digits, at the architectures common in those papers. For DVS128, players are 8×8 spatial patches × 10 time bins, giving 2,560 cells. For audio, players are channel groups × time bins.
Labels come from maximum-sample-reuse Banzhaf estimation using only forward runs of the discrete network, with 8 to 32 subset evaluations per example per epoch. This is cheap on GPU and needs no backward pass through the target.
We build two explainers. One is a conventional convolutional network over binned event tensors. The other is a spiking explainer of matching topology trained with surrogate gradients. The spiking explainer lets us report synaptic-operation counts as a proxy for neuromorphic energy. It is a secondary contribution, and we will drop it if it loses substantially in fidelity.
We run three analyses.
The first isolates surrogate bias. We take a single trained target network and compute the SNN-Grad3D and SNN-IG3D attributions of Bitar et al. under rectangular, sigmoid and Gaussian backward curves. We measure how much they disagree with each other and with high-sample forward Banzhaf values. STBP found training accuracy insensitive to the curve; we ask whether explanations are equally insensitive. Our labels are invariant to the curve by construction.
The second studies absence. On synthetic spiking tasks with planted ground truth, including an OR-style task in the spirit of Nguyen et al. and a task where a class is signalled by a missing burst, we compare two reference choices: zero-fill and data-resampled.
The third studies coding. We follow up Bitar et al.'s observation that time-to-first-spike and Poisson coding give very different attribution maps. On MNIST encoded both ways, we test whether one explainer transfers across codings or must be retrained.
Baselines
The naive reference point is a random ranking of cells and a per-cell spike-count ranking, which marks "important where active." Any method should clearly beat both on deletion curves. The count ranking must lose on the absence tasks.
The main per-instance competitor is SNN-IG3D from Bitar et al.. It is the strongest published spiking-specific attribution method in the file, and the paper reports that deleting its top 5% of spikes causes a drastic accuracy drop compared with random deletion. We run it on the same trained targets, with 20 and 50 path steps and its best surrogate per dataset, chosen on a validation split. We give it the same GPU.
The file reports no numeric fidelity score for SNN-IG3D on DVS128 Gesture or SHD; no reported result was found on Lacuna for this. We will therefore measure it ourselves. The published latency anchors are from Bitar et al. on CIFAR-10: about 26ms for SNN-Grad2D and 50 seconds for LIME. The published amortization anchor is Covert et al.'s 40x speedup over KernelSHAP at comparable error on ImageNette.
The accuracy ceiling is many-sample forward Banzhaf or KernelSHAP on the SNN, at 2,000+ evaluations per example, computed on a held-out subset. It is the method our labels are cheap versions of.
The key ablation is a distilled-surrogate explainer. It uses the same explainer architecture, data and training budget as ours, but is trained to regress SNN-IG3D maps in the style of FastSHAP (FastSHAP). This isolates the one ingredient we claim matters, the unbiased forward-only label. We also include an L2X-style selector (Chen et al.) that learns a Concrete-relaxed mask by backpropagating through the target's surrogate. It represents the "two relaxations compounding" design that our method avoids.
Beating the field has three conditions. We must be at least 20x faster than SNN-IG3D at 20 steps. Our deletion and insertion areas must be better than SNN-IG3D's and within noise of the many-sample ceiling. Our rank correlation with the ceiling must be significantly higher than the distilled-surrogate ablation's, across three seeds.
Why not just…?
Why not just run SNN-Grad per instance, since it already takes about 26ms? Speed over vanilla gradients is not our claim. The claim is fidelity to the discrete network at gradient-like speed. Plain surrogate saliency inherits whatever the backward curve distorts, which is Bitar et al.'s own caveat. The surrogate-bias analysis shows directly whether its agreement with the forward ceiling is poor. If SNN-Grad turns out to agree with the ceiling as well as we do, the fidelity motivation collapses, and we will report that.
Why not just distill SNN-IG3D maps into a student network? This is the most serious alternative, because it gets the same single-pass speed. Its supervision, however, is a biased estimate of a different quantity. Covert et al.'s convergence argument requires unbiased labels, so a distilled student can at best reproduce IG3D's errors. The distilled-surrogate ablation settles this under matched budgets. If it ties with our method, the conclusion is that surrogate bias is negligible for explanation, and the proposal reduces to a speed paper.
Why not just collapse spike trains to rates and use an off-the-shelf amortized explainer? STBP showed that spatial-only credit assignment loses substantially to spatio-temporal credit assignment. Nguyen et al. showed that leaky-integration decay and silence matter for contribution scores. We include a rate-map explainer trained on the same forward labels summed over time. We expect it to fail on the timing-coded and missing-burst tasks and on time-to-first-spike MNIST. If it matches on DVS128 and SHD, those benchmarks are effectively rate-coded, which is itself worth reporting.
Why not just use KernelSHAP on the SNN? It is our ceiling, not a competitor. At 50 seconds per explanation for LIME-class sampling in Bitar et al., it cannot run in deployment.
Decisive Checks
The first decisive check is the three-way comparison of forward-label explainer, distilled-surrogate explainer, and SNN-IG3D on DVS128 Gesture and SHD. It is scored by Spearman correlation with the many-sample Banzhaf ceiling and by deletion-curve area measured on the exact discrete network, with wall-clock latency recorded for all three. Our method should match the ceiling more closely than the distilled explainer, and run an order of magnitude faster than IG3D.
The second is the planted-silence tasks. Only data-resampled references should recover the true absent-burst cells, where zero-fill references should fail. This confirms that the explainer captures silence, not only activity.
The third is the surrogate-swap test. SNN-IG3D maps on a fixed network should change measurably when only the backward curve changes, while our explainer's output does not change at all. If surrogate-swapped IG3D maps agree with each other and with the ceiling to within seed noise, we will narrow the paper to the amortization and energy result and say so plainly.
References
- Stochastic Amortization: A Unified Approach to Accelerate Feature and Data Attribution
- Feature Attribution Explanations for Spiking Neural Networks
- Spatio-Temporal Backpropagation for Training High-Performance Spiking Neural Networks
- Gradient-based feature-attribution explainability methods for spiking neural networks
- FastSHAP: Real-Time Shapley Value Estimation
- Learning to Explain: An Information-Theoretic Perspective on Model Interpretation