OneAdapt: Fast Configuration Adaptation for Video Analytics Applications via Backpropagation

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Du, Kuntai, Liu, Yuhan, Hao, Yitian, Zhang, Qizheng, Wang, Haodong, Huang, Yuyang, Ananthanarayanan, Ganesh, Jiang, Junchen
Format: Preprint
Publié: 2023
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866917866568155136
author Du, Kuntai
Liu, Yuhan
Hao, Yitian
Zhang, Qizheng
Wang, Haodong
Huang, Yuyang
Ananthanarayanan, Ganesh
Jiang, Junchen
author_facet Du, Kuntai
Liu, Yuhan
Hao, Yitian
Zhang, Qizheng
Wang, Haodong
Huang, Yuyang
Ananthanarayanan, Ganesh
Jiang, Junchen
contents Deep learning inference on streaming media data, such as object detection in video or LiDAR feeds and text extraction from audio waves, is now ubiquitous. To achieve high inference accuracy, these applications typically require significant network bandwidth to gather high-fidelity data and extensive GPU resources to run deep neural networks (DNNs). While the high demand for network bandwidth and GPU resources could be substantially reduced by optimally adapting the configuration knobs, such as video resolution and frame rate, current adaptation techniques fail to meet three requirements simultaneously: adapt configurations (i) with minimum extra GPU or bandwidth overhead; (ii) to reach near-optimal decisions based on how the data affects the final DNN's accuracy, and (iii) do so for a range of configuration knobs. This paper presents OneAdapt, which meets these requirements by leveraging a gradient-ascent strategy to adapt configuration knobs. The key idea is to embrace DNNs' differentiability to quickly estimate the accuracy's gradient to each configuration knob, called AccGrad. Specifically, OneAdapt estimates AccGrad by multiplying two gradients: InputGrad (i.e. how each configuration knob affects the input to the DNN) and DNNGrad (i.e. how the DNN input affects the DNN inference output). We evaluate OneAdapt across five types of configurations, four analytic tasks, and five types of input data. Compared to state-of-the-art adaptation schemes, OneAdapt cuts bandwidth usage and GPU usage by 15-59% while maintaining comparable accuracy or improves accuracy by 1-5% while using equal or fewer resources.
format Preprint
id arxiv_https___arxiv_org_abs_2310_02422
institution arXiv
publishDate 2023
record_format arxiv
spellingShingle OneAdapt: Fast Configuration Adaptation for Video Analytics Applications via Backpropagation
Du, Kuntai
Liu, Yuhan
Hao, Yitian
Zhang, Qizheng
Wang, Haodong
Huang, Yuyang
Ananthanarayanan, Ganesh
Jiang, Junchen
Machine Learning
Artificial Intelligence
Distributed, Parallel, and Cluster Computing
Multimedia
Networking and Internet Architecture
Deep learning inference on streaming media data, such as object detection in video or LiDAR feeds and text extraction from audio waves, is now ubiquitous. To achieve high inference accuracy, these applications typically require significant network bandwidth to gather high-fidelity data and extensive GPU resources to run deep neural networks (DNNs). While the high demand for network bandwidth and GPU resources could be substantially reduced by optimally adapting the configuration knobs, such as video resolution and frame rate, current adaptation techniques fail to meet three requirements simultaneously: adapt configurations (i) with minimum extra GPU or bandwidth overhead; (ii) to reach near-optimal decisions based on how the data affects the final DNN's accuracy, and (iii) do so for a range of configuration knobs. This paper presents OneAdapt, which meets these requirements by leveraging a gradient-ascent strategy to adapt configuration knobs. The key idea is to embrace DNNs' differentiability to quickly estimate the accuracy's gradient to each configuration knob, called AccGrad. Specifically, OneAdapt estimates AccGrad by multiplying two gradients: InputGrad (i.e. how each configuration knob affects the input to the DNN) and DNNGrad (i.e. how the DNN input affects the DNN inference output). We evaluate OneAdapt across five types of configurations, four analytic tasks, and five types of input data. Compared to state-of-the-art adaptation schemes, OneAdapt cuts bandwidth usage and GPU usage by 15-59% while maintaining comparable accuracy or improves accuracy by 1-5% while using equal or fewer resources.
title OneAdapt: Fast Configuration Adaptation for Video Analytics Applications via Backpropagation
topic Machine Learning
Artificial Intelligence
Distributed, Parallel, and Cluster Computing
Multimedia
Networking and Internet Architecture
url https://arxiv.org/abs/2310.02422