[Paper Review] Online Training of Spiking Recurrent Neural Networks with Phase-Change Memory Synapses
This paper proposes a hardware-aware training framework for spiking recurrent neural networks (SNNs) using phase-change memory (PCM) synapses, enabling online learning via gradient accumulation despite PCM non-idealities. It demonstrates that mixed-precision weight updates significantly improve training stability and accuracy by enabling precise, low-learning-rate updates on low-resolution PCM devices.
Spiking recurrent neural networks (RNNs) are a promising tool for solving a wide variety of complex cognitive and motor tasks, due to their rich temporal dynamics and sparse processing. However training spiking RNNs on dedicated neuromorphic hardware is still an open challenge. This is due mainly to the lack of local, hardware-friendly learning mechanisms that can solve the temporal credit assignment problem and ensure stable network dynamics, even when the weight resolution is limited. These challenges are further accentuated, if one resorts to using memristive devices for in-memory computing to resolve the von-Neumann bottleneck problem, at the expense of a substantial increase in variability in both the computation and the working memory of the spiking RNNs. To address these challenges and enable online learning in memristive neuromorphic RNNs, we present a simulation framework of differential-architecture crossbar arrays based on an accurate and comprehensive Phase-Change Memory (PCM) device model. We train a spiking RNN whose weights are emulated in the presented simulation framework, using a recently proposed e-prop learning rule. Although e-prop locally approximates the ideal synaptic updates, it is difficult to implement the updates on the memristive substrate due to substantial PCM non-idealities. We compare several widely adapted weight update schemes that primarily aim to cope with these device non-idealities and demonstrate that accumulating gradients can enable online and efficient training of spiking RNN on memristive substrates.
Motivation & Objective
- To enable online, hardware-friendly training of spiking recurrent neural networks (SNNs) on phase-change memory (PCM) substrates.
- To address the challenges of device non-idealities in PCM, including cycle-to-cycle variation, $1/f$ noise, and limited resolution.
- To evaluate and compare weight update schemes that mitigate PCM non-idealities for reliable training.
- To demonstrate that gradient accumulation enables effective training on low-precision PCM devices while maintaining high accuracy.
Proposed method
- The authors develop a simulation framework for differential-architecture crossbar arrays using an accurate PCM device model with stochastic switching and conductance drift.
- They employ the e-prop learning rule to compute local, backpropagation-in-time approximations of ideal synaptic updates.
- Weight update schemes are evaluated, including direct e-prop updates, stochastic rounding, and mixed-precision gradient accumulation.
- Mixed-precision updates accumulate gradients in high-precision memory before applying low-precision updates to PCM devices, reducing programming errors.
- Bayesian optimization is used to tune hyperparameters for each update method across 1,000 network trials to ensure fair comparison.
- The benchmark task involves generating a 1-second sequence of four sinusoids using 100 input, 100 recurrent, and one output LIF neuron.
Experimental results
Research questions
- RQ1Can online training of spiking RNNs be reliably achieved on PCM-based neuromorphic hardware despite device non-idealities?
- RQ2How do different weight update schemes—such as direct e-prop, stochastic rounding, and gradient accumulation—perform under realistic PCM constraints?
- RQ3Does mixed-precision gradient accumulation improve training convergence and accuracy on low-resolution PCM devices?
- RQ4To what extent do PCM-specific effects like cycle-to-cycle variation and conductance drift impact learning performance?
- RQ5Can gradient accumulation reduce the number of required PCM programming operations while maintaining network accuracy?
Key findings
- Mixed-precision gradient accumulation achieves the highest accuracy among all tested update schemes by enabling precise, low-learning-rate updates on low-resolution PCM devices.
- Accumulating gradients in high-precision memory allows the effective use of small weight updates that match the minimum programmable conductance change in PCM.
- The method reduces the number of required PCM programming operations and improves training stability by mitigating the impact of device non-idealities.
- Stochastic rounding and direct e-prop updates perform worse due to increased sensitivity to PCM variability and limited resolution.
- The framework enables reliable online training of spiking RNNs on PCM substrates, demonstrating the feasibility of e-prop in real-world neuromorphic hardware.
- The results suggest that hardware-algorithm co-design, particularly with gradient accumulation, is essential for stable training on non-volatile, low-precision memristive devices.
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.