[Paper Review] Hardware Implementation of Spiking Neural Networks Using Time-To-First-Spike Encoding
This paper presents a hardware-efficient spiking neural network (SNN) using time-to-first-spike (TTFS) encoding, where information is encoded in the latency of the first spike. The proposed SNN achieves 96.90% accuracy on MNIST using temporal backpropagation, with a 15.12× power reduction and 5.68× faster inference than rate-encoded SNNs at 256 time steps, validated via SPICE simulation with NOR-type analog memory and a refractory-period-aware neuron circuit.
Hardware-based spiking neural networks (SNNs) are regarded as promising candidates for the cognitive computing system due to low power consumption and highly parallel operation. In this work, we train the SNN in which the firing time carries information using temporal backpropagation. The temporally encoded SNN with 512 hidden neurons showed an accuracy of 96.90% for the MNIST test set. Furthermore, the effect of the device variation on the accuracy in temporally encoded SNN is investigated and compared with that of the rate-encoded network. In a hardware configuration of our SNN, NOR-type analog memory having an asymmetric floating gate is used as a synaptic device. In addition, we propose a neuron circuit including a refractory period generator for temporally encoded SNN. The performance of the 2-layer neural network consisting of synapses and proposed neurons is evaluated through circuit simulation using SPICE. The network with 128 hidden neurons showed an accuracy of 94.9%, a 0.1% reduction compared to that of the system simulation of the MNIST dataset. Finally, the latency and power consumption of each block constituting the temporal network is analyzed and compared with those of the rate-encoded network depending on the total time step. Assuming that the total time step number of the network is 256, the temporal network consumes 15.12 times lower power than the rate-encoded network and can make decisions 5.68 times faster.
Motivation & Objective
- To develop a low-power, high-speed hardware implementation of spiking neural networks (SNNs) for cognitive computing.
- To investigate the robustness of TTFS-encoded SNNs against device variations compared to rate-encoded SNNs.
- To design a custom neuron circuit with a refractory period generator for improved temporal encoding fidelity.
- To evaluate power, latency, and accuracy trade-offs in TTFS-based SNNs using SPICE simulation.
- To demonstrate hardware feasibility using NOR-type analog memory with asymmetric floating gates for synaptic weights.
Proposed method
- The SNN employs temporal backpropagation to train networks where information is encoded in the first spike time of neurons.
- A custom neuron circuit with a refractory period generator is designed to model biological spike timing more accurately.
- Synaptic weights are implemented using NOR-type analog memory with asymmetric floating gates, enabling non-volatile storage and analog weight updates.
- The network is simulated in SPICE using a 2-layer architecture with 128 hidden neurons to evaluate power, latency, and accuracy.
- Performance is benchmarked against rate-encoded SNNs under identical conditions, with total time steps set to 256.
- Device variation effects on network accuracy are quantitatively compared between TTFS and rate-encoded SNNs.
Experimental results
Research questions
- RQ1How does the accuracy of a TTFS-encoded SNN compare to a rate-encoded SNN under the same training and hardware constraints?
- RQ2What is the impact of device variation on the inference accuracy of TTFS-encoded SNNs versus rate-encoded SNNs?
- RQ3To what extent can TTFS-encoded SNNs reduce power consumption and improve inference speed compared to rate-encoded counterparts?
- RQ4How does the inclusion of a refractory period generator in the neuron circuit affect the performance of a TTFS-encoded SNN?
- RQ5Can a hardware-optimized SNN using NOR-type analog memory achieve high accuracy while maintaining low power and high speed?
Key findings
- The TTFS-encoded SNN achieved 96.90% accuracy on the MNIST test set using temporal backpropagation with 512 hidden neurons.
- The hardware-optimized SNN with 128 hidden neurons achieved 94.9% accuracy in SPICE simulation, a 0.1% drop from the system simulation result.
- At 256 time steps, the TTFS network consumed 15.12 times less power than the rate-encoded network.
- The TTFS network made decisions 5.68 times faster than the rate-encoded network under the same time step configuration.
- Device variation had a smaller negative impact on TTFS-encoded SNNs compared to rate-encoded SNNs, indicating improved robustness.
- The proposed neuron circuit with refractory period generation effectively preserved temporal encoding fidelity in hardware simulation.
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.