Edge-cloud cooperation for DNN inference via reinforcement learning and supervised learning

Deep Neural Networks (DNNs) have been widely applied in Internet of Things (IoT) systems for various tasks such as image classification and object detection. However, heavyweight DNN models can hardly be deployed on edge devices due to limited computational resources. In this paper, an edge-cloud co...

Full description

Saved in:
Bibliographic Details
Main Authors: Zhang, Tinghao, Li, Zhijun, Chen, Yongrui, Lam, Kwok-Yan, Zhao, Jun
Other Authors: College of Computing and Data Science
Format: Conference or Workshop Item
Language:English
Published: 2024
Subjects:
Online Access:https://hdl.handle.net/10356/176951
Tags: Add Tag
No Tags, Be the first to tag this record!
Institution: Nanyang Technological University
Language: English
id sg-ntu-dr.10356-176951
record_format dspace
spelling sg-ntu-dr.10356-1769512024-05-20T02:05:14Z Edge-cloud cooperation for DNN inference via reinforcement learning and supervised learning Zhang, Tinghao Li, Zhijun Chen, Yongrui Lam, Kwok-Yan Zhao, Jun College of Computing and Data Science School of Computer Science and Engineering 2022 IEEE International Conferences on Internet of Things (iThings) and IEEE Green Computing & Communications (GreenCom) and IEEE Cyber, Physical & Social Computing (CPSCom) and IEEE Smart Data (SmartData) and IEEE Congress on Cybermatics (Cybermatics) Computer and Information Science Edge-cloud cooperation Reinforcement learning Deep Neural Networks (DNNs) have been widely applied in Internet of Things (IoT) systems for various tasks such as image classification and object detection. However, heavyweight DNN models can hardly be deployed on edge devices due to limited computational resources. In this paper, an edge-cloud cooperation framework is proposed to improve inference accuracy while maintaining low inference latency. To this end, we deploy a lightweight model on the edge and a heavyweight model on the cloud. A reinforcement learning (RL)-based DNN compression approach is used to generate the lightweight model suitable for the edge from the heavyweight model. Moreover, a supervised learning (SL)-based offloading strategy is applied to determine whether the sample should be processed on the edge or on the cloud. Our method is implemented on real hardware and tested on multiple datasets. The experimental results show that (1) The sizes of the lightweight models obtained by RL-based DNN compression are up to 87.6% smaller than those obtained by the baseline method; (2) SL-based offloading strategy makes correct offloading decisions in most cases; (3) Our method reduces up to 78.8% inference latency and achieves higher accuracy compared with the cloud-only strategy. Submitted/Accepted version 2024-05-20T02:05:13Z 2024-05-20T02:05:13Z 2022 Conference Paper Zhang, T., Li, Z., Chen, Y., Lam, K. & Zhao, J. (2022). Edge-cloud cooperation for DNN inference via reinforcement learning and supervised learning. 2022 IEEE International Conferences on Internet of Things (iThings) and IEEE Green Computing & Communications (GreenCom) and IEEE Cyber, Physical & Social Computing (CPSCom) and IEEE Smart Data (SmartData) and IEEE Congress on Cybermatics (Cybermatics), 77-84. https://dx.doi.org/10.1109/iThings-GreenCom-CPSCom-SmartData-Cybermatics55523.2022.00050 9781665454179 https://hdl.handle.net/10356/176951 10.1109/iThings-GreenCom-CPSCom-SmartData-Cybermatics55523.2022.00050 2-s2.0-85142033422 77 84 en © 2022 IEEE. All rights reserved. This article may be downloaded for personal use only. Any other use requires prior permission of the copyright holder. The Version of Record is available online at http://doi.org/10.1109/iThings-GreenCom-CPSCom-SmartData-. application/pdf
institution Nanyang Technological University
building NTU Library
continent Asia
country Singapore
Singapore
content_provider NTU Library
collection DR-NTU
language English
topic Computer and Information Science
Edge-cloud cooperation
Reinforcement learning
spellingShingle Computer and Information Science
Edge-cloud cooperation
Reinforcement learning
Zhang, Tinghao
Li, Zhijun
Chen, Yongrui
Lam, Kwok-Yan
Zhao, Jun
Edge-cloud cooperation for DNN inference via reinforcement learning and supervised learning
description Deep Neural Networks (DNNs) have been widely applied in Internet of Things (IoT) systems for various tasks such as image classification and object detection. However, heavyweight DNN models can hardly be deployed on edge devices due to limited computational resources. In this paper, an edge-cloud cooperation framework is proposed to improve inference accuracy while maintaining low inference latency. To this end, we deploy a lightweight model on the edge and a heavyweight model on the cloud. A reinforcement learning (RL)-based DNN compression approach is used to generate the lightweight model suitable for the edge from the heavyweight model. Moreover, a supervised learning (SL)-based offloading strategy is applied to determine whether the sample should be processed on the edge or on the cloud. Our method is implemented on real hardware and tested on multiple datasets. The experimental results show that (1) The sizes of the lightweight models obtained by RL-based DNN compression are up to 87.6% smaller than those obtained by the baseline method; (2) SL-based offloading strategy makes correct offloading decisions in most cases; (3) Our method reduces up to 78.8% inference latency and achieves higher accuracy compared with the cloud-only strategy.
author2 College of Computing and Data Science
author_facet College of Computing and Data Science
Zhang, Tinghao
Li, Zhijun
Chen, Yongrui
Lam, Kwok-Yan
Zhao, Jun
format Conference or Workshop Item
author Zhang, Tinghao
Li, Zhijun
Chen, Yongrui
Lam, Kwok-Yan
Zhao, Jun
author_sort Zhang, Tinghao
title Edge-cloud cooperation for DNN inference via reinforcement learning and supervised learning
title_short Edge-cloud cooperation for DNN inference via reinforcement learning and supervised learning
title_full Edge-cloud cooperation for DNN inference via reinforcement learning and supervised learning
title_fullStr Edge-cloud cooperation for DNN inference via reinforcement learning and supervised learning
title_full_unstemmed Edge-cloud cooperation for DNN inference via reinforcement learning and supervised learning
title_sort edge-cloud cooperation for dnn inference via reinforcement learning and supervised learning
publishDate 2024
url https://hdl.handle.net/10356/176951
_version_ 1806059788060065792