Developmental Plasticity-Inspired Adaptive Pruning for Deep Spiking and Artificial Neural Networks

Bing Han, Feifei Zhao, Yi Zeng, Guobin Shen

TL;DR

This paper introduces a novel "Developmental Plasticity-inspired Adaptive Pruning" (DPAP) method for compressing deep neural networks (DNNs) and spiking neural networks (SNNs). By mimicking the brain's natural pruning processes, DPAP dynamically optimizes network structures during learning without pre-training, leading to significant reductions in size and energy consumption while maintaining or improving performance.

What Problem Does This Paper Address?

Current methods for compressing deep neural networks (DNNs) and spiking neural networks (SNNs) often rely on techniques like pruning, quantization, and knowledge distillation. While effective, these methods typically require extensive pre-training and retraining to maintain accuracy, a process that is neither biologically plausible nor efficient. Furthermore, existing compression techniques for SNNs often overlook their unique temporal processing capabilities, limiting their potential. The paper addresses this gap by proposing a compression method inspired by the brain's developmental plasticity, specifically the "use it or lose it" principle that governs the elimination of unused synapses and neurons. This approach aims to create more efficient, adaptive, and biologically realistic neural network architectures.

Methods

The core of the paper is the Developmental Plasticity-inspired Adaptive Pruning (DPAP) method. DPAP integrates several biologically inspired mechanisms to dynamically prune redundant components during the learning process:

  • Trace-based BCM Synaptic Plasticity: This mechanism, inspired by the Bienenstock-Cooper-Munro (BCM) rule, assesses synaptic importance by considering both current and historical spiking activity of pre- and post-synaptic neurons. This allows for a more nuanced evaluation of synaptic efficacy than simple weight magnitude.
  • Activity-dependent Neural Spiking Trace: For SNNs, this captures the neuron's activity level by accumulating spikes over time and decaying the trace. For DNNs, this is represented by neuron activation outputs. This trace is crucial for understanding temporal dynamics.
  • Dendritic Spine Dynamic Plasticity: This mechanism models how neurons dynamically adjust their dendritic spines, reflecting neuronal importance. It combines spiking traces and BCM plasticity to determine neuronal importance.
  • Adaptive Pruning Strategy: Based on the calculated synaptic and neuronal importance, DPAP employs a "gradually decay or even die" survival function. Components with consistently low importance are progressively pruned. This is a continuous process, not an abrupt removal.
  • Spatio-Temporal Pruning for SNNs: For SNNs, DPAP extends pruning to the temporal dimension, inspired by the brain's temporal attention mechanisms. This further reduces energy consumption by eliminating redundant timesteps.

DPAP operates in a "learning-while-pruning" fashion, meaning pruning occurs concurrently with training, eliminating the need for separate pre-training or retraining phases.

Datasets

The paper evaluates DPAP on a variety of datasets:

  • Temporal Neuromorphic Datasets:
    • N-MNIST: A neuromorphic vision dataset derived from the original MNIST.
  • DVS-Gesture: A dataset capturing 11 different gestures using a DVS camera.
  • Spatial Datasets:
    • MNIST: The classic handwritten digit dataset.
  • CIFAR-10: A dataset of small images in 10 classes.
  • ImageNet: A large-scale dataset of images.

The paper does not introduce new benchmark datasets but rather applies its method to established ones to demonstrate its effectiveness.

Key Insights and Ideas

  • Brain-like Pruning is Efficient: Mimicking the brain's developmental pruning ("use it or lose it") leads to highly efficient network compression without sacrificing performance.
  • Dynamic Pruning is Key: Continuous, gradual pruning during learning, rather than abrupt removal, is more biologically plausible and leads to better results.
  • SNNs Benefit from Temporal Pruning: Incorporating temporal dimension pruning for SNNs significantly reduces energy consumption, leveraging their inherent temporal processing capabilities.
  • BCM Plasticity Outperforms STDP/Hebb: Using the BCM rule for synaptic plasticity evaluation yields better results than simpler Hebbian or STDP rules, highlighting its biological relevance.
  • Optimal Pruning Rate Exists: Similar to biological development, there's an optimal pruning rate beyond which performance may degrade, suggesting a balance is crucial.

Key Results

DPAP demonstrates significant improvements across various metrics:

  • Compression: Achieved substantial network compression, with averages of around 63% for SNNs and up to 56% for DNNs on some datasets.
  • Accuracy: In many cases, DPAP not only maintained but slightly improved accuracy compared to the original networks. For example, on DVS-Gesture, accuracy improved from 97.83% to 98.56%. On N-MNIST, it reached 99.59% with significant pruning.
  • Convergence Speed: DPAP significantly accelerates the training process. For instance, on MNIST, DPAP achieved the same accuracy in 39 epochs compared to 50 epochs for the baseline DNN.
  • Energy Consumption: For SNNs, DPAP achieved remarkable energy savings, with one instance showing only 6.00% of the energy consumption of the basic dense network after joint spatio-temporal pruning.
  • State-of-the-Art (SOTA) Performance: DPAP achieved SOTA performance on several temporal datasets for SNNs.

Limitations and Future Work

  • Limitations:
    • While DPAP shows strong results, the paper notes that "over-pruned" or "under-pruned" networks can lead to issues, mirroring developmental disorders. This suggests careful tuning of pruning parameters is necessary.
  • The paper focuses on pruning and does not explore other developmental mechanisms like growth or rewiring in detail.
  • Future Work:
    • The authors suggest further research into combining developmental growth mechanisms with pruning to achieve more complex and adaptive network evolution.
  • They envision DPAP enabling neurons to self-organize into different neural circuits for various tasks, moving towards more general-purpose AI.
  • Exploring the integration of DPAP with other compression techniques like quantization could yield even greater efficiency.

Summary updated

BibTeX
@article{han2022developmental,
  author = {Bing Han and Feifei Zhao and Yi Zeng and Guobin Shen},
  title = {{Developmental Plasticity-Inspired Adaptive Pruning for Deep Spiking and Artificial Neural Networks}},
  journal = {IEEE Trans. Pattern Anal. Mach. Intell.},
  year = {2022},
}
Figure