ESL-SNNs: An Evolutionary Structure Learning Strategy for Spiking Neural Networks

Jiangrong Shen, Qi Xu, Jian K. Liu, Yueming Wang, Gang Pan, Huajin Tang

Abstract

Spiking Neural Networks (SNNs) offer a path toward energy-efficient neuromorphic computing by mimicking the brain's event-driven nature. However, traditional training often relies on dense parameter blocks, sacrificing the inherent sparsity of biological systems. We present ESL-SNNs, an evolutionary rewiring strategy that enables training sparse SNNs from scratch. By dynamically pruning weak connections and growing new ones via momentum-based gradients, ESL-SNNs achieve near-dense accuracy with up to 90% fewer parameters, significantly reducing the memory and energy footprint of both training and inference.

Introduction

Neuromorphic computing leverages SNNs to achieve extreme energy efficiency. Despite this, a "redundancy paradox" exists: while the human brain is naturally sparse and dynamic, artificial SNNs are typically trained as dense models. Existing "train-then-prune" workflows require massive memory during initial training, while "sparse-from-scratch" methods often suffer from a significant performance gap compared to dense counterparts. ESL-SNNs address this by evolving the network's structure alongside its weights, maintaining sparsity throughout the entire lifecycle.

Methodology

The ESL-SNN framework utilizes three core components to manage structural evolution:

  1. Erdős–Rényi Initialization: The network begins as a sparse random graph where connections are initialized with a specific probability ($\epsilon$), rather than a full weight matrix.
  2. Dynamic Rewiring (Prune & Grow): At fixed intervals ($T_{iter}$), the model undergoes structural updates. Weak weights (near zero) are pruned, and an equal number of new connections are "re-grown." Among various strategies, Momentum-based growth—which uses gradient momentum to identify promising new synapses—proved most effective.
  3. Cosine Annealing: To ensure structural stability, the proportion of updated connections ($\alpha$) is gradually reduced over time using a cosine decay function.
The ESL-SNN training process: from initial random sparsity to a learned optimal structure through iterative pruning and growth.

This approach treats structural plasticity as a global search algorithm, allowing the network to explore diverse connectivity patterns while remaining sparse at any given moment.

Experimental Setup

The framework was evaluated on both static and neuromorphic datasets:

  • Static Image Datasets: MNIST, CIFAR-10, and CIFAR-100.
  • Neuromorphic Dataset: DVS-CIFAR10, featuring event streams from Dynamic Vision Sensors, providing a rigorous benchmark for temporal, spike-based data processing.

Key Insights and Results

ESL-SNNs effectively bridge the gap between sparse and dense training. On DVS-CIFAR10, the model achieved 78.3% accuracy at 10% density, outperforming other state-of-the-art sparse methods with a negligible 0.28% accuracy loss compared to dense baselines.

Performance analysis: (a) Test accuracy vs. connection density and (b) the evolution of layer-wise density during training.

Structural Plasticity and Redundancy

A key finding is the observation of layer-wise redundancy. Deeper layers in VGG-style SNNs can be reduced to as low as 8% density, while shallower layers require higher density (~47%) for effective feature extraction. This suggests that high-level features in SNNs are highly redundant. Furthermore, theoretical estimates suggest that ESL-SNNs on neuromorphic hardware (e.g., IBM TrueNorth) would be an order of magnitude more energy-efficient than on high-end GPUs like the Titan V100.

Performance Summary

  • MNIST: 96.58% accuracy at 0.16 density (6x parameter reduction).
  • CIFAR-10/100: Maintained competitive performance (91.09% on CIFAR-10) with 50% initial sparsity on ResNet-19 architectures.

Conclusion and Future Work

ESL-SNNs demonstrate that structural evolution is a viable path for training efficient, sparse SNNs. While theoretical energy gains are promising, future work should focus on actual on-chip learning implementations. Additionally, extending this evolutionary strategy to Recurrent Spiking Neural Networks (RSNNs) could further enhance temporal data processing. Finally, refining growth strategies remains critical, as gradient-based methods can sometimes limit model expressibility by converging on overly similar structures.

Summary updated

BibTeX
@inproceedings{shen2023esl,
  author = {Jiangrong Shen and Qi Xu and Jian K. Liu and Yueming Wang and Gang Pan and Huajin Tang},
  title = {{ESL-SNNs: An Evolutionary Structure Learning Strategy for Spiking Neural Networks}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2023},
  doi = {10.1609/aaai.v37i1.25079},
}
Figure