[Paper Review] ApproxDet: Content and Contention-Aware Approximate Object Detection for Mobiles
ApproxDet is a content and contention-aware approximate object detection framework for mobile devices that dynamically selects from a multi-branch Faster R-CNN architecture based on real-time video content and system resource conditions. By combining data-driven performance modeling with a latency-SLA-driven scheduler, it achieves 52% lower latency and 11.1% higher accuracy than YOLOv3 while maintaining low switching overhead through a single-model design.
Advanced video analytic systems, including scene classification and object detection, have seen widespread success in various domains such as smart cities and autonomous transportation. With an ever-growing number of powerful client devices, there is incentive to move these heavy video analytics workloads from the cloud to mobile devices to achieve low latency and real-time processing and to preserve user privacy. However, most video analytic systems are heavyweight and are trained offline with some pre-defined latency or accuracy requirements. This makes them unable to adapt at runtime in the face of three types of dynamism -- the input video characteristics change, the amount of compute resources available on the node changes due to co-located applications, and the user's latency-accuracy requirements change. In this paper we introduce ApproxDet, an adaptive video object detection framework for mobile devices to meet accuracy-latency requirements in the face of changing content and resource contention scenarios. To achieve this, we introduce a multi-branch object detection kernel (layered on Faster R-CNN), which incorporates a data-driven modeling approach on the performance metrics, and a latency SLA-driven scheduler to pick the best execution branch at runtime. We couple this kernel with approximable video object tracking algorithms to create an end-to-end video object detection system. We evaluate ApproxDet on a large benchmark video dataset and compare quantitatively to AdaScale and YOLOv3. We find that ApproxDet is able to adapt to a wide variety of contention and content characteristics and outshines all baselines, e.g., it achieves 52% lower latency and 11.1% higher accuracy over YOLOv3.
Motivation & Objective
- To address the challenge of adapting video object detection to dynamic runtime conditions on mobile devices, including changing video content and fluctuating system resource availability.
- To overcome the limitations of existing object detectors that are static and cannot adapt to real-time variations in input content or system contention.
- To design a single-model system that enables runtime adaptation for both accuracy and latency under diverse workloads.
- To integrate approximate computing principles with deep learning inference for mobile vision workloads, preserving privacy and reducing latency.
- To enable real-time, privacy-preserving video analytics on edge devices by co-optimizing for content-awareness and system-awareness.
Proposed method
- Proposes a multi-branch Faster R-CNN-based detection kernel that enables dynamic selection of inference paths based on input content and system conditions.
- Employs a data-driven performance modeling approach to predict latency and accuracy across different branches under varying resource contention levels.
- Introduces a latency-SLA-driven scheduler that selects the optimal execution branch at runtime to meet user-defined latency constraints.
- Integrates approximable video object tracking algorithms to reduce redundant processing in temporally coherent video frames.
- Uses a single adaptive DNN model instead of multiple co-resident models, minimizing memory and switching overhead.
- Leverages runtime feedback to adjust detection complexity based on both video content dynamics and concurrent application workloads.
Experimental results
Research questions
- RQ1How can object detection on mobile devices be made adaptive to changes in video content characteristics?
- RQ2How can system-level resource contention from co-located applications be modeled and mitigated during inference?
- RQ3Can a single-model architecture outperform multi-model or model-offloading approaches in terms of latency, accuracy, and runtime adaptability?
- RQ4To what extent can joint content and contention awareness improve the trade-off between accuracy and latency in mobile video analytics?
- RQ5How does the proposed system compare to state-of-the-art models like YOLOv3 and AdaScale under real-world dynamic conditions?
Key findings
- ApproxDet reduces average inference latency by 52% compared to YOLOv3 on the ImageNet VID dataset.
- ApproxDet achieves 11.1% higher mean average precision (mAP) than YOLOv3 under the same latency constraints.
- The system maintains low switching overhead due to its single-model design, avoiding the need for on-the-fly model loading or swapping.
- ApproxDet successfully adapts to diverse content and contention scenarios, demonstrating robustness across multiple real-world conditions.
- The latency-SLA-driven scheduler effectively balances accuracy and latency, ensuring compliance with user-defined performance requirements.
- Compared to AdaScale, ApproxDet outperforms in both latency and accuracy by jointly modeling content and system contention.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.