Manuscript Offprint

arXiv:2610.36243

Characterizing Privacy Leakage in Spiking Neural Networks: A Systematic Analysis of Temporal Dynamics, Stochasticity, Neuronal Dynamics and Learning Mechanisms

Ayana Moshruba, Maryam Parsa

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Spiking neural networks (SNNs) encode information not only in whether neurons fire but also in when they fire, and this temporal dimension shapes what a trained network reveals about its training data. Biologically inspired firing patterns can reduce membership leakage in SNNs without any change to the network architecture, which positions temporal dynamics as a design variable for privacy. A change in firing behavior, however, alters stochasticity, spike timing, neuronal response, and the learning problem at once, so harnessing this effect requires identifying which of these properties produces it. This study traces that origin by separating temporal representation, stochasticity, intrinsic neuron dynamics, and learning within a common experimental framework, evaluated under a black-box membership inference attack across image and tabular benchmarks. Varying the temporal representation shows that burst-like firing patterns reduce leakage relative to regular spiking, but at a cost in accuracy. Injecting randomness into the input, the spike timing, and the spike trains does not reproduce this reduction in leakage, which shows that the reduction arises from how spikes are arranged in time rather than from noise. The privacy benefit further depends on where these firing patterns originate. When neurons generate these patterns through their own adaptive dynamics, leakage falls while accuracy is preserved, so privacy no longer comes at the expense of performance. The learning algorithm then sets the baseline level of leakage. Under evolutionary training, the network already exhibits MIA performance close to 0.5, leaving temporal dynamics little room to improve privacy further. Privacy in SNNs is therefore not an inherent property of spikes but a product of how temporal activity is generated, processed, and learned, which offers a principled basis for designing neuromorphic systems that protect sensitive data.

Keywords: spiking neural networks, membership inference attacks, temporal dynamics, neuromorphic privacy, stochasticity, adaptive exponential integrate-and-fire neurons

1 Introduction

The growing use of machine learning in resource-constrained and privacy-sensitive environments has created a need for models that can balance computational efficiency with reliable protection of training data. Neuromorphic computing has received increasing attention in this context because it provides an event-driven alternative to conventional neural computation [1]. Spiking neural networks (SNNs), which form a central computational model within neuromorphic systems, process information through discrete spikes distributed over time. Their temporal mode of computation supports energy-efficient processing and allows information to be represented through both spike occurrence and spike timing. These properties have motivated the use of SNNs in edge intelligence [2], autonomous systems [3, 4], and healthcare [5, 6], where computational efficiency and the local processing of potentially sensitive data can be important.

The privacy characteristics of SNNs have received increasing attention as these models have been considered for applications in which training data may contain sensitive or confidential information. Membership inference attacks (MIAs), which determine whether a particular sample was used during training, have become one of the principal tools for studying such leakage. Initial comparative studies suggested that SNNs can provide stronger resistance to membership inference than conventional Artificial Neural Networks (ANNs) across a range of datasets and learning settings [7]. This observation suggested that the event-driven and temporal nature of spike-based computation may influence how information about individual training samples is retained and exposed by the model.

Subsequent work, however, has shown that this privacy behavior cannot be characterized as a uniform property of SNNs. Membership leakage varies across static and neuromorphic datasets, and in some settings SNNs can be as vulnerable as, or even more vulnerable than, their ANN counterparts [8]. The apparent privacy advantage also changes with simulation latency, which shows that the temporal extent of spike-based computation can directly affect membership inference vulnerability [9]. At the same time, characteristics internal to the training process have been shown to alter the privacy-performance tradeoff. Surrogate-gradient selection and numerical quantization can significantly change membership leakage even when the broader network architecture remains unchanged [7]. These findings suggest that privacy in SNNs is not determined by the use of spikes alone, but by the particular computational and learning mechanisms through which spike-based representations are formed and optimized.

The role of temporal behavior becomes especially important in this context. Recent results have shown that biologically inspired firing patterns such as Poisson Burst and Delayed Burst can produce substantially different membership-inference behavior under the same underlying LIF architecture [10]. These findings suggest that SNN privacy is not a fixed architectural property, but instead depends on how temporal information is represented, processed, and learned. What remains unclear is why these changes in temporal and computational behavior lead to different levels of membership leakage.

Temporal firing patterns provide a particularly useful setting for examining this question because they alter how the same input is represented over time while preserving the broader computational framework of the network. Regular spiking, bursting, and delayed responses differ in spike count, temporal organization, onset characteristics, and degree of stochasticity. These differences can change the information presented to the network without requiring a change in the underlying architecture. Previous observations showed that such changes in temporal representation are accompanied by measurable differences in the privacy-performance tradeoff [10]. However, the observed relationship between firing behavior and privacy does not by itself identify the mechanism responsible for that variation.

The privacy characteristics associated with a given firing pattern may arise from several interacting sources, including stochasticity in spike generation, the temporal organization of the resulting spike trains, the intrinsic dynamics of the neuron model, and the learning process through which network parameters are optimized. Because these factors are closely coupled in SNN computation, changes in privacy cannot be attributed to temporal structure alone without further analysis. This motivates a controlled analysis that isolates stochasticity, neuron dynamics, and learning to determine how each shapes membership leakage and predictive performance.

