Skip to main content
QUICK REVIEW

[Paper Review] Integer-Valued Training and Spike-Driven Inference Spiking Neural Network for High-performance and Energy-efficient Object Detection

Xinhao Luo, Man Yao|arXiv (Cornell University)|Jul 30, 2024
Advanced Memory and Neural ComputingEngineering5 citations
TL;DR

Presents SpikeYOLO, a Spike Neural Network approach with Integer Leaky Integrate-and-Fire (I-LIF) neurons and a simplified YOLO-based architecture to achieve high object-detection accuracy with low power on both static and neuromorphic datasets.

ABSTRACT

Brain-inspired Spiking Neural Networks (SNNs) have bio-plausibility and low-power advantages over Artificial Neural Networks (ANNs). Applications of SNNs are currently limited to simple classification tasks because of their poor performance. In this work, we focus on bridging the performance gap between ANNs and SNNs on object detection. Our design revolves around network architecture and spiking neuron. First, the overly complex module design causes spike degradation when the YOLO series is converted to the corresponding spiking version. We design a SpikeYOLO architecture to solve this problem by simplifying the vanilla YOLO and incorporating meta SNN blocks. Second, object detection is more sensitive to quantization errors in the conversion of membrane potentials into binary spikes by spiking neurons. To address this challenge, we design a new spiking neuron that activates Integer values during training while maintaining spike-driven by extending virtual timesteps during inference. The proposed method is validated on both static and neuromorphic object detection datasets. On the static COCO dataset, we obtain 66.2% mAP@50 and 48.9% mAP@50:95, which is +15.0% and +18.7% higher than the prior state-of-the-art SNN, respectively. On the neuromorphic Gen1 dataset, we achieve 67.2% mAP@50, which is +2.5% greater than the ANN with equivalent architecture, and the energy efficiency is improved by 5.7*. Code: https://github.com/BICLab/SpikeYOLO

Motivation & Objective

  • Bridge the performance gap between ANN and SNN for object detection.
  • Reduce spike degradation when converting complex CNN modules to SNN form.
  • Introduce integer-valued training to mitigate quantization errors in SNNs.
  • Enable spike-driven inference to preserve energy efficiency during deployment.

Proposed method

  • Propose SpikeYOLO, a simplified macro design of YOLOv8 integrated with meta SNN blocks for robust spike-based feature extraction.
  • Introduce I-LIF, an integer-valued spiking neuron that trains with integer activations and converts to binary spikes during inference to reduce quantization error.
  • Use extended virtual timesteps during inference to map integer activations to spike-driven computations.
  • Adapt input handling for static images and neuromorphic event streams, including a SpikeYOLO architecture with two specialized SNN blocks (SNN-Block-1 and SNN-Block-2).
  • Evaluate on static COCO 2017 val and neuromorphic Gen1 datasets, and compare against prior SNNs and ANNs with respect to mAP and energy efficiency.
Figure 1 : The overall architecture of SpikeYOLO. We designed two SNN blocks, SNN-Block-1 and SNN-Block-2, and kept other architectures remain as YOLOv8. SNN-Block-1 employs standard convolution within its $\rm{ChannelConv\left(\cdot\right)}$ component, whereas SNN-Block-2 utilizes re-parameterizati
Figure 1 : The overall architecture of SpikeYOLO. We designed two SNN blocks, SNN-Block-1 and SNN-Block-2, and kept other architectures remain as YOLOv8. SNN-Block-1 employs standard convolution within its $\rm{ChannelConv\left(\cdot\right)}$ component, whereas SNN-Block-2 utilizes re-parameterizati

Experimental results

Research questions

  • RQ1Can SpikeYOLO close the performance gap between SNNs and ANNs for object detection on standard and neuromorphic datasets?
  • RQ2Does integer-valued training via I-LIF reduce quantization error sufficiently to improve detection accuracy without sacrificing spike-driven inference?
  • RQ3What architectural adaptations (block designs and detection heads) are necessary for effective SNN-based object detection?
  • RQ4How do timesteps (T) and maximum integer activation (D) influence performance and energy consumption on COCO and Gen1 datasets?

Key findings

  • SpikeYOLO achieves 66.2% mAP@50 and 48.9% mAP@50:95 on COCO 2017 val, surpassing prior SNNs by 15.0% and 18.7% respectively.
  • On the Gen1 neuromorphic dataset, SpikeYOLO attains 67.2% mAP@50, exceeding the equivalent-architecture ANN by 2.5% and delivering about 5.7× energy efficiency.
  • The I-LIF neuron reduces quantization error by training with integer activations and converting to spikes via extended virtual timesteps, enabling spike-driven inference.
  • Architectural ablations show that simplifying YOLO modules and using meta SNN blocks yields substantial gains over direct ANN-to-SNN conversions and over more complex SNN designs.
  • Quantization-parameter studies indicate increasing the maximum integer value D often reduces quantization error and can improve accuracy more effectively than simply increasing timesteps T, with notable energy implications.
  • SpikeYOLO achieves strong results on COCO while maintaining lower energy consumption compared to comparable ANN models, and demonstrates favorable performance on Gen1 with significant energy efficiency gains.
Figure 2 : Comparison of I-LIF and LIF. Binary spikes are emitted by LIF during both training and inference processes, which results in quantization errors. I-LIF emits integer values during the training process to reduce quantization errors, and converts them into binary spikes during inference to
Figure 2 : Comparison of I-LIF and LIF. Binary spikes are emitted by LIF during both training and inference processes, which results in quantization errors. I-LIF emits integer values during the training process to reduce quantization errors, and converts them into binary spikes during inference to

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.