Population-coding and Dynamic-neurons improved Spiking Actor Network for Reinforcement Learning

Duzhen Zhang, Tielin Zhang, Shuncheng Jia, Xiang Cheng, Bo XuarXiv 2021

Abstract

Spiking Neural Networks (SNNs) offer a biologically plausible and energy-efficient alternative to standard Deep Neural Networks (DNNs). However, they often struggle to match DNN performance in complex reinforcement learning tasks. This paper introduces the Multiscale Dynamic Coding improved Spiking Actor Network (MDC-SAN), which leverages population coding at the network level and 2nd-order dynamic neurons at the cellular level. Evaluated on continuous control benchmarks, MDC-SAN consistently outperforms traditional DNN-based actors, demonstrating the potential of multiscale biological coding in high-dimensional decision-making.

Introduction

Deep Reinforcement Learning (DRL) has achieved remarkable success, yet its reliance on standard artificial neural networks deviates significantly from the complex, energy-efficient mechanisms of the biological brain. While SNNs are more biologically realistic, their performance has historically been limited by simple "Leaky Integrate-and-Fire" (LIF) models and basic coding schemes like rate coding. These methods often fail to capture the rich spatial-temporal features necessary for high-dimensional continuous control. The core challenge lies in information representation; to bridge the performance gap, SNNs must adopt the complex, multiscale dynamics observed in neural cell assemblies.

Methods: The MDC-SAN Architecture

The researchers propose the Multiscale Dynamic Coding improved Spiking Actor Network (MDC-SAN), which introduces innovation at two scales:

1. Network Scale: Population Coding

Instead of using raw input values or simple Poisson spikes, MDC-SAN employs groups of neurons with learnable Gaussian receptive fields. Each input dimension is represented by a population of neurons, projecting the state into a higher-dimensional, feature-rich space. This allows the network to better distinguish between similar states on a high-dimensional manifold.

2. Neuron Scale: 2nd-order Dynamic Neurons

Standard SNNs typically use 1st-order LIF neurons. MDC-SAN introduces Dynamic Neurons (DNs) governed by 2nd-order differential equations. These neurons can possess up to two equilibrium points (attractors), enabling more complex internal state dynamics and superior temporal memory compared to 1st-order models.

The MDC-SAN architecture integrates population coding for input representation and 2nd-order dynamic neurons for complex temporal processing.

Training Strategy

The model utilizes the Twin Delayed Deep Deterministic policy gradient (TD3) algorithm. In this hybrid setup, the "Actor" is the proposed SNN, while the "Critic" remains a standard deep network. To address the non-differentiable nature of spikes during training, the authors use Approximate Backpropagation with a rectangular surrogate gradient function.

Evaluation and Results

The MDC-SAN was evaluated on four standard continuous control benchmarks from the OpenAI Gym: Ant-v3, HalfCheetah-v3, Walker2d-v3, and Hopper-v3. These tasks require precise motor control and temporal coordination for locomotion.

The four OpenAI Gym locomotion tasks used for evaluation: (a) Ant, (b) HalfCheetah, (c) Walker2d, and (d) Hopper.

Key Results

MDC-SAN consistently outperformed the standard Deep Actor Network (DAN) across all benchmarks:

  • Ant-v3: MDC-SAN achieved a max average reward of 5628, vs. 4671 for the DAN.
  • HalfCheetah-v3: MDC-SAN reached 11657, vs. 10020 for the DAN.
  • Consistency: MDC-SAN also outperformed SNN variants using simpler LIF neurons, highlighting the importance of the 2nd-order dynamics.

Discussion and Insights

The study reveals that Population Coding is a critical component for SNN performance in RL, providing better state separation than traditional rate coding. Furthermore, the transition to 2nd-order Dynamic Neurons provided a more vital representation of temporal information, leading to smoother control. Interestingly, optimal dynamic parameters learned on one task (Ant-v3) generalized well to others, suggesting a universal "sweet spot" for neuronal dynamics in locomotion tasks.

Limitations and Future Work

Despite its success, MDC-SAN introduces additional hyperparameters related to 2nd-order dynamics, increasing design complexity. While SNNs are theoretically efficient, future work should focus on deployment on neuromorphic hardware (e.g., Intel Loihi) to quantify actual energy savings. Additionally, integrating further biological principles like homeostatic plasticity could enhance the model's robustness and adaptability.

Summary updated

BibTeX
@misc{zhang2021population,
  author = {Duzhen Zhang and Tielin Zhang and Shuncheng Jia and Xiang Cheng and Bo Xu},
  title = {{Population-coding and Dynamic-neurons improved Spiking Actor Network for Reinforcement Learning}},
  year = {2021},
  eprint = {2106.07854},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2106.07854},
}
Figure