In this study, we first examine homogeneous and heterogeneous configurations of Rate, Poisson-Burst, and Delayed-Burst dynamics under a common LIF-based network to characterize how tem-poral organization affects the privacy-performance tradeoff. We then examine the role of stochasticity through temporal jitter, input noise, and spike-level noise, with the aim of determining how perturbations introduced at different stages of spike processing affect membership leakage. Next, we study intrinsic neuron dynamics using Adaptive Exponential Integrate-and-Fire neurons and compare privacy across firing behaviors that arise from the neuron model itself. Finally, we examine the influence of learning through gradient-based and evolutionary optimization, along with differentially private training. This progression provides a controlled basis for separating the effects of temporal representation, stochasticity, neuron dynamics, and learning, and for determining how their interaction shapes the privacy-performance behavior of SNNs.

The results show that the privacy behavior of SNNs cannot be attributed to temporal structure or stochasticity alone. Homogeneous and heterogeneous temporal dynamics alter the privacy-performance tradeoff, but increasing randomness through temporal jitter, input noise, or spike-level noise does not produce a consistent privacy gain and often degrades utility instead. Intrinsic neuron dynamics introduce a separate effect, as AdEx neurons reduce membership leakage while preserving or improving classification performance across the evaluated datasets. Learning further conditions the observed privacy behavior, since the same temporal dynamics exhibit different leakage characteristics under gradient-based, evolutionary, and differentially private training. These findings indicate that membership privacy in SNNs emerges from the interaction among temporal organization, stochasticity, neuron dynamics, and learning rather than from any one component in isolation. The contribution of this study is a systematic separation of these factors and an explanation of why biologically inspired temporal dynamics exhibit different privacy characteristics.

References (59)

  • Loihi: A neuromorphic manycore processor with on-chip learning
  • Lead federated neuromorphic learning for wireless edge artificial intelligence
  • Autonomous driving with spiking neural networks
  • Autonomous driving controllers with neuromorphic spiking neural networks
  • Neurocare: A generic neuromorphic edge computing framework for healthcare applications
  • A neuromorphic processing system with spike-driven snn processor for wearable ecg classification
  • Are neuromorphic architectures inherently privacy-preserving? an exploratory study (opens arXiv in a new tab)
  • Membership privacy evaluation in deep spiking neural networks
  • On the privacy risks of spiking neural networks: A membership inference analysis (opens arXiv in a new tab)
  • Izhikevich-inspired temporal dynamics for enhancing privacy, efficiency, and transferability in spiking neural networks
  • Deep learning in spiking neural networks
  • A survey of encoding techniques for signal processing in spiking neural networks
  • Training spiking neural networks using lessons from deep learning
  • Mesoscopic population equations for spiking neural networks with synaptic short-term plasticity
  • Neuromorphic silicon neuron circuits
  • Izhikevich
  • Adaptive exponential integrate-and-fire model as an effective description of neuronal activity
  • Surrogate gradient learning in spiking neural networks: Bringing the power of gradient-based optimization to spiking neural networks
  • A surrogate gradient spiking baseline for speech command recognition
  • Firing patterns in the adaptive exponential integrate-and-fire model
  • Slayer: Spike layer error reassignment in time
  • Evolutionary optimization for neuromorphic systems
  • Evolving ensembles of spiking neural networks for neuromorphic systems
  • Privatesnn: privacy-preserving spiking neural networks
  • Dpsnn: a differentially private spiking neural network (opens arXiv in a new tab)
  • Encrypted-snn: A privacy-preserving method for converting artificial neural networks to spiking neural networks
  • A homomorphic encryption framework for privacy-preserving spiking neural networks
  • Privacy preserving discretized spiking neural network with tfhe
  • Efficient privacy-preserving convolutional spiking neural networks with fhe (opens arXiv in a new tab)
  • Spyking—privacy-preserving framework for spiking neural networks
  • Privspike: A privacy-preserving inference framework for deep spiking neural networks using homomorphic encryption
  • Brainleaks: On the privacy-preserving properties of neuromorphic architectures against model inversion attacks
  • Do spikes protect privacy? investigating black-box model inversion attacks in spiking neural networks
  • On the privacy-preserving properties of spiking neural networks with unique surrogate gradients and quantization levels
  • Encrypted spiking neural networks based on adaptive differential privacy mechanism
  • Relevance-based adaptive differential private spiking neural networks
  • Differentially private spiking neural networks: Enhancing privacy
  • Edge-private spiking graph convolutional learning: Membership inference and structural differential privacy
  • Towards privacy-preserving federated neuromorphic learning via spiking neuron models
  • Privacy in federated learning with spiking neural networks (opens arXiv in a new tab)
  • On the sensitivity of firing rate-based federated spiking neural networks to differential privacy
  • Prispark: Privacy-preserving and communication-efficient federated spiking neural learning via event-sparse adaptive aggregation
  • Membership inference attacks against machine learning models
  • Privacy risk in machine learning: Analyzing the connection to overfitting
  • Systematic evaluation of privacy risks of machine learning models
  • Membership inference attacks from first principles
  • ML-Leaks: Model and data independent membership inference attacks and defenses on machine learning models
  • Comprehensive privacy analysis of deep learning: Passive and active white-box inference attacks against centralized and federated learning
  • Label-only membership inference attacks
  • Gradient-based learning applied to document recognition
  • Fashion-MNIST: a Novel Image Dataset for Benchmarking Machine Learning Algorithms
  • Nuclear feature extraction for breast tumor diagnosis
  • Connors and Michael J. Gutnick
  • Nature Neuroscience, 22(7):1182–1195, 2019
  • Neural heterogeneity promotes robust learning
  • Frontiers in Neuroscience, 16:857513, 2022
  • The tennlab exploratory neuromorphic computing framework
  • Deep learning with differential privacy
  • Opacus: User-friendly differential privacy library in pytorch (opens arXiv in a new tab)