Efficient Object Detection in Autonomous Driving using Spiking Neural Networks: Performance, Energy Consumption Analysis, and Insights into Open-set Object Discovery

Aitor Martínez-Seras, Javier Del Ser, Pablo García Bringas

TL;DR

This paper explores the use of Spiking Neural Networks (SNNs) for efficient and autonomous object detection in self-driving cars. They demonstrate that SNNs can achieve competitive detection performance with significantly reduced energy consumption (up to 85% savings) and offer some robustness to noise, while also proposing a method for discovering novel objects without retraining.

What Problem Does This Paper Address?

Autonomous vehicles rely heavily on accurate perception systems to understand their surroundings and make safe decisions. Traditional deep learning-based object detectors, while powerful, face two major challenges in this domain:

  1. Energy Consumption: These models are computationally intensive, requiring significant power, which is a critical concern for mobile, self-powered vehicles.
  2. Open-World Learning: Current detectors are trained on a fixed set of object classes. They struggle to identify and adapt to new, previously unseen objects that might appear in dynamic driving environments, often misclassifying them as background.

This paper aims to address both the efficiency and the open-world learning challenges in object detection for autonomous driving.

Methods

The core of this work is the development of a fully-spiking Spiking Neural Network (SNN) object detector. Instead of relying on traditional Artificial Neural Network (ANN) to SNN conversion methods, which can be inefficient, they directly train an SNN architecture.

Key methodological aspects include:

  • Direct SNN Training: They adapt the well-known two-stage Faster RCNN architecture to be fully spiking. This involves using Surrogate Gradient (SG) methods to enable gradient-based training of the non-differentiable spiking neurons.
  • Modular Design: The Faster RCNN architecture is broken down into three independent processing stages: backbone (feature extraction), Region Proposal Network (RPN), and detector. Each stage can be trained with its own simulation time, allowing for a trade-off between performance and energy efficiency.
  • ANN Backbone: For feature extraction, they leverage a pre-trained traditional ANN backbone (ResNet-50 with FPN). This is a pragmatic choice as fully-spiking backbones with FPN are scarce and less performant.
  • Novel Object Discovery: To address the open-set problem without retraining, they propose a heuristic. This method exploits the information from background predictions generated by the detector. If a background prediction doesn't overlap with known objects but does overlap with high-objectness proposals from the RPN, it's flagged as a potential new object. This score is weighted by the overlap and objectness of proposals.

Datasets

The paper evaluates their object detection model on three standard autonomous driving datasets:

  • Cityscapes: Contains images from urban scenes in Germany, with 8 object classes.
  • Indian Driving Dataset (IDD): Features images from Hyderabad and Bangalore, with 15 object classes.
  • Berkeley Deep Drive (BDD): A large dataset with images from diverse environmental conditions and 10 object classes.

Key Insights and Ideas

  • SNNs are Viable for Complex Tasks: This work demonstrates that SNNs, when directly trained, can achieve competitive performance on a complex task like object detection, challenging the notion that they are only suitable for simpler tasks or require ANN-to-SNN conversion.
  • Significant Energy Savings: The primary advantage of SNNs is their energy efficiency. The paper quantifies substantial savings (up to 85%) compared to their ANN counterparts, making them highly attractive for energy-constrained autonomous systems.
  • Performance-Efficiency Trade-off: The modular design of the SNN detector allows for fine-grained control over the performance-efficiency balance by adjusting simulation times for different modules. The RPN's simulation time (Trpn) appears to have a greater impact on this trade-off than the detector's (Tdet).
  • Inherent Challenges of Open-Set Discovery: The proposed heuristic for novel object discovery highlights the difficulty of identifying unknown objects without retraining. The RPN's inherent bias towards known classes can lead to high objectness scores for objects that resemble known classes, causing false positives for novel object detection.

Key Results

  • Performance: The SNN-based object detector achieved competitive results, with performance gaps to fine-tuned ANN models typically less than 1.8% in terms of mAP.5 and mAP.5:.95 across the tested datasets. In some cases, the non-fine-tuned SNN even slightly outperformed the non-fine-tuned ANN.
  • Energy Efficiency: The SNN detector achieved significant energy savings, with a reduction of up to 85% compared to the ANN version.
  • Robustness to Noise: The SNN detector showed comparable or slightly better robustness to Gaussian and rain simulation noise compared to ANN models, particularly when not fine-tuned.
  • Novel Object Discovery: The proposed heuristic was able to identify potential new objects, though qualitative analysis revealed limitations due to the RPN's class bias.

Limitations and Future Work

  • Limitations:
    • The proposed novel object discovery method is a heuristic and suffers from the RPN's bias towards known classes, leading to some false positives.
  • The current architecture uses an ANN backbone, not a fully-spiking one.
  • The paper does not characterize or incrementally incorporate new classes into the model's knowledge; it focuses on discovery.
  • Future Work:
    • Improve the performance of the SNN detector at both training and inference phases.
  • Develop advanced open-set capabilities to actively detect and characterize new objects.
  • Investigate fully-spiking backbones for enhanced resilience to image artifacts.
  • Explore methods for autonomously adding new classes to the model's knowledge.

Summary updated

BibTeX
@inproceedings{martinezseras2023efficient,
  author = {Aitor Martínez-Seras and Javier Del Ser and Pablo García Bringas},
  title = {{Efficient Object Detection in Autonomous Driving using Spiking Neural Networks: Performance, Energy Consumption Analysis, and Insights into Open-set Object Discovery}},
  booktitle = {ITSC},
  year = {2023},
  url = {https://openreview.net/forum?id=slAZ5wv4KL},
}
Figure