Skip to main content
QUICK REVIEW

[Paper Review] Strategy and Benchmark for Converting Deep Q-Networks to Event-Driven Spiking Neural Networks

Weihao Tan, Devdhar Patel|arXiv (Cornell University)|Sep 30, 2020
Advanced Memory and Neural ComputingEngineering31 references6 citations
TL;DR

This paper proposes a robust method to convert Deep Q-Networks (DQNs) into event-driven spiking neural networks (SNNs) for reinforcement learning, using an improved firing rate approximation based on membrane potential at simulation end-time. The approach achieves state-of-the-art performance on 17 Atari games, with SNN agents matching DQN performance across all but two games, demonstrating feasibility for energy-efficient reinforcement learning on neuromorphic hardware.

ABSTRACT

Spiking neural networks (SNNs) have great potential for energy-efficient implementation of Deep Neural Networks (DNNs) on dedicated neuromorphic hardware. Recent studies demonstrated competitive performance of SNNs compared with DNNs on image classification tasks, including CIFAR-10 and ImageNet data. The present work focuses on using SNNs in combination with deep reinforcement learning in ATARI games, which involves additional complexity as compared to image classification. We review the theory of converting DNNs to SNNs and extending the conversion to Deep Q-Networks (DQNs). We propose a robust representation of the firing rate to reduce the error during the conversion process. In addition, we introduce a new metric to evaluate the conversion process by comparing the decisions made by the DQN and SNN, respectively. We also analyze how the simulation time and parameter normalization influence the performance of converted SNNs. We achieve competitive scores on 17 top-performing Atari games. To the best of our knowledge, our work is the first to achieve state-of-the-art performance on multiple Atari games with SNNs. Our work serves as a benchmark for the conversion of DQNs to SNNs and paves the way for further research on solving reinforcement learning tasks with SNNs.

Motivation & Objective

  • To enable energy-efficient deep reinforcement learning using spiking neural networks (SNNs) on neuromorphic hardware.
  • To address the challenge of converting DQNs to SNNs, where small errors in Q-value approximation significantly degrade performance due to close action-value similarities.
  • To improve conversion accuracy by refining the firing rate approximation method, reducing error from membrane potential residual effects.
  • To establish a benchmark for DQN-to-SNN conversion in reinforcement learning, particularly on complex environments like Atari games.
  • To evaluate the impact of simulation time and percentile-based parameter normalization on SNN performance.

Proposed method

  • Proposes a new firing rate approximation using the final membrane potential at the end of simulation time, improving accuracy over prior analog activation mapping methods.
  • Introduces a percentile-based parameter normalization technique to scale weights and thresholds, optimizing SNN behavior under event-driven dynamics.
  • Employs a conversion pipeline that maps pre-trained DQN weights directly into equivalent SNNs without retraining, preserving network architecture and connectivity.
  • Uses a fixed simulation time of 500 time steps across all Atari games to ensure consistent evaluation of SNN inference.
  • Applies a t-test to compare DQN and SNN performance across 50 random seeds per game, assessing statistical significance of results.
  • Optimizes hyperparameters (simulation time and percentile) through empirical analysis on four representative games before full-scale evaluation.

Experimental results

Research questions

  • RQ1Can Deep Q-Networks be successfully converted into spiking neural networks while preserving performance on reinforcement learning tasks?
  • RQ2How does the choice of simulation time affect the performance and conversion accuracy of converted SNNs?
  • RQ3What is the optimal percentile for parameter normalization in the DQN-to-SNN conversion process, and how does it vary across different Atari games?
  • RQ4How does the proposed firing rate approximation method compare to prior methods in terms of error reduction and performance stability?
  • RQ5To what extent can SNNs achieve human-level performance on Atari games after conversion from DQNs?

Key findings

  • The proposed method achieved competitive performance on 17 out of 18 Atari games, with SNN scores statistically indistinguishable from DQN scores in 15 games (p > 0.05).
  • For 14 games, the SNN performance was within 95% of the DQN score, with the highest SNN score reaching 94.6% of the DQN score on Gopher.
  • The optimal percentile for normalization varied by game: 99.9 was best for Star Gunner and Video Pinball, while higher percentiles (e.g., 99.99) improved performance on Breakout and James Bond.
  • Simulation time had a diminishing return effect: longer times improved conversion rates and performance, especially for sensitive games like Star Gunner and Video Pinball.
  • The new firing rate approximation reduced conversion error compared to prior methods, particularly in cases with small Q-value differences between actions.
  • The method achieved state-of-the-art performance on multiple Atari games using SNNs, marking the first such success in deep reinforcement learning with SNNs.

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.