Spiking World Model with Multi-Compartment Neurons for Model-based Reinforcement Learning

Yinqian Sun, Feifei Zhao, Mingyang Lv, Yi Zeng · DOI

Abstract

Spiking Neural Networks (SNNs) are highly valued in neuromorphic computing for their energy efficiency, yet they frequently underperform in complex decision-making tasks like Model-based Reinforcement Learning (MBRL). This paper introduces the Spiking World Model (Spiking-WM), which utilizes biologically inspired multi-compartment neurons (MCNs) to overcome the limitations of traditional "point-neuron" models. By incorporating nonlinear dendritic integration, Spiking-WM achieves performance levels comparable to state-of-the-art artificial neural networks (ANNs) while maintaining the temporal advantages of spiking systems. We evaluate our model on the DeepMind Control Suite and long-sequence speech datasets, demonstrating significant improvements over standard spiking architectures.

Introduction

Model-based Reinforcement Learning (MBRL) enables agents to build an internal "World Model" to predict future states and plan actions. While Artificial Neural Networks (ANNs) excel at this, their high energy consumption is a drawback. SNNs offer a low-power alternative but typically rely on simple Leaky Integrate-and-Fire (LIF) neurons. These point-neurons lack the sophisticated memory and nonlinear integration necessary to track complex environmental dynamics over time. Consequently, SNN-based world models often require massive scaling or hybrid ANN components, undermining their biological plausibility and efficiency.

Methodology: Multi-Compartment Neurons

To address these bottlenecks, we propose a Multi-Compartment Neuron (MCN) model inspired by cortical pyramidal neurons. Unlike standard LIF neurons, the MCN is partitioned into three functional units:

  1. Basal Dendrites: Responsible for receiving primary sensory or state inputs.
  2. Apical Dendrites: Function as a modulatory gate, providing contextual signals.
  3. Soma (Cell Body): Integrates signals from both dendritic compartments to determine the output spike.
Overview of the MCN structure (a) and the integrated Spiking-WM architecture (b).

A key innovation is Nonlinear Dendritic Integration. The apical dendrite employs a sigmoid gating function to nonlinearly modulate the soma’s response to basal inputs. This mechanism allows the neuron to prioritize information based on context, effectively mimicking the gating functions found in LSTMs or GRUs but through biological principles.

Spiking World Model Architecture

The Spiking-WM architecture is adapted from the Dreamer framework. We replace the standard Gated Recurrent Units (GRUs) with our MCN-based spiking layers. The network is trained using Spatio-temporal Backpropagation (STBP) with surrogate gradients to handle the non-differentiable nature of discrete spikes. This setup allows the agent to "imagine" future trajectories in a latent spiking space.

Experimental Results

We evaluated Spiking-WM across two domains: the DeepMind Control (DMC) Suite for continuous control from pixels, and long-sequence speech datasets (SHD, TIMIT, LibriSpeech) for temporal memory.

Performance on DMC Suite

On 19 tasks within the DMC Suite, Spiking-WM achieved 90.4% of the performance of the ANN-based Dreamer. More importantly, it significantly outperformed existing spiking models, surpassing standard LIF-based world models by 31% to 38% in average scores.

Learning curves for Spiking-WM compared to various baselines across several DeepMind Control tasks.

Temporal Memory and Visual Imagination

In speech tasks requiring long-term pattern recognition, the MCN-based model surpassed state-of-the-art spiking recurrent networks. Qualitative analysis further revealed that Spiking-WM could accurately "dream" or predict future video frames of complex movements, such as a walking robot, demonstrating robust latent state maintenance.

Discussion and Conclusion

Our findings suggest that neuronal topology is a powerful inductive bias for temporal processing. The multi-compartment structure, specifically the apical gating mechanism, is crucial for creating stable latent states and "burst firing" patterns. While Spiking-WM currently trails slightly behind the best ANNs in absolute performance and is computationally intensive to simulate on traditional CPUs/GPUs, it represents a major step toward efficient, biologically plausible MBRL.

Future work will focus on deploying these models on neuromorphic hardware like Intel’s Loihi to realize true energy efficiency and exploring more complex dendritic branching to enhance imagination in open-world environments.

Summary updated

BibTeX
@inproceedings{sun2025spiking,
  author = {Yinqian Sun and Feifei Zhao and Mingyang Lv and Yi Zeng},
  title = {{Spiking World Model with Multi-Compartment Neurons for Model-based Reinforcement Learning}},
  booktitle = {Proceedings of the National Academy of Sciences},
  year = {2025},
  doi = {10.1073/pnas.2513319122},
}
Figure