Skip to main content
QUICK REVIEW

[Paper Review] Human-Level Control through Directly-Trained Deep Spiking Q-Networks

Guisong Liu, Wenjie Deng|arXiv (Cornell University)|Dec 13, 2021
Advanced Memory and Neural ComputingEngineering15 citations
TL;DR

This paper proposes a directly-trained Deep Spiking Q-Network (DSQN) using Leaky Integrate-and-Fire (LIF) neurons and surrogate gradient learning to enable end-to-end training of spiking neural networks for Deep Reinforcement Learning. It achieves state-of-the-art performance on 17 Atari games, outperforming conversion-based SNNs in both score and stability, while maintaining high energy efficiency with a short 64-timestep simulation window.

ABSTRACT

As the third-generation neural networks, Spiking Neural Networks (SNNs) have great potential on neuromorphic hardware because of their high energy-efficiency. However, Deep Spiking Reinforcement Learning (DSRL), i.e., the Reinforcement Learning (RL) based on SNNs, is still in its preliminary stage due to the binary output and the non-differentiable property of the spiking function. To address these issues, we propose a Deep Spiking Q-Network (DSQN) in this paper. Specifically, we propose a directly-trained deep spiking reinforcement learning architecture based on the Leaky Integrate-and-Fire (LIF) neurons and Deep Q-Network (DQN). Then, we adapt a direct spiking learning algorithm for the Deep Spiking Q-Network. We further demonstrate the advantages of using LIF neurons in DSQN theoretically. Comprehensive experiments have been conducted on 17 top-performing Atari games to compare our method with the state-of-the-art conversion method. The experimental results demonstrate the superiority of our method in terms of performance, stability, robustness and energy-efficiency. To the best of our knowledge, our work is the first one to achieve state-of-the-art performance on multiple Atari games with the directly-trained SNN.

Motivation & Objective

  • To address the challenges of training spiking neural networks (SNNs) in reinforcement learning due to non-differentiable spiking functions and discrete outputs.
  • To overcome the limitations of conversion-based SNNs, which rely on pre-trained artificial neural networks and require long simulation windows.
  • To enable direct training of SNNs for Deep Reinforcement Learning (DRL) while preserving energy efficiency and achieving high performance.
  • To improve the representation of highly similar Q-values in SNNs through firing rate coding and short temporal windows.
  • To establish a benchmark for directly-trained SNNs in DRL by achieving state-of-the-art results on multiple Atari games.

Proposed method

  • The proposed DSQN architecture uses Leaky Integrate-and-Fire (LIF) neurons with firing rate coding to encode Q-values in spike patterns.
  • A surrogate gradient learning method is adapted to enable backpropagation through the non-differentiable spiking function, allowing end-to-end training.
  • The network is trained with a short simulation time window of 64 timesteps to maintain energy efficiency and reduce computational cost.
  • The method is applied to Deep Q-Network (DQN) frameworks, extending Double DQN and Convergent DQN (CDQN) to spiking versions (Double DSQN and CDSQN).
  • The training process leverages temporal dynamics of spikes across layers, enabling both spatial and temporal backpropagation.
  • The architecture is evaluated on 17 Atari games using the OpenAI Gym environment with consistent hyperparameters across baselines.

Experimental results

Research questions

  • RQ1Can a directly-trained spiking neural network achieve state-of-the-art performance in Deep Reinforcement Learning on Atari games?
  • RQ2How does the performance of a directly-trained SNN compare to conversion-based SNNs in terms of score, stability, and energy efficiency?
  • RQ3Can LIF neurons with short simulation windows effectively represent highly similar Q-values in DRL tasks?
  • RQ4Does surrogate gradient learning enable effective backpropagation through spiking neurons in a DRL setting?
  • RQ5Can the proposed DSQN architecture generalize across diverse Atari environments while maintaining high energy efficiency?

Key findings

  • DSQN achieved an average score of 151.4% of Double DQN's performance across 7 Atari games, demonstrating superior learning capability.
  • In the Kangaroo game, DSQN reached 8,620 points, significantly outperforming Double DQN's 4,302 points, a 200.4% improvement.
  • CDSQN achieved 141.8% of CDQN's average score, with a 296.6% improvement in the Kangaroo game (7,000 vs. 2,360 points).
  • DSQN achieved lower standard deviations than conversion-based SNNs, indicating improved training stability.
  • The method outperformed conversion-based SNNs in both performance and energy efficiency, with identical network depth and width.
  • DSQN matched the performance of vanilla DQN while surpassing it in stability, confirming its capability to match standard DNN-based DRL.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.