[Paper Review] Long Short-term Memory with Two-Compartment Spiking Neuron
This paper proposes LSTM-LIF, a biologically inspired two-compartment spiking neuron model that separates short-term memory in the soma and long-term memory in the dendrites, enabling superior performance in long-term temporal dependency tasks. The model achieves faster training convergence, stronger generalization, and over 100× energy efficiency gain over non-spiking LSTMs while maintaining high classification accuracy.
The identification of sensory cues associated with potential opportunities and dangers is frequently complicated by unrelated events that separate useful cues by long delays. As a result, it remains a challenging task for state-of-the-art spiking neural networks (SNNs) to identify long-term temporal dependencies since bridging the temporal gap necessitates an extended memory capacity. To address this challenge, we propose a novel biologically inspired Long Short-Term Memory Leaky Integrate-and-Fire spiking neuron model, dubbed LSTM-LIF. Our model incorporates carefully designed somatic and dendritic compartments that are tailored to retain short- and long-term memories. The theoretical analysis further confirms its effectiveness in addressing the notorious vanishing gradient problem. Our experimental results, on a diverse range of temporal classification tasks, demonstrate superior temporal classification capability, rapid training convergence, strong network generalizability, and high energy efficiency of the proposed LSTM-LIF model. This work, therefore, opens up a myriad of opportunities for resolving challenging temporal processing tasks on emerging neuromorphic computing machines.
Motivation & Objective
- To address the challenge of learning long-term temporal dependencies in spiking neural networks (SNNs), which are limited by short memory capacity in single-compartment models.
- To overcome the vanishing gradient problem in backpropagation through time (BPTT) training of SNNs by designing a biologically plausible neuron with compartmentalized memory.
- To develop a spiking neuron model that balances high memory capacity with computational efficiency for deployment on neuromorphic hardware.
- To demonstrate that the proposed model outperforms standard LIF and non-spiking LSTM networks in classification accuracy, training speed, and energy efficiency on temporal tasks.
Proposed method
- The LSTM-LIF model introduces a two-compartment structure: a somatic compartment for short-term memory and a dendritic compartment for long-term memory, inspired by biological pyramidal neurons.
- The somatic compartment uses a modified Leaky Integrate-and-Fire (LIF) mechanism with a leaky integrate-and-fire dynamics for rapid, transient signal processing.
- The dendritic compartment implements a separate membrane potential update with a slower time constant, enabling sustained storage of historical inputs over long delays.
- The model employs a novel synaptic plasticity rule that allows the dendritic compartment to maintain long-term traces of past inputs through adaptive AC operations.
- Theoretical analysis confirms that the two-compartment design mitigates the vanishing gradient problem during BPTT by preserving gradient flow through the slow dendritic dynamics.
- The model is trained using backpropagation through time (BPTT) with surrogate gradient methods, and its performance is evaluated on multiple temporal classification benchmarks including S-MNIST and TIMIT.
Experimental results
Research questions
- RQ1Can a two-compartment spiking neuron model effectively capture long-term temporal dependencies that standard single-compartment SNNs fail to learn?
- RQ2How does the separation of short-term and long-term memory across somatic and dendritic compartments improve training stability and convergence in SNNs?
- RQ3To what extent does the LSTM-LIF model reduce the vanishing gradient problem compared to standard LIF and non-spiking LSTM networks?
- RQ4Does the increased model complexity of the two-compartment design lead to higher energy costs, or can it maintain energy efficiency comparable to simpler SNNs?
- RQ5How does the loss landscape of the LSTM-LIF model compare to LIF during training, and what does this imply for optimization dynamics and generalization?
Key findings
- The LSTM-LIF model achieves state-of-the-art performance on multiple temporal classification tasks, including S-MNIST and TIMIT, with higher accuracy than both LIF and non-spiking LSTM models.
- The model exhibits significantly faster training convergence, with a smoother loss landscape near local minima, indicating improved optimization dynamics and reduced risk of getting trapped in poor local optima.
- Theoretical analysis confirms that the two-compartment structure effectively mitigates the vanishing gradient problem by preserving gradient flow through the slow dendritic dynamics.
- Despite its increased complexity, the LSTM-LIF model incurs only 28.2 nJ of empirical energy cost on the S-MNIST dataset, comparable to the 23.8 nJ of the LIF model, while achieving over 100× energy savings compared to the non-spiking LSTM (2,834.7 nJ).
- The layer-wise firing rates of LSTM-LIF and LIF are similar (e.g., [0.294, 0.146, 0.030] vs. [0.219, 0.145, 0.004]), confirming that the enhanced performance does not come at the cost of increased spiking activity.
- The model demonstrates strong generalization capability, as evidenced by its robust performance across diverse temporal tasks and stable training dynamics.
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.