[Paper Review] Hoyer regularizer is all you need for ultra low-latency spiking neural networks
This paper proposes a novel training framework for one-time-step spiking neural networks (SNNs) that uses a Hoyer regularizer to train threshold values dynamically, enabling high-accuracy, ultra-low-latency inference. By setting each layer's threshold as the Hoyer extremum of a clipped activation map and optimizing it via gradient descent with the Hoyer regularizer, the method boosts weight update frequency and shifts membrane potentials away from thresholds, improving convergence and robustness while achieving state-of-the-art accuracy-FLOPs trade-offs.
Spiking Neural networks (SNN) have emerged as an attractive spatio-temporal computing paradigm for a wide range of low-power vision tasks. However, state-of-the-art (SOTA) SNN models either incur multiple time steps which hinder their deployment in real-time use cases or increase the training complexity significantly. To mitigate this concern, we present a training framework (from scratch) for one-time-step SNNs that uses a novel variant of the recently proposed Hoyer regularizer. We estimate the threshold of each SNN layer as the Hoyer extremum of a clipped version of its activation map, where the clipping threshold is trained using gradient descent with our Hoyer regularizer. This approach not only downscales the value of the trainable threshold, thereby emitting a large number of spikes for weight update with a limited number of iterations (due to only one time step) but also shifts the membrane potential values away from the threshold, thereby mitigating the effect of noise that can degrade the SNN accuracy. Our approach outperforms existing spiking, binary, and adder neural networks in terms of the accuracy-FLOPs trade-off for complex image recognition tasks. Downstream experiments on object detection also demonstrate the efficacy of our approach.
Motivation & Objective
- To enable ultra-low-latency spiking neural networks (SNNs) without relying on multi-time-step inference or pre-training.
- To address the challenge of training accurate one-time-step SNNs with limited weight update opportunities due to sparse spike activity.
- To improve convergence and robustness by shifting membrane potential distributions away from thresholds, reducing noise sensitivity.
- To achieve superior accuracy-FLOPs trade-offs compared to existing SNNs, binary neural networks (BNNs), and adder neural networks (AddNNs).
Proposed method
- The threshold for each SNN layer is computed as the Hoyer extremum of a clipped version of its membrane potential tensor.
- The clipping threshold is differentiable and trained via gradient descent using a novel Hoyer regularizer to promote sparsity and stability.
- The Hoyer regularizer is applied to the clipped membrane potential tensor to encourage a balanced distribution of activations, reducing clustering near the threshold.
- The Hoyer spike layer dynamically sets thresholds per layer and input, enabling adaptive, input-dependent spiking behavior.
- The framework trains SNNs from scratch without any DNN pre-training or iterative step reduction, ensuring low training overhead.
- The method enables extreme sparsity (22% spiking activity) and supports 2–6 bit fixed-point accumulations, reducing energy consumption.
Experimental results
Research questions
- RQ1Can a one-time-step SNN achieve state-of-the-art accuracy without multi-time-step inference or pre-training?
- RQ2How can the threshold in SNNs be trained effectively to maximize weight updates in a single time step?
- RQ3Can the Hoyer regularizer improve convergence and robustness by shifting membrane potential distributions away from the threshold?
- RQ4What is the energy and FLOP efficiency of one-time-step SNNs compared to SOTA BNNs and AddNNs?
- RQ5Can the proposed method maintain high accuracy under weight quantization while preserving low spiking activity?
Key findings
- The proposed method achieves 93.44% top-1 accuracy on CIFAR-10 with a VGG16-based SNN, outperforming SOTA one-time-step SNNs and matching or exceeding BNN and AddNN performance.
- The model reduces FLOPs by 5.5× compared to SOTA BNNs and AddNNs, while maintaining similar or higher accuracy.
- Energy consumption is reduced by 24.34–34.21× compared to standard DNNs, with 6-bit quantized models showing only 0.02% accuracy drop.
- The 2-bit quantized SNN maintains 92.34% accuracy on CIFAR-10 with 22% spiking activity, outperforming bi-polar BNNs in both accuracy and energy efficiency.
- On ImageNet, the method achieves 68.00% top-1 accuracy with 14.28 J compute energy, surpassing SOTA BNNs and AddNNs in accuracy while using less than half the energy of some AddNNs.
- The training time is reduced by ~19× compared to SOTA one-time-step SNNs, approaching the speed of non-spiking DNNs.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.