Causal pieces: analysing and improving spiking neural networks piece by piece
Abstract
We introduce "causal pieces", a novel concept for analysing spiking neural networks (SNNs), inspired by "linear pieces" used to study expressivity and trainability in artificial neural networks (ANNs). Causal pieces partition the input and parameter space of a feedforward SNN with single-spike coding into distinct regions where the same subnetwork causes the output spikes. For networks of current-based leaky integrate-and-fire (LIF) neurons with large membrane time constants, we show that within each causal piece, output spike times are locally Lipschitz continuous with respect to inputs and network parameters. We further prove a lower bound on the approximation error that depends on the number of causal pieces. Thus, the number of causal pieces is a measure of the approximation capabilities of SNNs, which is valid despite spike-time discontinuities and applies to networks with both excitatory and inhibitory synapses. Empirically, we find that parameter initialisations yielding more causal pieces on the training set strongly correlate with SNN training success across multiple benchmarks, including Yin-Yang, Fashion-MNIST, and EuroSAT. Moreover, simulations with standard single-spike LIF neurons indicate that our findings extend beyond the theoretically analysed regime. These results establish causal pieces as a powerful and principled tool for analysing and improving the computational capabilities of SNNs.
Figures & tables
| Defined | Causal sets, subnetworks, and pieces for feedforward, single-spike SNNs, calculated from connectivity and observed spike times. The definitions are not specific to nLIF dynamics and apply unchanged to standard LIF neurons. |
|---|---|
| Proved | Theorem 1 , local Lipschitz continuity within pieces ( Theorem 3 , and counting results for feedforward nLIF networks. The limited multi-spike extension follows through the cited transference principle. |
| Empirically supported | Correlation results for single-spike nLIF and finite-time-constant LIF networks trained with exact spike-time gradients on the three reported static classification benchmarks, including signed- and positive-weight neural networks. |
| Not established here | Arbitrary multi-spike dynamics, surrogate-gradient training, and recurrent neural networks. |
Appendix figures & tables5 assets
Supplementary material from the paper’s appendix.
Appendix
| Model / Dataset | Feature set | SSR |
|---|---|---|
| nLIF on Yin-Yang | Active fraction only | 5.17 |
| nLIF on Yin-Yang | Log initial piece count only | 2.95 |
| nLIF on Yin-Yang | Active fraction + log initial piece count | 2.63 |
| LIF on Yin-Yang | Active fraction only | 3.90 |
| LIF on Yin-Yang | Log initial piece count only | 1.17 |
| LIF on Yin-Yang | Active fraction + log initial piece count | 1.10 |