Biologically inspired structure learning with reverse knowledge distillation for spiking neural networks

Qi Xu, Yaxin Li, Xuanye Fang, Jiangrong Shen, Jian K. Liu, Huajin Tang, Gang PanarXiv 2023 · DOI

Introduction

Spiking Neural Networks (SNNs) represent the "third generation" of neural network models, designed to mimic the discrete, event-driven communication of biological neurons. While their binary spike-based processing offers immense energy efficiency on neuromorphic hardware, SNNs face significant challenges. Most current architectures are structurally rigid and carry high redundancy, unlike the dynamic structural plasticity of the human brain. Furthermore, the non-differentiable nature of discrete spikes makes standard backpropagation difficult to apply directly.

This paper introduces Reverse Knowledge Distillation (re-KD), a framework that addresses these hurdles by allowing SNNs to learn optimal, sparse topologies dynamically. By leveraging sparse or virtual "perfect" teachers, the proposed method achieves state-of-the-art performance while minimizing computational overhead.

Methodology: Reverse Knowledge Distillation

The core innovation lies in flipping the traditional Knowledge Distillation (KD) paradigm. Instead of using a massive, complex teacher to train a smaller student, re-KD explores scenarios where the teacher is structurally simplified or virtual.

Sparse-KD and Teacher Default-KD

Two primary strategies are proposed within the re-KD framework:

  1. Sparse-KD: An SNN is first trained and then pruned to remove low-weight connections, creating a sparse teacher. Counter-intuitively, this "weaker" teacher often guides the student more effectively by filtering out redundant information and focusing on essential features.
  2. Teacher Default-KD: This is a teacher-free approach where a manually designed probability distribution acts as a "virtual teacher" with 100% accuracy. This guides the student toward correct labels without the need to pre-train a physical teacher model.
Overview of the Sparse-KD and Teacher Default-KD frameworks for training Spiking Neural Networks.

To overcome the differentiability dilemma, the framework employs Surrogate Gradients to approximate derivatives during backpropagation. Neurons are modeled using Integrate-And-Fire (IF) dynamics, ensuring biological plausibility and efficiency.

Experimental Evaluation

The researchers evaluated re-KD on two benchmark datasets:

  • CIFAR100: A static image dataset with 100 classes, testing spatial feature extraction.
  • DVS-Gesture: A neuromorphic dataset of hand gestures recorded with a Dynamic Vision Sensor, testing the model's ability to process temporal, event-based data.

Across various architectures including ResNet18, WRN16-4, and VGG16, the re-KD method consistently improved baseline performance. For instance, Sparse-KD improved ResNet18 accuracy on CIFAR100 by 1.60% and WRN16-4 on DVS-Gesture by 2.44%.

Comparative Performance and Efficiency

A critical advantage of the re-KD approach is its temporal efficiency. Many SNN models require hundreds or thousands of timesteps to achieve high accuracy, which increases latency and energy consumption. The proposed models achieve competitive results in as few as 4 timesteps for CIFAR100 and 16 for DVS-Gesture.

Comparison of the proposed re-KD methods against state-of-the-art SNN models across CIFAR100 and DVS-Gesture datasets.

As shown in the comparison table, both Sparse-KD and Teacher Default-KD outperform established methods like RMP-snns and TSC while operating with a fraction of the temporal steps. This demonstrates that the re-KD framework not only improves accuracy but also significantly enhances the practical deployment potential of SNNs on power-constrained hardware.

Conclusion

By mimicking the structural plasticity of the brain through Reverse Knowledge Distillation, this research provides a robust pathway for training efficient, high-performance SNNs. The findings suggest that "less is more" in teacher models—sparse or virtual teachers can provide cleaner training signals that help students find optimal topologies. Future work will explore more diverse teacher conditions and the direct implementation of these learned structures on neuromorphic chips to further validate their energy-saving potential.

Summary updated

BibTeX
@misc{xu2023biologically,
  author = {Qi Xu and Yaxin Li and Xuanye Fang and Jiangrong Shen and Jian K. Liu and Huajin Tang and Gang Pan},
  title = {{Biologically inspired structure learning with reverse knowledge distillation for spiking neural networks}},
  year = {2023},
  eprint = {2304.09500},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2304.09500},
}
Figure