NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Random Spiking Neural Networks are Stable and Spectrally Simple

Ernesto Araya, Massimiliano Datres, Gitta Kutyniok

TL;DR

This paper provides a novel theoretical foundation for Spiking Neural Networks (SNNs) by analyzing them through the lens of Boolean function analysis. The authors prove that wide, randomly initialized Leaky Integrate-and-Fire (LIF) SNNs are inherently stable against input noise and possess a "spectral simplicity bias" that favors low-frequency functions. Furthermore, empirical experiments demonstrate that training these networks on real-world data enhances their stability even further.

What Problem Does This Paper Address?

Spiking Neural Networks (SNNs) are highly celebrated for their energy efficiency, operating via discrete, event-driven "spikes" much like the biological brain. This makes them ideal for low-power neuromorphic hardware. However, compared to classical Artificial Neural Networks (ANNs), SNNs lack a rigorous theoretical foundation.

Because SNNs rely on hard thresholding functions (a neuron either fires a spike or it doesn't), their mathematical dynamics are discontinuous and non-linear. This makes standard continuous optimization and stability analysis tools difficult to apply. The authors address this critical gap by investigating the average-case stability and robustness of discrete-time LIF SNNs under input perturbations.

Methods

Instead of trying to smooth out the discontinuous nature of SNNs, the authors embrace it by using Boolean function analysis. Since a spiking neuron outputs binary events (represented as $\{-1, 1\}$), an SNN can be mathematically treated as an iterative composition of Boolean functions.

The key techniques include:

  1. Noise Sensitivity Analysis: Quantifying the probability that flipping a random subset of input bits changes the network's final classification output.
  2. Fourier-Walsh Expansion: Decomposing the Boolean network into a spectrum of frequencies.
  3. Spectral Simplicity: A new concept introduced by the authors to measure how much of a network's Fourier spectrum concentrates on low-degree (low-frequency) components.

The authors derive quantitative bounds on the noise sensitivity for both single sLIF (signed Leaky Integrate-and-Fire) neurons and multi-layer SNN architectures at random initialization.

Datasets

While the core mathematical proofs assume a uniform distribution of binary inputs on a hypercube, the authors validate their findings empirically using two standard image classification benchmarks:

  • MNIST (static images encoded as constant spike inputs over time)
  • CIFAR-10

Key Insights and Ideas

  • SNNs as Boolean Circuits: Framing threshold-based neural dynamics as Boolean functions allows researchers to bypass the lack of derivatives and leverage powerful tools from theoretical computer science.
  • Intrinsic Simplicity Bias: Randomly initialized SNNs naturally prefer "simple" functions. Their Fourier weight is predominantly concentrated on low frequencies, meaning they are structurally disinclined to fit high-frequency noise.
  • Average-Case Stability: While worst-case adversarial attacks can still disrupt SNNs, wide random networks are remarkably stable on average. For an input sequence of size $n$, perturbations up to $O(\sqrt{n})$ coordinates are highly unlikely to alter the network's classification decision.

Key Results

  • Theoretical Robustness: The authors mathematically prove that for an $L$-layer wide sLIF SNN classifier, the output remains stable against random input noise with high probability as the network width $n$ grows.
  • Empirical Validation of Bounds: Monte Carlo simulations of single neurons and 5-layer networks confirm that the derived theoretical formulas successfully act as upper bounds for actual noise sensitivity.
Figure 1: Noise sensitivity ENS1/√n for different input dimensions n for sIF and IF neurons with θ = 0.5 and T = 10. (a) sIF neuron (log-scale x-axis); dashed line: scaled bound from Theorem 1. (b) IF neuron (log-scale x-axis); dashed line: scaled bound from Theorem 1.
Figure 2: Noise sensitivity ENS1/√n for different input dimensions n for 5-layers sIF and IF neural networks with θ = 0.5 and T = 10. (a) sIF neuron (log-scale x-axis); (b) IF neuron (log-scale x- axis).
  • Training Enhances Stability: When a 3-layer SNN is trained using surrogate gradients, its noise sensitivity drops significantly. On MNIST (achieving 98% training accuracy) and CIFAR-10 (achieving 84.38% training accuracy), the trained models proved to be substantially more noise-stable than their randomly initialized counterparts.

Limitations and Future Work

  • Dependence on Large Widths: The theoretical proofs rely heavily on concentration of measure, meaning the guarantees are only proven to hold for sufficiently "wide" networks. The behavior of narrow SNNs remains an open question.
  • Simplified Leakage Dynamics: To make the proofs tractable, the core mathematical derivations assume no leakage ($\beta = 1$), effectively reducing the model to an Integrate-and-Fire (IF) network, though empirical results suggest the findings still hold well for leaky variants ($\beta = 0.5$).
  • Uniform Input Assumption: The Fourier analysis assumes uniform input distributions, which do not perfectly mirror the complex, highly correlated structures found in real-world data.

Future work includes extending these proofs to fully recurrent SNN architectures and formally proving how training dynamics mathematically interact with spectral simplicity.

Summary updated

BibTeX
@inproceedings{araya2026random,
  author = {Ernesto Araya and Massimiliano Datres and Gitta Kutyniok},
  title = {{Random Spiking Neural Networks are Stable and Spectrally Simple}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=Ochp5HHp46},
}
Figure