Skip to main content
QUICK REVIEW

[Paper Review] Squeezed Edge YOLO: Onboard Object Detection on Edge Devices

Edward Humes, Mozhgan Navardi|arXiv (Cornell University)|Dec 18, 2023
Advanced Neural Network ApplicationsComputer Science5 citations
TL;DR

This paper proposes Squeezed Edge YOLO, a highly compressed YOLO-based object detection model optimized for resource-constrained edge devices. By applying hardware-aware quantization and architectural pruning, the model reduces parameter count to 931K (8x smaller than YOLOv5s), achieving 76% higher energy efficiency and 3.3x faster throughput on an NVIDIA Jetson Nano, with successful deployment on a GAP8 processor despite extreme memory constraints.

ABSTRACT

Demand for efficient onboard object detection is increasing due to its key role in autonomous navigation. However, deploying object detection models such as YOLO on resource constrained edge devices is challenging due to the high computational requirements of such models. In this paper, an compressed object detection model named Squeezed Edge YOLO is examined. This model is compressed and optimized to kilobytes of parameters in order to fit onboard such edge devices. To evaluate Squeezed Edge YOLO, two use cases - human and shape detection - are used to show the model accuracy and performance. Moreover, the model is deployed onboard a GAP8 processor with 8 RISC-V cores and an NVIDIA Jetson Nano with 4GB of memory. Experimental results show Squeezed Edge YOLO model size is optimized by a factor of 8x which leads to 76% improvements in energy efficiency and 3.3x faster throughout.

Motivation & Objective

  • To enable real-time, low-power object detection on highly constrained edge devices such as the GAP8 microcontroller.
  • To address the challenge of deploying YOLO-based models on edge hardware with limited memory and computational capacity.
  • To optimize model size and inference efficiency through hardware-aware compression and quantization techniques.
  • To demonstrate successful deployment of a tiny YOLO model on both the GAP8 and NVIDIA Jetson Nano platforms.
  • To evaluate and compare energy efficiency, latency, and throughput against state-of-the-art edge-optimized YOLO models.

Proposed method

  • The Squeezed Edge YOLO model is derived from a base YOLO architecture through architectural pruning and parameter reduction to fit within kilobyte-scale memory constraints.
  • Model compression is achieved via 8-bit integer quantization to reduce memory footprint and enable execution on processors without floating-point units, such as the GAP8.
  • The model is compiled into C code using GreenWaves’ toolchain and deployed on the GAP8 using GVSOC for cycle-accurate simulation and on the AI-deck for real hardware benchmarking.
  • On the NVIDIA Jetson Nano, models are converted to TensorRT for GPU acceleration and evaluated for power consumption and throughput using on-board CPU and GPU monitoring.
  • Performance is analyzed through VCD traces to assess memory hierarchy utilization and data transfer efficiency between L1, L2, and L3 memory on the GAP8.
  • The model is evaluated on two datasets: human detection and shape detection, with mAP and latency used as key metrics.

Experimental results

Research questions

  • RQ1Can a YOLO-based object detector be compressed to fit within 8KB of parameters while maintaining acceptable accuracy for edge deployment?
  • RQ2How does the Squeezed Edge YOLO model perform in terms of energy efficiency and inference latency on the GAP8 processor compared to larger models?
  • RQ3What is the performance gain of Squeezed Edge YOLO over EdgeYOLO [10] in terms of throughput and energy efficiency on the Jetson Nano?
  • RQ4To what extent does hardware-aware model compression improve memory hierarchy utilization on ultra-low-power edge devices?
  • RQ5Can the model maintain high accuracy (mAP > 0.95) while being reduced to 7.5MB (8-bit) and 931K parameters?

Key findings

  • Squeezed Edge YOLO reduces model size to 7.5MB (8-bit) and 931K parameters, achieving an 8x compression factor compared to YOLOv5s.
  • The model achieves 76% improvement in energy efficiency on the Jetson Nano, reducing energy per inference from 1068 mJ to 251.5 mJ.
  • Throughput increases to 14.2 inferences per second (3.3x faster) compared to EdgeYOLO’s 4.2 inferences per second on the Jetson Nano.
  • The model successfully deploys on the GAP8 processor, which previously failed to run EdgeYOLO due to stack overflow and memory limitations.
  • VCD traces show efficient memory hierarchy utilization, with Squeezed Edge YOLO minimizing reliance on slower L3 memory compared to larger variants.
  • On the Jetson Nano, Squeezed Edge YOLO consumes 2434 mW GPU power and 1158 mW CPU power, significantly lower than EdgeYOLO’s 3846 mW and 777 mW respectively.

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.