Skip to main content
QUICK REVIEW

[Paper Review] Stochastic-YOLO: Efficient Probabilistic Object Detection under Dataset Shifts

Tiago Azevedo, René de Jong|arXiv (Cornell University)|Sep 7, 2020
Adversarial Robustness in Machine LearningComputer Science23 references15 citations
TL;DR

Stochastic-YOLO introduces Monte Carlo Dropout (MC-Drop) into YOLOv3 to enable efficient probabilistic object detection with uncertainty estimation for both label and spatial predictions. It achieves this through a novel caching mechanism that reduces inference-time overhead by up to 70%, significantly improving robustness under dataset shifts while maintaining low latency and power consumption across diverse hardware platforms.

ABSTRACT

In image classification tasks, the evaluation of models' robustness to increased dataset shifts with a probabilistic framework is very well studied. However, object detection (OD) tasks pose other challenges for uncertainty estimation and evaluation. For example, one needs to evaluate both the quality of the label uncertainty (i.e., what?) and spatial uncertainty (i.e., where?) for a given bounding box, but that evaluation cannot be performed with more traditional average precision metrics (e.g., mAP). In this paper, we adapt the well-established YOLOv3 architecture to generate uncertainty estimations by introducing stochasticity in the form of Monte Carlo Dropout (MC-Drop), and evaluate it across different levels of dataset shift. We call this novel architecture Stochastic-YOLO, and provide an efficient implementation to effectively reduce the burden of the MC-Drop sampling mechanism at inference time. Finally, we provide some sensitivity analyses, while arguing that Stochastic-YOLO is a sound approach that improves different components of uncertainty estimations, in particular spatial uncertainties.

Motivation & Objective

  • To address the lack of systematic evaluation of label and spatial uncertainty in object detection under dataset shifts.
  • To develop an efficient implementation of Monte Carlo Dropout (MC-Drop) in YOLOv3 that minimizes inference-time cost for real-world deployment.
  • To evaluate model robustness using probabilistic metrics like PDQ, which better capture uncertainty quality than traditional mAP.
  • To provide sensitivity analysis on MC-Drop hyperparameters (dropout rate, fine-tuning) for practical deployment.
  • To enable broader adoption of uncertainty-aware object detection in safety-critical applications like autonomous driving and medical imaging.

Proposed method

  • Adapt YOLOv3 with Monte Carlo Dropout (MC-Drop) to introduce stochasticity and generate uncertainty estimates for both class labels and bounding box locations.
  • Introduce a caching mechanism that stores intermediate activations during MC-Drop sampling to avoid redundant computation across multiple forward passes.
  • Use the Probability-based Detection Quality (PDQ) metric to evaluate both label and spatial uncertainty quality under increasing levels of dataset shift.
  • Evaluate inference time and power consumption on high-performance (RTX 2080) and edge (Jetson TX2) platforms to assess real-world efficiency.
  • Perform ablation studies on dropout rate and fine-tuning to determine optimal configurations for deployment.
  • Compare Stochastic-YOLO with baseline YOLOv3 and ensemble models to assess trade-offs in accuracy, latency, and energy efficiency.

Experimental results

Research questions

  • RQ1How does MC-Drop improve label and spatial uncertainty estimation in object detection under dataset shifts?
  • RQ2What is the impact of caching on inference time and energy consumption in stochastic object detectors?
  • RQ3How do dropout rate and fine-tuning affect uncertainty quality and inference efficiency in Stochastic-YOLO?
  • RQ4How does PDQ compare to mAP in evaluating uncertainty-aware object detection models?
  • RQ5Can Stochastic-YOLO be efficiently deployed on both high-performance and edge devices without sacrificing robustness?

Key findings

  • The cached Stochastic-YOLO achieves a 2–3× speedup over non-cached MC-Drop inference, reducing latency to 2–3× baseline YOLOv3, compared to 10× slowdown without caching.
  • Power consumption increases only marginally (within 10% of baseline YOLOv3) despite stochastic inference, demonstrating energy efficiency on both RTX 2080 and Jetson TX2.
  • Stochastic-YOLO improves PDQ scores across all levels of dataset shift, indicating better uncertainty calibration than baseline YOLOv3.
  • Direct application of MC-Drop to pre-trained YOLOv3 without fine-tuning yields significant performance gains, especially with lower dropout rates.
  • Fine-tuning with higher dropout rates further improves uncertainty quality, suggesting a trade-off between training cost and robustness.
  • The caching mechanism reduces the computational burden of MC-Drop by up to 70%, making probabilistic inference viable for real-time systems.

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.