Parallel Spiking Neurons with High Efficiency and Ability to Learn Long-term Dependencies

04/25/2023
by   Wei Fang, et al.
0

Vanilla spiking neurons in Spiking Neural Networks (SNNs) use charge-fire-reset neuronal dynamics, which can only be simulated serially and can hardly learn long-time dependencies. We find that when removing reset, the neuronal dynamics can be reformulated in a non-iterative form and parallelized. By rewriting neuronal dynamics without reset to a general formulation, we propose the Parallel Spiking Neuron (PSN), which generates hidden states that are independent of their predecessors, resulting in parallelizable neuronal dynamics and extremely high simulation speed. The weights of inputs in the PSN are fully connected, which maximizes the utilization of temporal information. To avoid the use of future inputs for step-by-step inference, the weights of the PSN can be masked, resulting in the masked PSN. By sharing weights across time-steps based on the masked PSN, the sliding PSN is proposed to handle sequences of varying lengths. We evaluate the PSN family on simulation speed and temporal/static data classification, and the results show the overwhelming advantage of the PSN family in efficiency and accuracy. To the best of our knowledge, this is the first study about parallelizing spiking neurons and can be a cornerstone for the spiking deep learning research. Our codes are available at <https://github.com/fangwei123456/Parallel-Spiking-Neuron>.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
10/25/2022

GLIF: A Unified Gated Leaky Integrate-and-Fire Neuron for Spiking Neural Networks

Spiking Neural Networks (SNNs) have been studied over decades to incorpo...
research
07/11/2022

A Macrocolumn Architecture Implemented with Temporal (Spiking) Neurons

With the long-term goal of reverse-architecting the computational brain ...
research
11/26/2022

Exploring Temporal Information Dynamics in Spiking Neural Networks

Most existing Spiking Neural Network (SNN) works state that SNNs may uti...
research
12/14/2020

Constraints on Hebbian and STDP learned weights of a spiking neuron

We analyse mathematically the constraints on weights resulting from Hebb...
research
08/25/2023

TC-LIF: A Two-Compartment Spiking Neuron Model for Long-term Sequential Modelling

The identification of sensory cues associated with potential opportuniti...
research
06/28/2022

Short-Term Plasticity Neurons Learning to Learn and Forget

Short-term plasticity (STP) is a mechanism that stores decaying memories...
research
06/30/2023

Learning Delays in Spiking Neural Networks using Dilated Convolutions with Learnable Spacings

Spiking Neural Networks (SNNs) are a promising research direction for bu...

Please sign up or login with your details

Forgot password? Click here to reset