AyE-Edge: Automated Deployment Space Search Empowering Accuracy yet Efficient Real-Time Object Detection on the Edge

Chao Wu, Yifan Gong, Liangkai Liu, Mengquan Li, Yushu Wu, Xuan Shen, Zhimin Li, Geng Yuan, Weisong Shi, Yanzhi Wang

Abstract

Deploying real-time object detection on edge devices involves navigating a complex trade-off between detection accuracy, power consumption, and latency. AyE-Edge is an automated framework that addresses this "deployment dilemma" through a holistic Multi-Agent Reinforcement Learning (MARL) approach. By co-optimizing data-level keyframe selection, model-level DNN pruning, and hardware-level configurations, AyE-Edge achieves up to a 96.7% reduction in power consumption compared to unoptimized baselines while maintaining high accuracy and meeting strict real-time constraints.

Introduction

Real-time object detection (Edge-OD) is critical for applications like autonomous driving and drone navigation. However, edge devices are constrained by limited battery life and thermal envelopes. Existing optimization techniques—such as frame skipping, weight pruning, and Dynamic Voltage and Frequency Scaling (DVFS)—are often studied in isolation. AyE-Edge proposes a unified framework to coordinate these layers, finding the Pareto-optimal configurations that satisfy sub-33ms latency requirements without sacrificing precision.

System Architecture and Methods

AyE-Edge introduces a three-pronged automated search strategy to navigate the massive deployment space.

AyE-Edge System Architecture: A holistic framework coordinating keyframe selection, DNN pruning, and hardware scaling.

1. Optimized Deployment Space

  • T-Locality Keyframe Selector: Uses "Temporal Locality" and linear regression on similarity scores (SSIM) to predict essential frames, reducing redundant processing.
  • L-Constrained DNN Pruner: Employs a look-up table (LUT) to estimate performance bounds for pruning ratios based on target latency, avoiding costly retraining.
  • CPU Core Cluster Selector: Intelligently assigns data transfer tasks to ARM "big.LITTLE" clusters. Utilizing "little" cores for GPU feeding can reduce power by 60% with minimal speed impact.

2. Performance Collection and Coordination

The system utilizes a lightweight Latency Predictor with a novel analytical formula (1.9% average error) to account for concurrent CPU and GPU tasks. A MARL-assisted Coordinator serves as the central engine, using three parallel Reinforcement Learning agents (D-Agent for hardware, K-Agent for keyframes, and P-Agent for pruning) that communicate via a shared Recurrent Neural Network (RNN) to find optimal settings.

Key Insights and Results

Evaluations on a Snapdragon 865-powered smartphone using the BDD100K dataset demonstrate the framework's efficacy.

Comprehensive performance analysis: (a) Pareto-optimal trade-offs, (b) Detection accuracy (mAP), (c) Power consumption, and (d) Real-time latency across different configurations.
  • Synergy Over Silos: The "best" configuration is rarely the fastest model or lowest frequency alone. Instead, it is a specific middle-ground—such as a denser model combined with more aggressive frame skipping—that maximizes accuracy-per-watt.
  • Power Efficiency: AyE-Edge reduced power consumption by 96.7% compared to the "Origin" baseline (max hardware settings for every frame).
  • Accuracy and Latency: On YOLO-v5, it achieved 70.3 mAP, slightly exceeding the unoptimized baseline (70.2) while consistently meeting the 33ms (30 FPS) latency target.
  • Minimal Overhead: The coordinator and predictor add only 313μs of overhead, making the optimization process virtually cost-free.

Conclusion

AyE-Edge successfully automates the search for efficient yet accurate edge object detection configurations. By breaking down the silos between data, model, and hardware optimizations, it provides a scalable solution for power-constrained real-time applications. Future work will explore multi-tenant scenarios where devices run multiple concurrent vision tasks and extend the framework to ultra-low-power microcontrollers.

Summary updated

BibTeX
@inproceedings{wu2024aye,
  author = {Chao Wu and Yifan Gong and Liangkai Liu and Mengquan Li and Yushu Wu and Xuan Shen and Zhimin Li and Geng Yuan and Weisong Shi and Yanzhi Wang},
  title = {{AyE-Edge: Automated Deployment Space Search Empowering Accuracy yet Efficient Real-Time Object Detection on the Edge}},
  booktitle = {ICCAD},
  year = {2024},
  url = {https://openreview.net/forum?id=He7beTHwZr},
}
Figure