A fully spiking hybrid neural network for energy-efficient object detection

Biswadeep Chakraborty, Xueyuan She, Saibal Mukhopadhyay · DOI

Abstract

Deep Neural Networks (DNNs) are the current standard for object detection but suffer from high power consumption, limiting their use in edge computing. Spiking Neural Networks (SNNs) mimic biological efficiency but often lack the accuracy required for complex regression tasks. We present the Fully Spiking Hybrid Neural Network (FSHNN), which combines unsupervised Spike Time-Dependent Plasticity (STDP) for feature extraction with supervised Spike-based Backpropagation (STBP) for classification and regression. Our results demonstrate that FSHNN achieves superior accuracy (0.426 mAP on MSCOCO) and ~150x greater energy efficiency compared to traditional DNNs like RetinaNet.

Introduction

Deploying advanced object detection on lightweight drones or battery-operated robots requires a paradigm shift in computational efficiency. While DNNs excel at these tasks, their reliance on continuous-value activations and power-intensive multiply-accumulate (MAC) operations is a bottleneck. SNNs, which communicate via discrete spikes, offer a solution by replacing MACs with simple additions. However, SNNs have historically faced challenges in high-precision tasks like bounding box regression. The FSHNN addresses these challenges through a hybrid learning framework that leverages both biological and gradient-based optimization.

Architectural Framework

The FSHNN is built upon a RetinaNet template with a ResNet-101 backbone. The architecture is divided into specialized modules to balance robust feature extraction with precise localization.

The FSHNN architecture integrates STDP and BP SCNN modules with a Spiking ResNet and Feature Pyramid Network.

The network employs a dual-pathway front-end:

  1. STDP SCNN Module: Trained via unsupervised Spike Time-Dependent Plasticity to capture fundamental visual features like edges and textures.
  2. BP SCNN Module: Trained via supervised backpropagation to refine these features for specific detection tasks.

These pathways feed into a Spiking ResNet backbone and a Spiking Feature Pyramid Network (SFPN), which handles multi-scale object detection through dedicated class and box subnets.

Hybrid Learning and Conversion

A key innovation of the FSHNN is its multi-stage training pipeline. The process begins with standard DNN training, followed by a specialized conversion and fine-tuning process to ensure the spiking neurons maintain high precision.

The training pipeline involves DNN-to-SNN conversion followed by STDB fine-tuning to create the final FSHNN.

The methodology includes:

  • Unsupervised Pre-training: Lower layers are trained on the ImageNet Traffic dataset using STDP. This biological learning rule adjusts synaptic weights based on spike timing, leading to better generalization and noise robustness.
  • DNN-to-SNN Conversion: The higher-level layers of a pre-trained RetinaNet are converted into spiking equivalents.
  • STDB Fine-tuning: To overcome the precision loss typical in SNN regression, the authors use Spike-based Backpropagation (STBP) and channel-wise normalization. This ensures that even at low firing rates, the network can accurately regress bounding box coordinates.

Results and Efficiency

The FSHNN was evaluated on the MSCOCO benchmark, where it achieved a Mean Average Precision (mAP) of 0.426, significantly higher than the 0.388 mAP of the baseline DNN RetinaNet.

Beyond accuracy, the energy benefits are substantial. By utilizing spike-based computation, the FSHNN is estimated to be 147x to 154x more energy-efficient than its DNN counterpart. This efficiency stems from the sparsity of spikes and the hardware-level advantage of using additions instead of multiplications.

Furthermore, the hybrid approach provides remarkable robustness. In noisy environments (15dB SNR), the FSHNN's performance dropped only slightly to 0.328 mAP, whereas the standard RetinaNet fell to 0.274. The model also showed superior performance when training data was scarce, outperforming the baseline by nearly 35% when only 40% of the labels were available.

Conclusion

The Fully Spiking Hybrid Neural Network demonstrates that SNNs can be both more accurate and significantly more efficient than traditional DNNs for complex object detection. By combining the generalization power of STDP with the precision of supervised backpropagation, FSHNN paves the way for high-performance, low-power computer vision on the edge. Future work will focus on optimizing temporal latency and deploying these models on specialized neuromorphic hardware.

Summary updated

BibTeX
@article{chakraborty2021fully,
  author = {Biswadeep Chakraborty and Xueyuan She and Saibal Mukhopadhyay},
  title = {{A fully spiking hybrid neural network for energy-efficient object detection}},
  journal = {IEEE Trans. Image Process.},
  year = {2021},
  doi = {10.1109/tip.2021.3122092},
}
Figure