Synergy Between the Strong and the Weak: Spiking Neural Networks are Inherently Self-Distillers
Yongqi Ding, Lin Zuo, Mengmeng Jing, Kunshan Yang, Pei He, Tonglan Xie
TL;DR
This work addresses the performance gap in brain-inspired spiking neural networks by proposing self-distillation through temporal deconstruction: treating each timestep as a submodel and using per-timestep confidence to designate strong and weak roles. It introduces two schemes, Strong2Weak and Weak2Strong, with flexible implementations (ensemble, simultaneous, cascade) that distill knowledge without external teachers or added overhead, leveraging the dark knowledge across timesteps. Empirical results across static and neuromorphic datasets show consistent gains in accuracy, robustness, and low-latency performance, and demonstrate compatibility with early-exit inference. The method offers a scalable, resource-efficient route to high-performance SNNs with practical applicability to temporal tasks and edge compute scenarios.
Abstract
Brain-inspired spiking neural networks (SNNs) promise to be a low-power alternative to computationally intensive artificial neural networks (ANNs), although performance gaps persist. Recent studies have improved the performance of SNNs through knowledge distillation, but rely on large teacher models or introduce additional training overhead. In this paper, we show that SNNs can be naturally deconstructed into multiple submodels for efficient self-distillation. We treat each timestep instance of the SNN as a submodel and evaluate its output confidence, thus efficiently identifying the strong and the weak. Based on this strong and weak relationship, we propose two efficient self-distillation schemes: (1) \textbf{Strong2Weak}: During training, the stronger "teacher" guides the weaker "student", effectively improving overall performance. (2) \textbf{Weak2Strong}: The weak serve as the "teacher", distilling the strong in reverse with underlying dark knowledge, again yielding significant performance gains. For both distillation schemes, we offer flexible implementations such as ensemble, simultaneous, and cascade distillation. Experiments show that our method effectively improves the discriminability and overall performance of the SNN, while its adversarial robustness is also enhanced, benefiting from the stability brought by self-distillation. This ingeniously exploits the temporal properties of SNNs and provides insight into how to efficiently train high-performance SNNs.
