[Paper Review] Spike Calibration: Fast and Accurate Conversion of Spiking Neural Network for Object Detection and Segmentation
This paper proposes Spike Calibration (SpiCalib), a novel method to enable fast, accurate, and energy-efficient conversion of artificial neural networks (ANNs) into spiking neural networks (SNNs) for complex tasks like object detection and semantic segmentation. By theoretically analyzing conversion errors—particularly from spiking neurons inactivated in ANN but firing in SNN (SIN error)—SpiCalib corrects false spikes via interspike interval monitoring and modifies LIPooling to enable lossless MaxPooling conversion, achieving SNN performance on par with ANN in 128 time steps with 0.492× energy consumption.
Spiking neural network (SNN) has been attached to great importance due to the properties of high biological plausibility and low energy consumption on neuromorphic hardware. As an efficient method to obtain deep SNN, the conversion method has exhibited high performance on various large-scale datasets. However, it typically suffers from severe performance degradation and high time delays. In particular, most of the previous work focuses on simple classification tasks while ignoring the precise approximation to ANN output. In this paper, we first theoretically analyze the conversion errors and derive the harmful effects of time-varying extremes on synaptic currents. We propose the Spike Calibration (SpiCalib) to eliminate the damage of discrete spikes to the output distribution and modify the LIPooling to allow conversion of the arbitrary MaxPooling layer losslessly. Moreover, Bayesian optimization for optimal normalization parameters is proposed to avoid empirical settings. The experimental results demonstrate the state-of-the-art performance on classification, object detection, and segmentation tasks. To the best of our knowledge, this is the first time to obtain SNN comparable to ANN on these tasks simultaneously. Moreover, we only need 1/50 inference time of the previous work on the detection task and can achieve the same performance under 0.492$ imes$ energy consumption of ANN on the segmentation task.
Motivation & Objective
- To address severe performance degradation and high time delays in existing SNN conversion methods, especially for complex tasks like object detection and segmentation.
- To identify and correct conversion errors arising from discrete spikes and time-varying synaptic current extremes that distort output distributions.
- To enable lossless conversion of MaxPooling layers in SNNs by modifying LIPooling to preserve activation patterns.
- To optimize normalization parameters automatically using Bayesian optimization, avoiding heuristic tuning.
- To achieve SNN performance comparable to ANN on complex vision tasks while maintaining low energy consumption and fast inference.
Proposed method
- Theoretically analyze conversion errors into three categories: clipping error, Spikes of Inactivated Neurons (SIN) error, and MaxPooling error, with SIN error being the most harmful due to time-varying synaptic current extremes.
- Propose Spike Calibration (SpiCalib) to detect and correct SIN errors by monitoring the average interspike interval (ISI) of neurons, identifying false spikes caused by transient current peaks.
- Modify LIPooling to allow lossless conversion of any MaxPooling layer in SNNs by preserving the maximum activation across time steps.
- Introduce Bayesian optimization to automatically tune the normalization parameter $ p $ in the $ p $-norm normalization, eliminating reliance on empirical settings.
- Integrate SpiCalib with existing conversion frameworks (e.g., Burst Spikes) and apply to classification, detection, and segmentation tasks using ResNet and FCN backbones.
Experimental results
Research questions
- RQ1What are the primary sources of performance degradation in ANN-to-SNN conversion, especially for complex vision tasks beyond simple classification?
- RQ2How do time-varying synaptic current extremes contribute to erroneous spiking in inactivated neurons (SIN error), and can this be corrected without altering network structure?
- RQ3Can MaxPooling layers be converted to SNNs without performance loss, and if so, what modification to LIPooling enables this?
- RQ4Can automatic hyperparameter optimization (e.g., for $ p $-norm normalization) improve conversion accuracy and generalization across tasks?
- RQ5Can SNNs achieve performance comparable to ANNs on object detection and semantic segmentation within a short simulation time and low energy budget?
Key findings
- SpiCalib achieves state-of-the-art performance on classification, object detection, and semantic segmentation tasks, with SNNs matching ANN performance on PASCAL VOC within 128 time steps.
- On object detection, the method reduces inference time to 1/50 of previous work while maintaining the same mean average precision (mAP) as the ANN baseline.
- For semantic segmentation using FCN on VOC, SpiCalib achieves 81.49% frequency-weighted IoU at T=128, matching the ANN’s 81.49% and outperforming baseline SNNs by up to 2.3 percentage points.
- The method reduces energy consumption to 0.492× that of the equivalent ANN in segmentation tasks, demonstrating strong energy efficiency.
- Bayesian optimization of normalization parameters improves generalization, and the combination of MLIPooling and SpiCalib achieves 81.49% f.w. IoU at T=256, matching the ANN exactly.
- Sparsity analysis shows firing rates between 0.0062 and 0.0319, confirming high sparsity and energy efficiency on neuromorphic hardware.
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.