[Paper Review] Bridging the Gap between ANNs and SNNs by Calibrating Offset Spikes
The paper defines offset spikes to quantify ANN-SNN conversion errors and proposes an initial membrane potential shifting strategy to calibrate spikes, achieving high accuracy with ultralow latency on CIFAR-10/100 and ImageNet. It also demonstrates an iterative refinement property that further reduces error.
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.
Motivation & Objective
- Motivate improving ANN-to-SNN conversion accuracy at low time-steps.
- Introduce offset spikes as a measure of deviation between actual and desired SNN firing rates.
- Develop a spike-calibration method by shifting initial membrane potentials to reduce conversion errors.
- Prove theoretical properties of optimal shifting and iterativeness of the calibration process.
- Empirically validate the method on CIFAR-10/100 and ImageNet, showing state-of-the-art results with ultralow latency.
Proposed method
- Define offset spike as the difference between desired and actual spike counts in a layer (Equation 8).
- Analyze offset spike distribution and show one-spike deviation is the main contributor to errors.
- Derive a sign-detection rule for offset spikes from residual membrane potential (Theorem 1).
- Propose optimal shifting of the initial membrane potential to cause ±1 change in spike count (Theorem 2).
- Construct a two-stage spike-calibration pipeline: estimate spike status in a few steps, then shift initial potentials to eliminate errors; iterate to further reduce errors (Iterative property).
- Assess performance on CIFAR-10/100 and ImageNet with QCFS-based ANN-to-SNN conversion and compare to state-of-the-art methods.
Experimental results
Research questions
- RQ1Can offset spikes quantitatively explain ANN-SNN conversion errors at low time-steps?
- RQ2How can initial membrane potential shifting optimally adjust spike counts to align SNN firing with ANN outputs?
- RQ3Does iterative application of the shifting method further reduce conversion errors and improve accuracy at ultralow latency?
- RQ4How does the proposed method compare to existing ANN-SNN conversion and training approaches on standard benchmarks?
- RQ5What theoretical guarantees exist for the spike-calibration procedure?
Key findings
- Offset spikes (ψ^l) of ±1 account for the main portion of conversion errors in each layer.
- The sign of ψ^l can be inferred from the residual membrane potential v^l(T) under specified conditions.
- Optimal shifting of the initial membrane potential can cause a layer’s spike count to increase or decrease by exactly one (Theorem 2).
- The two-stage calibration (estimate + shift) reduces layer-wise deviation; with iterations, the mean-square error of the output layer can approach near zero in ideal cases.
- On ImageNet with 6 time-steps, the method achieves 67.12% top-1 accuracy (as cited in abstract); on CIFAR-10/100 and ImageNet, it demonstrates state-of-the-art or competitive results with ultralow latency compared to prior ANN-SNN methods.
- The method shows an iterative property where applying the shifting operation multiple times further reduces ψ^l toward zero.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.