Skip to main content
QUICK REVIEW

[Paper Review] TOD: Transprecise Object Detection to Maximise Real-Time Accuracy on the Edge

Junkyu Lee, Blesson Varghese|arXiv (Cornell University)|May 18, 2021
Advanced Neural Network ApplicationsComputer Science16 references12 citations
TL;DR

TOD (Transprecise Object Detection) dynamically selects optimal YOLO-based deep neural networks (DNNs) on the edge by analyzing bounding box sizes and motion characteristics to maximize real-time object detection accuracy with negligible computational overhead. It improves average precision by 34.7% over YOLOv4-tiny-288 on MOT17Det and uses only 45.1% of GPU resources and 62.7% of power compared to YOLOv4-416, maintaining full accuracy.

ABSTRACT

Real-time video analytics on the edge is challenging as the computationally constrained resources typically cannot analyse video streams at full fidelity and frame rate, which results in loss of accuracy. This paper proposes a Transprecise Object Detector (TOD) which maximises the real-time object detection accuracy on an edge device by selecting an appropriate Deep Neural Network (DNN) on the fly with negligible computational overhead. TOD makes two key contributions over the state of the art: (1) TOD leverages characteristics of the video stream such as object size and speed of movement to identify networks with high prediction accuracy for the current frames; (2) it selects the best-performing network based on projected accuracy and computational demand using an effective and low-overhead decision mechanism. Experimental evaluation on a Jetson Nano demonstrates that TOD improves the average object detection precision by 34.7 % over the YOLOv4-tiny-288 model on average over the MOT17Det dataset. In the MOT17-05 test dataset, TOD utilises only 45.1 % of GPU resource and 62.7 % of the GPU board power without losing accuracy, compared to YOLOv4-416 model. We expect that TOD will maximise the application of edge devices to real-time object detection, since TOD maximises real-time object detection accuracy given edge devices according to dynamic input features without increasing inference latency in practice.

Motivation & Objective

  • To address the challenge of maintaining high object detection accuracy in real-time video analytics on computationally constrained edge devices.
  • To overcome the trade-off between model accuracy and inference speed, especially when small objects or high frame rates are involved.
  • To develop a low-overhead, dynamic DNN selection mechanism that adapts to changing video stream characteristics such as object size and motion speed.
  • To maximize real-time detection accuracy on edge platforms like Jetson Nano without increasing inference latency.
  • To enable efficient, scalable deployment of real-time video analytics on edge devices by minimizing cloud data transfer and resource usage.

Proposed method

  • TOD employs a runtime decision mechanism that selects the most appropriate DNN for each frame based on the median size of detected bounding boxes and object motion characteristics.
  • It uses a hyperparameter search to pre-optimize the threshold (Hopt) that determines when to switch between lightweight (YOLOv4-tiny) and full-precision (YOLOv4) models for optimal accuracy and efficiency.
  • The system leverages insights from prior work showing that smaller, faster-moving objects benefit from lightweight models, while larger, slower-moving objects require heavier models for accuracy.
  • TOD maintains four YOLO models in memory (YOLOv4-tiny-288, YOLOv4-tiny-416, YOLOv4-288, YOLOv4-416) and dynamically switches between them based on real-time frame analysis.
  • The decision logic is implemented with minimal overhead—only computing the median bounding box size per frame, which is computationally negligible compared to DNN inference.
  • The system is evaluated on a Jetson Nano using the MOT17Det dataset, with performance measured via average precision, GPU utilization, and power consumption.

Experimental results

Research questions

  • RQ1Can dynamic DNN selection based on real-time video frame features improve object detection accuracy on edge devices without increasing latency?
  • RQ2How can the trade-off between model accuracy and computational cost be optimized in real-time edge object detection?
  • RQ3What video stream characteristics (e.g., object size, motion speed) best predict the optimal DNN for a given frame?
  • RQ4Can a lightweight, low-overhead decision mechanism outperform periodic re-evaluation or heuristic switching in real-time object detection?
  • RQ5To what extent can GPU resource and power consumption be reduced while maintaining or improving detection accuracy on edge platforms?

Key findings

  • TOD improves average detection precision by 34.7% over YOLOv4-tiny-288 across all MOT17Det datasets.
  • On the MOT17-05 dataset, TOD maintains full accuracy while using only 45.1% of the GPU resources and 62.7% of the GPU board power compared to YOLOv4-416.
  • The median bounding box size per frame is a strong predictor for selecting the optimal DNN, enabling low-overhead, real-time decision-making.
  • TOD’s computational overhead is negligible—limited to computing the median bounding box size per frame, which is insignificant compared to DNN inference latency.
  • The system achieves equivalent or better accuracy than the best individual DNN across all MOT17Det sequences, including challenging dynamic camera and fast-moving object scenarios.
  • Hyperparameter tuning via grid search identifies optimal switching thresholds (Hopt) tailored to dataset characteristics and hardware constraints, ensuring consistent performance across diverse use cases.

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.