TL;DR
While Spiking Neural Networks (SNNs) have often been assumed to be naturally privacy-preserving due to their discrete, spike-based outputs, this paper demonstrates that their resilience to Membership Inference Attacks (MIAs) quickly degrades as temporal latency ($T$) increases. By introducing a black-box input dropout strategy that amplifies the confidence gap between training members and non-members, the authors show that SNNs suffer from privacy vulnerabilities comparable to standard Artificial Neural Networks (ANNs).
What Problem Does This Paper Address?
Membership Inference Attacks (MIAs) attempt to determine whether a particular data sample was included in a target model's training set—a major privacy threat in sensitive domains like healthcare and biometric authentication. Prior work suggested that SNNs, which communicate via sparse, discrete binary spikes rather than continuous values, might possess inherent defense against MIAs.
However, the authors identify significant gaps in earlier assessments:
- Past studies relied on coarse evaluation metrics like balanced accuracy rather than gold-standard metrics such as ROC curves and True Positive Rate (TPR) at very low False Positive Rates (e.g., FPR $\le 0.1\%$).
- SNN evaluations frequently overlooked modern, robust MIA techniques (such as RMIA).
- The relationship between an SNN's temporal latency ($T$) and its privacy leakage had not been systematically studied.
This paper tackles the central question: Are SNNs truly more private than ANNs, or does their apparent robustness dissolve under rigorous scrutiny?
Methods
The authors adopt and adapt state-of-the-art MIA formulations—specifically Attack-P (pure confidence), Attack-R (reference-model comparison), and RMIA (Robust MIA):
- Order-Preserving Attack Reformulation: The authors analytically prove (Theorems 1 & 2) that reference-sample comparisons can be simplified to direct model confidence rankings without altering ROC curves, dramatically cutting computational complexity while remaining mathematically equivalent to online RMIA.
- Offline Reference Model Splitting: They partition datasets symmetrically so that each sample appears in approximately half of the reference shadow models, enabling unbiased reference-based auditing without repeatedly retraining models from scratch.
- Black-Box Input Dropout: In low-latency SNNs, member and non-member prediction distributions overlap heavily. Because Monte Carlo (MC) Dropout requires internal parameter access (infeasible in black-box settings), the authors approximate it by applying random Bernoulli masking directly to the input across $N$ passes and computing the average softmax confidence: $$\operatorname{Pr}(X \mid \theta) = \frac{1}{N} \sum_{i=1}^{N} \operatorname{Pr}(\tilde{X}_i \mid \theta)$$ Because the model is more certain about familiar in-distribution training samples, non-member confidences degrade significantly faster under random input perturbations, widening the margin between members and non-members.
Datasets
The study evaluates image classification on two benchmark datasets:
- CIFAR-10 (10 classes, standard lower-complexity baseline)
- CIFAR-100 (100 classes, higher complexity and diversity)
Target models utilize a ResNet-18 architecture, trained via hybrid ANN-to-SNN conversion across latencies $T \in \{1, 2, 4\}$, as well as direct SNN backpropagation at $T = 4$.
Key Insights and Ideas
- The Privacy–Accuracy Latency Trade-off: At $T=1$, each neuron outputs a single binary spike per forward pass, severely constraining network expressiveness. This squashes prediction confidence into overlapping buckets, providing "accidental" privacy at the cost of classification accuracy. As temporal latency $T$ increases ($T=2, 4$), the temporal code carries fine-grained continuous information, recovering accuracy but steadily reopening membership leakage to near-ANN levels.
- Input Perturbation as an Uncertainty Probe: Low-latency SNNs obscure membership signals under standard inference. Input dropout exposes epistemic uncertainty: perturbing inputs causes non-member confidences to drop disproportionately compared to member confidences.
- Cross-Architecture Asymmetry: An attacker using an ANN as a shadow reference model to attack an SNN achieves substantially lower success than an architecture-matched attack, because ANN and SNN confidence distributions differ substantially. However, as SNN latency $T$ grows, its confidence behavior increasingly mirrors the ANN, easing transfer attacks.
Key Results
Experiments on ResNet-18 demonstrate that SNN privacy degrades with higher latency and collapses further when subjected to input dropout:
- Latency vs. Privacy (CIFAR-100, RMIA without dropout):
- SNN ($T=1$): AUC = 69.06%, TPR @ 1% FPR = 6.29%
- SNN ($T=2$): AUC = 72.81%, TPR @ 1% FPR = 8.24%
- SNN ($T=4$): AUC = 77.57%, TPR @ 1% FPR = 12.01%
- Standard ANN baseline: AUC = 82.51%, TPR @ 1% FPR = 20.25%
- Boost from Input Dropout (CIFAR-100, RMIA):
- For $T=1$, input dropout raises the attack AUC from 69.06% to 75.82%, nearly doubling TPR @ 1% FPR (6.29% $\to$ 11.14%).
- For $T=4$, AUC jumps to 80.76%, with TPR @ 1% FPR reaching 16.16%—very close to the unhardened ANN.
- Directly-Trained SNNs: Similar vulnerabilities appear in directly trained SNNs at $T=4$ (e.g., on CIFAR-10, input dropout elevates RMIA AUC from 63.85% to 67.58%, and TPR @ 1% FPR from 5.76% to 8.86%).
Limitations and Future Work
- Dataset Diversity: Experiments focus on static image classification benchmarks (CIFAR-10/100) converted via temporal coding; evaluating naturally event-driven neuromorphic datasets (e.g., DVS-Gesture, N-MNIST) remains an important next step.
- Model Architectures: The analysis centers entirely on ResNet-18; exploring broader vision architectures (e.g., Spiking Transformers, VGG) would further solidify generality.
- Defenses: The paper demonstrates that SNNs do not offer automatic privacy, but does not propose or benchmark targeted defenses (such as differential privacy during spike training or output quantization defense mechanisms).
Summary updated