Rouser: Robust SNN training using adaptive threshold learning

Sanaz Mahmoodi Takaghaj, Jack Sampson · DOI

Introduction

Spiking Neural Networks (SNNs) represent a promising frontier in neuromorphic engineering, offering an energy-efficient, event-driven alternative to traditional Deep Neural Networks (DNNs). By mimicking the biological brain's sparse communication through discrete spikes, SNNs are ideal for low-power edge computing. However, training these networks remains a significant challenge due to the non-differentiable nature of spiking functions and the sensitivity of neurons to their firing thresholds.

The Challenge of Static Thresholds

In a standard Leaky Integrate-and-Fire (LIF) neuron model, a spike is generated only when the internal membrane potential reaches a specific threshold ($Th$). Traditionally, this threshold is treated as a static hyperparameter. If set too high, neurons fail to fire, becoming "dead neurons" that cannot contribute to learning because gradients in SNNs are typically tied to spiking activity. Conversely, a threshold set too low can lead to excessive firing and loss of energy efficiency. Finding the optimal static threshold currently requires exhaustive and time-consuming grid searches for every new dataset.

The Rouser Methodology

The authors propose Rouser, a training framework that transforms the spiking threshold from a fixed hyperparameter into a trainable parameter. By integrating threshold learning directly into the backpropagation loop, the network can dynamically adjust its internal firing requirements alongside synaptic weights.

Key components of the Rouser approach include:

  1. Adaptive Threshold Learning: Thresholds ($Th$) are updated for every individual neuron to minimize the global loss function.
  2. Surrogate Gradients: To overcome the non-differentiable "step" function of spiking, an exponential surrogate gradient is used to approximate derivatives during training.
  3. Framework Integration: The method was implemented by extending the SLAYER (Spike Layer Error Reassignment) framework within the Lava-DL library, ensuring compatibility with modern neuromorphic development tools.

Results: Rousing the Dead

The most striking impact of Rouser is its ability to eliminate the dead neuron problem. In baseline models with static thresholds, a large percentage of neurons often remain inactive throughout the entire training process, effectively wasting network capacity.

Percentage of dead neurons in each layer using the Rouser method across training epochs.

As shown in the experimental data, Rouser dynamically lowers thresholds early in training to "wake up" inactive neurons. In Layer 2, for instance, the percentage of dead neurons drops to 0% within the first ten epochs, while Layer 1 sees a significant reduction from 68% to 27% by epoch 20. This dynamic adjustment ensures that a much larger portion of the network participates in the learning process.

Accelerated Learning Dynamics

By maintaining higher levels of neural activity, Rouser facilitates a more robust flow of gradients through the network. This leads to more frequent and meaningful updates to synaptic weights, significantly accelerating convergence.

Normalized weight updates over training epochs, comparing the Rouser method to the baseline.

The researchers observed a 30% reduction in the number of epochs required to reach peak accuracy. Furthermore, Rouser demonstrated superior robustness to initialization; in the challenging Spiking Heidelberg Digits (SHD) audio dataset, the Rouser model achieved 78.14% accuracy, whereas the baseline model with a static threshold failed to converge entirely.

Additional performance gains were noted across other spatiotemporal benchmarks:

  • NMNIST: Reached 99.21% accuracy (surpassing the 98.89% baseline).
  • DVS128: Reached 86.46% accuracy (surpassing the 84.72% baseline).

Conclusion

Rouser effectively addresses the "to spike or not to spike" dilemma by making the spiking threshold an adaptive part of the learning process. By eliminating dead neurons and speeding up convergence, it provides a more robust and automated path for training SNNs on complex spatiotemporal data. Future work will involve testing Rouser on deeper convolutional architectures and implementing these adaptive rules directly on neuromorphic hardware like Intel’s Loihi to further validate its energy-efficiency benefits.

Summary updated

BibTeX
@inproceedings{takaghaj2025rouser,
  author = {Sanaz Mahmoodi Takaghaj and Jack Sampson},
  title = {{Rouser: Robust SNN training using adaptive threshold learning}},
  booktitle = {AICAS},
  year = {2025},
  doi = {10.1109/aicas64808.2025.11173153},
}
Figure