Turbo: Opportunistic Enhancement for Edge Video Analytics

Ting Cao 曹婷, Yan Lu, Shiqi Jiang, Ting Cao, Yuanchao Shu

Abstract

Edge computing is being widely used for video analytics. To alleviate the inherent tension between accuracy and cost, various video analytics pipelines have been proposed to optimize the usage of GPU on edge nodes. Nonetheless, we find that GPU compute resources provisioned for edge nodes are commonly under-utilized due to video content variations, subsampling and filtering at different places of a pipeline. As opposed to model and pipeline optimization, in this work, we study the problem of opportunistic data enhancement using the non-deterministic and fragmented idle GPU resources. In specific, we propose a task-specific discrimination and enhancement module and a model-aware adversarial training mechanism, providing a way to identify and transform low-quality images that are specific to a video pipeline in an accurate and efficient manner. A multi-exit model structure and a resource-aware scheduler is further developed to make online enhancement decisions and fine-grained inference execution under latency and GPU resource constraints. Experiments across multiple video analytics pipelines and datasets reveal that by judiciously allocating a small amount of idle resources on frames that tend to yield greater marginal benefits from enhancement, our system boosts DNN object detection accuracy by 7.3-11.3% without incurring any latency costs.

Introduction: The Efficiency Gap in Edge Analytics

Edge video analytics—processing camera feeds on-site rather than in the cloud—is a delicate balancing act between inference accuracy and hardware costs. To manage limited compute budgets, modern Video Analytics Pipelines (VAPs) employ aggressive pruning techniques, such as skipping frames with no motion, cropping irrelevant areas, or utilizing lightweight "cheap" models.

However, these optimizations introduce a significant inefficiency: fragmented GPU under-utilization. Because video content is dynamic (e.g., varying traffic density), the demand on the GPU fluctuates wildly. As illustrated in Figure 2, even sophisticated pipelines like Vigil leave substantial "idle" compute resources on the table. Furthermore, these pipelines often struggle with "hard" samples—frames obscured by weather, poor lighting, or motion blur—where standard image enhancement often fails to help downstream detectors.

GPU utilization fluctuations in the Vigil pipeline demonstrate the fragmented idle resources Turbo aims to harvest.

Methods: Harvesting Idle Cycles

Turbo is an opportunistic framework designed to harvest these fleeting idle GPU cycles to selectively enhance difficult video frames. Unlike generic enhancement tools designed for human eyes, Turbo focuses on "machine perception"—transforming images to be more readable for specific Deep Neural Networks (DNNs).

System Architecture

The standard VAP architecture typically moves from raw input through lightweight filters to a heavyweight DNN inference stage. Turbo augments this flow with three key innovations:

A typical edge video analytics pipeline consisting of filtering and inference stages.
  1. Task-Specific GAN: Instead of generic enhancement, Turbo uses a Generative Adversarial Network specifically designed to make images more "readable" for a particular object detector (e.g., YOLOv3).
  2. Model-Aware Adversarial Training: The system uses a unique training mechanism where the GAN's discriminator is trained to distinguish between "easy" and "hard" samples for a specific detector. The generator then learns to transform those hard samples into synthetic "easy" ones that the detector can handle more accurately.
  3. Multi-Exit Structure & Adaptive Scheduler: Because idle resources are unpredictable, the GAN features a "multi-exit" design. This allows the system to perform "lightweight" enhancement if the GPU is busy or "heavyweight" enhancement if there is plenty of idle time. An online scheduler estimates the "difficulty" of incoming frames and decides which ones to enhance to maximize accuracy within the current latency budget.

Key Results

The researchers evaluated Turbo using several prominent datasets, including UA-DETRAC, AICity, and BDD100K. The system demonstrated significant improvements across multiple dimensions:

  • Accuracy Boost: Across various pipelines and detectors (YOLOv3, Faster R-CNN, EfficientDet), Turbo improved absolute mean Average Precision (mAP) by 7.3% to 11.3%.
  • Zero Latency Penalty: Because the system only uses idle resources and employs a multi-exit strategy, it achieves these gains without increasing the end-to-end latency of the video pipeline. The "difficulty" discriminator is incredibly lightweight, costing only about 10 nanoseconds on a Tesla T4 GPU.
  • Machine Perception vs. Human Perception: A key insight is that what looks "better" to a human doesn't always result in better mAP for a computer. Turbo focuses on "semantic details" that matter to the weights of the specific DNN being used, significantly outperforming standard image enhancement baselines.

Conclusion

Turbo represents a shift from static pipeline optimization to dynamic, opportunistic resource management. By treating idle GPU cycles as a harvestable asset and focusing on task-specific image enhancement, Turbo provides a significant accuracy boost for edge video analytics without requiring additional hardware or incurring latency costs.

Summary updated

BibTeX
@inproceedings{2022turbo,
  author = {Ting Cao 曹婷 and Yan Lu and Shiqi Jiang and Ting Cao and Yuanchao Shu},
  title = {{Turbo: Opportunistic Enhancement for Edge Video Analytics}},
  booktitle = {Sensys},
  year = {2022},
  doi = {10.1145/3560905.3568501},
}
Figure