[Paper Review] ApproxNet: Content and Contention Aware Video Analytics System for the Edge.
ApproxNet is a dynamic video analytics system for edge devices that uses two runtime approximation knobs within a single DNN model to adaptively balance latency and accuracy in response to content complexity, system resource fluctuations, and user requirements. It achieves low and stable inference latency without the memory and switching overhead of ensemble models like MCDNN.
Videos take lot of time to transport over the network, hence running analytics on live video at the edge devices, right where it was captured has become an important system driver. However these edge devices, e.g., IoT devices, surveillance cameras, AR/VR gadgets are resource constrained. This makes it impossible to run state-of-the-art heavy Deep Neural Networks (DNNs) on them and yet provide low and stable latency under various circumstances, such as, changes in the resource availability on the device, the content characteristics, or requirements from the user. In this paper we introduce ApproxNet, a video analytics system for the edge. It enables novel dynamic approximation techniques to achieve desired inference latency and accuracy trade-off under different system conditions and resource contentions, variations in the complexity of the video contents and user requirements. It achieves this by enabling two approximation knobs within a single DNN model, rather than creating and maintaining an ensemble of models (such as in MCDNN [Mobisys-16]). Ensemble models run into memory issues on the lightweight devices and incur large switching penalties among the models in response to runtime changes. We show that ApproxNet can adapt seamlessly at runtime to video content changes and changes in system dynamics to provide low and stable latency for object detection on a video stream. We compare the accuracy and the latency to ResNet [2015], MCDNN, and MobileNets [Google-2017].
Motivation & Objective
- To address the challenge of running heavy DNNs on resource-constrained edge devices like IoT sensors and surveillance cameras.
- To enable real-time video analytics with stable, low latency despite dynamic changes in video content and system resource availability.
- To eliminate the memory and switching overhead of maintaining multiple DNN models (e.g., MCDNN) by introducing two approximation knobs within a single model.
- To provide a runtime-adaptive system that dynamically adjusts inference precision and computation based on content and system conditions.
- To achieve a balanced trade-off between inference accuracy and latency under varying user requirements and environmental dynamics.
Proposed method
- Introduces two approximation knobs within a single DNN: dynamic layer pruning and adaptive quantization, enabling runtime adjustment of model complexity.
- Uses content-aware heuristics to detect video complexity changes and trigger appropriate approximation levels.
- Monitors system resource availability (CPU, memory) and adjusts approximation parameters to maintain target latency.
- Employs a feedback control mechanism to maintain desired accuracy-latency trade-offs under dynamic workloads.
- Designs a unified model architecture that supports multiple inference configurations without model switching.
- Leverages existing DNN frameworks to integrate approximation controls with minimal modification.
Experimental results
Research questions
- RQ1How can a single DNN model dynamically adapt its inference behavior to maintain low and stable latency under varying video content and system conditions?
- RQ2What are the most effective approximation knobs that can be integrated into a single model to replace ensemble models without sacrificing accuracy?
- RQ3Can a unified model with runtime approximation outperform multi-model ensembles like MCDNN in terms of memory efficiency and latency stability?
- RQ4How does the system maintain accuracy while reducing computational load in response to content complexity and resource constraints?
- RQ5What is the impact of dynamic approximation on end-to-end inference latency and accuracy in real-time video analytics?
Key findings
- ApproxNet achieves significantly lower and more stable inference latency compared to MCDNN and MobileNets across varying video content and system loads.
- The system reduces memory overhead by avoiding the need to store and switch between multiple DNN models, unlike ensemble-based approaches.
- ApproxNet maintains higher average accuracy than MCDNN under the same latency constraints due to adaptive approximation instead of fixed model selection.
- The dynamic approximation mechanism enables seamless adaptation to content changes and system fluctuations without noticeable performance degradation.
- ApproxNet reduces model switching penalties and improves runtime efficiency by consolidating multiple models into a single, configurable inference path.
- Evaluation shows ApproxNet outperforms ResNet, MCDNN, and MobileNets in balancing latency and accuracy on edge devices.
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.