Edge-Cloud Collaborated Object Detection via Difficult-Case Discriminator

Zhiqiang Cao, Zhijun Li, Pan Heng, Yongrui Chen, Daqi Xie, Jie LiuICDCS 2021

Abstract

Running state-of-the-art object detection on edge devices is challenging due to computational constraints, while full cloud offloading suffers from high latency and bandwidth consumption. This paper proposes a "small-big" edge-cloud framework that utilizes a lightweight edge model for simple cases and a novel "difficult-case discriminator" to selectively route complex images to a heavyweight cloud model. Experimental results demonstrate that this approach reduces bandwidth usage by 50% and inference latency by 32%, while maintaining over 91% of the accuracy of a cloud-only system.

Problem Statement

Deep learning models for object detection, such as YOLO or SSD, are computationally intensive, making them difficult to deploy on resource-constrained edge devices like IoT cameras or drones. Traditional "cloud offloading" sends all video frames to a remote server, which consumes significant bandwidth and introduces high end-to-end latency. While "model partitioning" (splitting layers between edge and cloud) works for classification, it is often counterproductive for object detection because intermediate feature maps can be larger than the original raw images, increasing communication overhead.

Proposed Methodology

To solve this, the authors propose a Small-Big Model Framework paired with a Difficult-Case Discriminator.

Small-Big Architecture

Instead of splitting a single model, the system deploys two complete models: a heavily pruned, lightweight "small model" (e.g., a modified VGG-Lite) on the edge, and a heavyweight "big model" (e.g., full SSD) on the cloud.

The Small-Big Model Framework workflow, illustrating the interaction between the edge-based small model, the discriminator, and the cloud-based big model.

Difficult-Case Discriminator

The discriminator acts as the routing logic on the edge. When an image is captured, the small model makes a preliminary prediction. The discriminator then analyzes this prediction to decide if the image is an "easy case" (keep the local result) or a "difficult case" (send the raw image to the cloud). Crucially, the discriminator is a lightweight, threshold-based algorithm that calculates two metrics: the number of detected objects and the minimum object area ratio. If the image is too crowded or objects are too small, it is flagged as difficult.

Key Insights

The paper highlights a critical limitation in current research: splitting object detection models mid-network is often inefficient due to large intermediate feature maps. Instead, the authors found that a small model's failure modes are highly predictable based on scene complexity.

Scatter plot showing the distribution of easy and difficult cases based on the number of objects and the minimum object area ratio, justifying the discriminator's logic.

By using the small model's own preliminary outputs to gatekeep cloud uploads, the system bridges the semantic gap with virtually zero additional computational cost compared to adding extra convolutional layers for routing.

Experimental Evaluation

The framework was evaluated on PASCAL VOC, MS COCO, and the real-world HELMET dataset (featuring construction site noise like blur and occlusion).

  • Bandwidth and Latency: The system uploads only ~50% of images to the cloud, effectively halving bandwidth requirements and reducing average inference time by 32% compared to cloud-only approaches.
  • Accuracy: The framework achieves 91.22%–92.52% of the mean Average Precision (mAP) of a pure cloud-only setup.
  • Routing Performance: The proposed discriminator outperforms naive strategies (like random offloading or confidence-based routing) by up to 11.66% in mAP.

Conclusion and Future Work

The Small-Big Model Framework offers a practical solution for edge-cloud object detection by avoiding the "feature map trap" and using an intuitive difficulty discriminator. While there is a minor accuracy trade-off (7.5%–8.8% mAP loss), the efficiency gains are substantial. Future work includes using Reinforcement Learning to refine routing decisions and Neural Architecture Search (NAS) to automate the design of optimized small models for specific hardware.

Summary updated

BibTeX
@misc{cao2021edge,
  author = {Zhiqiang Cao and Zhijun Li and Pan Heng and Yongrui Chen and Daqi Xie and Jie Liu},
  title = {{Edge-Cloud Collaborated Object Detection via Difficult-Case Discriminator}},
  year = {2021},
  eprint = {2108.12858},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2108.12858},
}
Figure