Training Spiking Neural Networks for Reinforcement Learning Tasks with Temporal Coding Method

Guanlin Wu,Dongchen Liang,Shaotong Luan,Ji Wang
DOI: https://doi.org/10.3389/fnins.2022.877701
IF: 4.3
2022-01-01
Frontiers in Neuroscience
Abstract:Recent years witness an increasing demand for using spiking neural networks (SNNs) to implement artificial intelligent systems. There is a demand of combining SNNs with reinforcement learning architectures to find an effective training method. Recently, temporal coding method has been proposed to train spiking neural networks while preserving the asynchronous nature of spiking neurons to preserve the asynchronous nature of SNNs. We propose a training method that enables temporal coding method in RL tasks. To tackle the problem of high sparsity of spikes, we introduce a self-incremental variable to push each spiking neuron to fire, which makes SNNs fully differentiable. In addition, an encoding method is proposed to solve the problem of information loss of temporal-coded inputs. The experimental results show that the SNNs trained by our proposed method can achieve comparable performance of the state-of-the-art artificial neural networks in benchmark tasks of reinforcement learning.
What problem does this paper attempt to address?