通过分步蒸馏提升脉冲神经网络低延迟下的识别准确率
Towards Low-latency Event-based Visual Recognition with Hybrid Step-wise Distillation Spiking Neural Networks
- 训练时用多帧事件提升性能,推理时用少帧降低延迟
- 在极低时间步下仍保持高分类准确率,优于现有方法
- 适合对延迟敏感的类脑视觉应用,如智能摄像头
脉冲神经网络(SNN)因其低功耗和高生物可解释性受到广泛关注。其丰富的时空信息处理能力和事件驱动特性使其非常适合类脑神经数据集。然而,当前SNN在分类任务中难以兼顾准确率与延迟。本文提出针对类脑数据集的混合分步蒸馏(HSD)方法,缓解低时间步下性能显著下降的问题。该方法解耦了事件帧数与SNN时间步之间的依赖关系:训练阶段使用更多事件帧以提升性能,推理阶段仅用较少事件帧以降低延迟。此外,由于各时间步输出均值易受异常输出影响,尤其在极低时间步下,我们引入分步知识蒸馏(SKD)模块,考虑每个时间步输出分布的变化。实验证明,该方法在类脑数据集上分类任务表现优异,尤其在低时间步条件下具有竞争力。代码将公开于:https://github.com/hsw0929/HSD。
原文摘要 · Abstract (English)
Spiking neural networks (SNNs) have garnered significant attention for their low power consumption and high biological interpretability. Their rich spatio-temporal information processing capability and event-driven nature make them ideally well-suited for neuromorphic datasets. However, current SNNs struggle to balance accuracy and latency in classifying these datasets. In this paper, we propose Hybrid Step-wise Distillation (HSD) method, tailored for neuromorphic datasets, to mitigate the notable decline in performance at lower time steps. Our work disentangles the dependency between the number of event frames and the time steps of SNNs, utilizing more event frames during the training stage to improve performance, while using fewer event frames during the inference stage to reduce latency. Nevertheless, the average output of SNNs across all time steps is susceptible to individual time step with abnormal outputs, particularly at extremely low time steps. To tackle this issue, we implement Step-wise Knowledge Distillation (SKD) module that considers variations in the output distribution of SNNs at each time step. Empirical evidence demonstrates that our method yields competitive performance in classification tasks on neuromorphic datasets, especially at lower time steps. Our code will be available at: {https://github.com/hsw0929/HSD}.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。