强与弱的协同:脉冲神经网络天然是自蒸馏器
Synergy Between the Strong and the Weak: Spiking Neural Networks are Inherently Self-Distillers
AI总结:
本文提出将脉冲神经网络按时间步分解为子模型,通过强弱子模型间的双向自蒸馏(强到弱和弱到强)提升整体性能与对抗鲁棒性,无需额外教师模型。
摘要:
受大脑启发的脉冲神经网络(SNN)有望成为计算密集型人工神经网络(ANN)的低功耗替代方案,尽管性能差距仍然存在。近期研究通过知识蒸馏提升了SNN的性能,但依赖于大型教师模型或引入了额外的训练开销。在本文中,我们证明SNN可以自然地分解为多个子模型,以实现高效的自蒸馏。我们将SNN的每个时间步实例视为一个子模型,并评估其输出置信度,从而高效地识别出强子模型与弱子模型。基于这种强弱关系,我们提出了两种高效的自蒸馏方案:(1)强到弱(Strong2Weak):在训练过程中,较强的“教师”指导较弱的“学生”,有效提升整体性能。(2)弱到强(Weak2Strong):弱子模型充当“教师”,利用潜在的暗知识反向蒸馏强子模型,同样带来显著的性能提升。对于这两种蒸馏方案,我们提供了灵活的实现方式,如集成蒸馏、同步蒸馏和级联蒸馏。实验表明,我们的方法有效提升了SNN的判别能力和整体性能,同时其对抗鲁棒性也得到增强,这得益于自蒸馏带来的稳定性。该方法巧妙地利用了SNN的时间特性,并为如何高效训练高性能SNN提供了见解。
英文摘要:
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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。