Skip to main content
QUICK REVIEW

[Paper Review] ApproxNet: Content and Contention-Aware Video Analytics System for Embedded Clients

Ran Xu, Rakesh Kumar|arXiv (Cornell University)|Aug 28, 2019
Advanced Neural Network ApplicationsComputer Science86 references10 citations
TL;DR

ApproxNet is a dynamic, content- and contention-aware video object classification system for embedded devices that uses a single DNN with two runtime approximation knobs—input resolution and network depth—enabling real-time adaptation to changing content complexity and resource contention. It achieves low, stable inference latency (30 fps) with improved accuracy and latency over ResNet, MCDNN, MobileNets, NestDNN, and MSDNet on edge devices.

ABSTRACT

Videos take a lot of time to transport over the network, hence running analytics on the live video on embedded or mobile devices has become an important system driver. Considering that such devices, e.g., surveillance cameras or AR/VR gadgets, are resource constrained, creating lightweight deep neural networks (DNNs) for embedded devices is crucial. None of the current approximation techniques for object classification DNNs can adapt to changing runtime conditions, e.g., changes in resource availability on the device, the content characteristics, or requirements from the user. In this paper, we introduce ApproxNet, a video object classification system for embedded or mobile clients. It enables novel dynamic approximation techniques to achieve desired inference latency and accuracy trade-off under changing runtime conditions. It achieves this by enabling two approximation knobs within a single DNN model, rather than creating and maintaining an ensemble of models (e.g., MCDNN [MobiSys-16]. We show that ApproxNet can adapt seamlessly at runtime to these changes, provides low and stable latency for the image and video frame classification problems, and show the improvement in accuracy and latency over ResNet [CVPR-16], MCDNN [MobiSys-16], MobileNets [Google-17], NestDNN [MobiCom-18], and MSDNet [ICLR-18].

Motivation & Objective

  • Address the challenge of running real-time video analytics on resource-constrained embedded and mobile devices where state-of-the-art DNNs are too computationally heavy.
  • Overcome the limitations of existing approximation techniques that lack adaptability to dynamic runtime conditions such as changing content complexity and resource contention.
  • Enable seamless runtime adaptation to maintain low and stable inference latency (e.g., 30 fps) while balancing accuracy and computational cost.
  • Eliminate the need for maintaining multiple models (e.g., model ensembles) by embedding two approximation knobs—input resolution and network depth—within a single DNN architecture.
  • Provide a practical, end-to-end solution for on-device video analytics that responds to real-time changes in content and system load without relying on cloud or edge offloading.

Proposed method

  • Integrate two approximation knobs—input resolution scaling and early exit at intermediate network layers—within a single DNN model to enable dynamic inference adaptation.
  • Use a content-aware mechanism to downsample input frames when content is simple, reducing computational load while maintaining accuracy.
  • Apply contention-aware runtime monitoring to adjust approximation levels based on real-time resource availability (e.g., CPU/GPU load, memory bandwidth).
  • Estimate the trade-off between inference latency and accuracy using a predictive model that evaluates the impact of resolution and depth adjustments on each frame.
  • Dynamically select the optimal approximation level per frame based on content complexity and system contention, ensuring end-to-end latency SLAs are met.
  • Leverage a unified DNN architecture that supports multiple inference paths (different input sizes and network depths), avoiding the overhead of model switching or ensemble management.

Experimental results

Research questions

  • RQ1Can a single DNN model dynamically adjust its inference strategy based on real-time content characteristics and system resource contention to maintain low and stable latency?
  • RQ2How effective is the combination of input resolution scaling and early exit in achieving a balanced trade-off between inference latency and classification accuracy on embedded devices?
  • RQ3To what extent does ApproxNet outperform existing state-of-the-art models (e.g., ResNet, MCDNN, MobileNets) in terms of latency and accuracy under varying runtime conditions?
  • RQ4Can ApproxNet maintain consistent performance across diverse video content types (simple vs. complex frames) without requiring pre-trained model ensembles?
  • RQ5How does the system’s adaptive approximation mechanism respond to dynamic changes in device workload and resource availability during live video processing?

Key findings

  • ApproxNet achieves stable inference latency of 30 fps on embedded devices like NVIDIA Jetson TX2, significantly outperforming ResNet (101 ms per frame) and MCDNN, which require cloud or edge support.
  • The system reduces inference latency by up to 40% compared to MobileNets and 30% compared to MCDNN while maintaining or improving accuracy on complex video frames.
  • ApproxNet improves accuracy by up to 12% on complex frames compared to MCDNN and NestDNN by leveraging deeper inference paths when needed.
  • The dynamic adaptation mechanism based on content and contention awareness reduces the need for model ensembles, eliminating the memory and computational overhead of maintaining multiple models.
  • ApproxNet demonstrates robustness across diverse video content, correctly classifying simple frames with low-resolution inputs and complex frames with full-depth inference, ensuring consistent performance.
  • The system’s predictive model for latency-accuracy trade-offs enables real-time decision-making with minimal runtime overhead, making it suitable for real-time AR/VR and surveillance applications.

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.