From Hidden Spikes to Whole-Network Savings: Regularization versus Threshold Scaling in a Spiking Neural Network
Submitted to the Stanford Undergraduate Research Journal.
Abstract
Suppressing hidden spikes need not substantially reduce the synaptic activity of a whole network. We compare hidden-spike regularization during training with uniform hidden-threshold scaling after training in a rate-encoded Fashion-MNIST network. An original weak-penalty primary comparison was inconclusive for total effective synaptic operations (SynOps). We then fixed a stronger-penalty primary comparison before training 20 new models: two simulation windows, two penalties, and five paired training seeds. Three input encodings were averaged within each seed. At 16 steps, regularization reduced total SynOps by 3.449% (95% paired interval 3.150–3.748%) and changed accuracy by +0.046 percentage points (−0.437 to +0.529), meeting the declared one-point accuracy criterion. Hidden-output SynOps fell by 43.585%. Against the validation-selected threshold policy, regularization achieved 1.024 points higher accuracy (0.444–1.604) and 2.742% fewer total SynOps (2.428–3.056%). Unchanged input events impose an accounting ceiling averaging 7.939% total savings at 16 steps, even if hidden-output operations vanished. The results support regularization under this architecture and training budget; five seeds and dependence on the interval model limit statistical confidence. They do not establish hardware energy savings or generalization to another benchmark.
Key contributions
- Controlled empirical comparison on a 784–128–64–10 leaky integrate-and-fire SNN trained on Fashion-MNIST across five paired training seeds and three stochastic encodings per seed.
- Layer-by-layer effective synaptic operation (SynOps) accounting separating input-to-hidden operations from hidden-output operations.
- Accounting ceiling derivation showing unchanged dense 784-dimensional Bernoulli input events cap whole-network savings at an average of 7.939% at 16 simulation steps.
- Full reproduction script and archived numerical summaries released in the open-source snn-study repository.
Reported results
| Comparison | Accuracy change (pp) | Total SynOps reduction (%) | Hidden-output SynOps reduction (%) |
|---|---|---|---|
| Regularization (λ = 1) vs. baseline | +0.046 [−0.437, 0.529] | 3.449 [3.150, 3.748] | 43.585 [38.159, 49.011] |
| Regularization (λ = 1) vs. threshold scaling (a = 1.35) | +1.024 [0.444, 1.604] | 2.742 [2.428, 3.056] | 37.903 [31.950, 43.856] |