[论文解读] Bridging the Gap between ANNs and SNNs by Calibrating Offset Spikes
本文将 offset spikes 定义为量化 ANN-SNN 转换误差,并提出初始膜电位平移策略以校准尖峰,在 CIFAR-10/100 和 ImageNet 上实现超低延迟的高精度。它还展示了一个迭代细化属性,能够进一步减少误差。
Spiking Neural Networks (SNNs) have attracted great attention due to their distinctive characteristics of low power consumption and temporal information processing. ANN-SNN conversion, as the most commonly used training method for applying SNNs, can ensure that converted SNNs achieve comparable performance to ANNs on large-scale datasets. However, the performance degrades severely under low quantities of time-steps, which hampers the practical applications of SNNs to neuromorphic chips. In this paper, instead of evaluating different conversion errors and then eliminating these errors, we define an offset spike to measure the degree of deviation between actual and desired SNN firing rates. We perform a detailed analysis of offset spike and note that the firing of one additional (or one less) spike is the main cause of conversion errors. Based on this, we propose an optimization strategy based on shifting the initial membrane potential and we theoretically prove the corresponding optimal shifting distance for calibrating the spike. In addition, we also note that our method has a unique iterative property that enables further reduction of conversion errors. The experimental results show that our proposed method achieves state-of-the-art performance on CIFAR-10, CIFAR-100, and ImageNet datasets. For example, we reach a top-1 accuracy of 67.12% on ImageNet when using 6 time-steps. To the best of our knowledge, this is the first time an ANN-SNN conversion has been shown to simultaneously achieve high accuracy and ultralow latency on complex datasets. Code is available at https://github.com/hzc1208/ANN2SNN_COS.
研究动机与目标
- 激励在低时步下提升 ANN-to-SNN 转换的准确性。
- 引入 offset spikes 作为实际与期望的 SNN 发放率之间偏差的度量。
- 通过平移初始膜电位来开发尖峰校准方法以减少转换误差。
- 证明最佳平移和校准过程的迭代性理论性质。
- 在 CIFAR-10/100 和 ImageNet 上的实证验证,展示超低延迟下的最新结果。
提出的方法
- 将 offset spike 定义为某一层期望尖峰计数与实际尖峰计数之差(Equation 8)。
- 分析 offset spike 的分布,并表明单个尖峰的偏差是错误的主要贡献。
- 从残留膜电位推导出的 offset spikes 符号检测规则(Theorem 1)。
- 提出使尖峰计数恰好改变 ±1 的初始膜电位的最优平移(Theorem 2)。
- 构建两阶段尖峰校准流程:在少数步骤中估计尖峰状态,然后平移初始电位以消除误差;迭代以进一步减少误差(Iterative property)。
- 在 CIFAR-10/100 和 ImageNet 上使用 QCFS-based ANN-to-SNN 转换评估性能,并与最先进方法比较。
实验结果
研究问题
- RQ1offset spikes 能否在低时步下定量解释 ANN-SNN 转换误差?
- RQ2初始膜电位平移如何以最优方式调整尖峰计数,使 SNN 的发放与 ANN 输出一致?
- RQ3迭代应用平移方法是否在超低延迟下进一步降低转换误差并提高准确性?
- RQ4所提方法与现有的 ANN-SNN 转换与训练方法在标准基准上的对比?
- RQ5脉冲校准过程存在哪些理论保证?
主要发现
- 每一层的 Offset spikes (ψ^l) 的 ±1 占据了大部分转换误差。
- 在给定条件下,可以从残留膜电位 v^l(T)推断 ψ^l 的符号。
- 初始膜电位的最优平移可以使某层的尖峰计数恰好增加或减少一个(Theorem 2)。
- 两阶段标定(估计 + 平移)降低了层级偏差;通过迭代,输出层的均方误差在理想情况下可以接近零。
- 在 ImageNet 的 6 time-steps 下,该方法实现了 67.12% 的 top-1 精度(摘要中引用);在 CIFAR-10/100 和 ImageNet 上,与之前的 ANN-SNN 方法相比,展示了超低延迟下的最先进或有竞争力的结果。
- 该方法显示出迭代性质,多次应用平移操作会进一步将 ψ^l 向零收敛。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。