[Paper Review] Recognizing Images with at most one Spike per Neuron
This paper introduces AMOS (At Most One Spike) conversion, a novel method to convert artificial neural networks (ANNs) into spiking neural networks (SNNs) by encoding analog activations as single spikes per neuron using delay-based binary coding. The approach achieves 80.97% top-1 accuracy and 95.82% top-5 accuracy on ImageNet, significantly improving SNN performance, latency, and throughput while enabling conversion of non-ReLU gates like Swish, which rate-based methods cannot handle.
In order to port the performance of trained artificial neural networks (ANNs) to spiking neural networks (SNNs), which can be implemented in neuromorphic hardware with a drastically reduced energy consumption, an efficient ANN to SNN conversion is needed. Previous conversion schemes focused on the representation of the analog output of a rectified linear (ReLU) gate in the ANN by the firing rate of a spiking neuron. But this is not possible for other commonly used ANN gates, and it reduces the throughput even for ReLU gates. We introduce a new conversion method where a gate in the ANN, which can basically be of any type, is emulated by a small circuit of spiking neurons, with At Most One Spike (AMOS) per neuron. We show that this AMOS conversion improves the accuracy of SNNs for ImageNet from 74.60% to 80.97%, thereby bringing it within reach of the best available ANN accuracy (85.0%). The Top5 accuracy of SNNs is raised to 95.82%, getting even closer to the best Top5 performance of 97.2% for ANNs. In addition, AMOS conversion improves latency and throughput of spike-based image classification by several orders of magnitude. Hence these results suggest that SNNs provide a viable direction for developing highly energy efficient hardware for AI that combines high performance with versatility of applications.
Motivation & Objective
- To address the performance gap between artificial neural networks (ANNs) and spiking neural networks (SNNs) in image classification.
- To overcome the limitations of rate-based ANN-to-SNN conversion, especially for non-ReLU activation functions like Swish.
- To enable efficient, low-latency, high-throughput SNN inference by replacing analog outputs with single-spike encoding.
- To demonstrate that SNNs can achieve competitive performance with ANNs using a universal conversion method applicable to any activation function.
Proposed method
- The AMOS unit replaces each ANN gate with a small circuit of spiking neurons that encode analog values using at most one spike per neuron.
- It uses fixed delays and weight coefficients to implement a binary-coded representation of the input value, enabling precise and noise-robust encoding.
- The method is based on threshold circuits (McCulloch-Pitts neurons), requiring no temporal integration, thus enabling high-speed pipelined processing.
- For ReLU functions, the AMOS unit reduces to a binary-coded analog-to-digital converter, simplifying implementation.
- The architecture supports pipelining, allowing one image to be processed per time step, achieving ideal throughput.
- For non-ReLU gates like Swish, the AMOS unit parameters are trained end-to-end to approximate the target activation function.
Experimental results
Research questions
- RQ1Can a universal ANN-to-SNN conversion method be developed that works for any activation function, including non-ReLU types like Swish?
- RQ2Can SNNs achieve high accuracy on ImageNet using single-spike encoding per neuron, without relying on rate coding?
- RQ3Does AMOS conversion significantly improve latency and throughput compared to rate-based SNN conversion?
- RQ4Can the AMOS method be applied to modern, complex ANNs such as EfficientNet, which use advanced activation functions?
- RQ5Is there a trade-off between network depth (latency) and size (number of neurons) in AMOS-converted SNNs?
Key findings
- AMOS conversion achieves 80.97% top-1 accuracy on ImageNet 2012, a significant improvement from 74.60% using previous methods.
- Top-5 accuracy reaches 95.82%, approaching the best ANN performance of 97.2%.
- The method enables successful conversion of EfficientNet models using the Swish activation function, which rate-based methods cannot handle.
- Throughput is improved to one image per time step, achieving the theoretical maximum and reducing latency by several orders of magnitude.
- The AMOS unit for ReLU functions reduces to a binary-coded analog-to-digital converter, enabling efficient hardware mapping.
- The method supports pipelined inference, with each spiking neuron occupied for a bounded, predictable number of time steps, enabling reuse and efficient scheduling.
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.