arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2501.08049cs.AIcs.CVcs.LG

面向ANN到SNN蒸馏中精确中间层匹配的自注意力时空校准方法

Self-Attentive Spatio-Temporal Calibration for Precise Intermediate Layer Matching in ANN-to-SNN Distillation

The College of Computer Science and Technology, Zhejiang University(浙江大学计算机科学与技术学院);Nanhu Brain-computer Interface Institute(南湖脑机接口研究所);The State Key Laboratory of Brain-Machine Intelligence, Zhejiang University(浙江大学脑机智能国家重点实验室)

Di Hong, Yueming Wang

AI总结:

针对ANN到SNN蒸馏中中间层特征时空语义不匹配的问题,提出自注意力时空校准方法,通过自注意力识别语义对齐层对实现信息自主迁移,在多个数据集上取得SOTA精度,首次让SNN在CIFAR-10、CIFAR-100上超越ANN。

摘要:

脉冲神经网络(SNN)凭借事件驱动机制在低功耗计算领域颇具潜力,但与人工神经网络(ANN)相比通常精度更低。ANN到SNN的知识蒸馏可提升SNN性能,但现有方法要么仅聚焦标签信息,错失有价值的中间层特征;要么采用逐层匹配方式,忽略空间与时间层面的语义不一致性,最终导致性能下降。为解决这些局限,本文提出一种名为自注意力时空校准(SASTC)的新方法。SASTC利用自注意力机制,从空间和时间两个维度识别ANN与SNN之间语义对齐的层对,从而实现相关语义信息的自主迁移。大量实验表明,SASTC性能优于现有方法,有效解决了层不匹配问题。其精度表现优异:静态数据集上,2时间步下CIFAR-10达95.12%、CIFAR-100达79.40%,4时间步下ImageNet达68.69%;神经形态数据集上,DVS-Gesture达97.92%、DVS-CIFAR10达83.60%。这是SNN首次在CIFAR-10和CIFAR-100两个数据集上性能超越ANN,为SNN的潜在应用开辟了新的思路。

英文摘要:

Spiking Neural Networks (SNNs) are promising for low-power computation due to their event-driven mechanism but often suffer from lower accuracy compared to Artificial Neural Networks (ANNs). ANN-to-SNN knowledge distillation can improve SNN performance, but previous methods either focus solely on label information, missing valuable intermediate layer features, or use a layer-wise approach that neglects spatial and temporal semantic inconsistencies, leading to performance degradation.To address these limitations, we propose a novel method called self-attentive spatio-temporal calibration (SASTC). SASTC uses self-attention to identify semantically aligned layer pairs between ANN and SNN, both spatially and temporally. This enables the autonomous transfer of relevant semantic information. Extensive experiments show that SASTC outperforms existing methods, effectively solving the mismatching problem. Superior accuracy results include 95.12% on CIFAR-10, 79.40% on CIFAR-100 with 2 time steps, and 68.69% on ImageNet with 4 time steps for static datasets, and 97.92% on DVS-Gesture and 83.60% on DVS-CIFAR10 for neuromorphic datasets. This marks the first time SNNs have outperformed ANNs on both CIFAR-10 and CIFAR-100, shedding the new light on the potential applications of SNNs.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