AdaScale: Dynamic Context-aware DNN Scaling via Automated Adaptation Loop on Mobile Devices

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Wang, Yuzhan, Liu, Sicong, Guo, Bin, Zhang, Boqi, Ma, Ke, Ding, Yasan, Luo, Hao, Li, Yao, Yu, Zhiwen
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866929609579167744
author Wang, Yuzhan
Liu, Sicong
Guo, Bin
Zhang, Boqi
Ma, Ke
Ding, Yasan
Luo, Hao
Li, Yao
Yu, Zhiwen
author_facet Wang, Yuzhan
Liu, Sicong
Guo, Bin
Zhang, Boqi
Ma, Ke
Ding, Yasan
Luo, Hao
Li, Yao
Yu, Zhiwen
contents Deep learning is reshaping mobile applications, with a growing trend of deploying deep neural networks (DNNs) directly to mobile and embedded devices to address real-time performance and privacy. To accommodate local resource limitations, techniques like weight compression, convolution decomposition, and specialized layer architectures have been developed. However, the \textit{dynamic} and \textit{diverse} deployment contexts of mobile devices pose significant challenges. Adapting deep models to meet varied device-specific requirements for latency, accuracy, memory, and energy is labor-intensive. Additionally, changing processor states, fluctuating memory availability, and competing processes frequently necessitate model re-compression to preserve user experience. To address these issues, we introduce AdaScale, an elastic inference framework that automates the adaptation of deep models to dynamic contexts. AdaScale leverages a self-evolutionary model to streamline network creation, employs diverse compression operator combinations to reduce the search space and improve outcomes, and integrates a resource availability awareness block and performance profilers to establish an automated adaptation loop. Our experiments demonstrate that AdaScale significantly enhances accuracy by 5.09%, reduces training overhead by 66.89%, speeds up inference latency by 1.51 to 6.2 times, and lowers energy costs by 4.69 times.
format Preprint
id arxiv_https___arxiv_org_abs_2412_00724
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle AdaScale: Dynamic Context-aware DNN Scaling via Automated Adaptation Loop on Mobile Devices
Wang, Yuzhan
Liu, Sicong
Guo, Bin
Zhang, Boqi
Ma, Ke
Ding, Yasan
Luo, Hao
Li, Yao
Yu, Zhiwen
Artificial Intelligence
Deep learning is reshaping mobile applications, with a growing trend of deploying deep neural networks (DNNs) directly to mobile and embedded devices to address real-time performance and privacy. To accommodate local resource limitations, techniques like weight compression, convolution decomposition, and specialized layer architectures have been developed. However, the \textit{dynamic} and \textit{diverse} deployment contexts of mobile devices pose significant challenges. Adapting deep models to meet varied device-specific requirements for latency, accuracy, memory, and energy is labor-intensive. Additionally, changing processor states, fluctuating memory availability, and competing processes frequently necessitate model re-compression to preserve user experience. To address these issues, we introduce AdaScale, an elastic inference framework that automates the adaptation of deep models to dynamic contexts. AdaScale leverages a self-evolutionary model to streamline network creation, employs diverse compression operator combinations to reduce the search space and improve outcomes, and integrates a resource availability awareness block and performance profilers to establish an automated adaptation loop. Our experiments demonstrate that AdaScale significantly enhances accuracy by 5.09%, reduces training overhead by 66.89%, speeds up inference latency by 1.51 to 6.2 times, and lowers energy costs by 4.69 times.
title AdaScale: Dynamic Context-aware DNN Scaling via Automated Adaptation Loop on Mobile Devices
topic Artificial Intelligence
url https://arxiv.org/abs/2412.00724