An Adaptive Device-Edge Co-Inference Framework Based on Soft Actor-Critic

Recently, the applications of deep neural network (DNN) have been very prominent in many fields such as computer vision (CV) and natural language processing (NLP) due to its superior feature extraction performance. However, the high-dimension parameter model and large-scale mathematical calculation...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Niu, Tao, Teng, Yinglei, Han, Zhu, Zou, Panpan
Format: Artikel
Sprache:eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
container_end_page
container_issue
container_start_page
container_title
container_volume
creator Niu, Tao
Teng, Yinglei
Han, Zhu
Zou, Panpan
description Recently, the applications of deep neural network (DNN) have been very prominent in many fields such as computer vision (CV) and natural language processing (NLP) due to its superior feature extraction performance. However, the high-dimension parameter model and large-scale mathematical calculation restrict the execution efficiency, especially for Internet of Things (IoT) devices. Different from the previous cloud/edge-only pattern that brings huge pressure for uplink communication and device-only fashion that undertakes unaffordable calculation strength, we highlight the collaborative computation between the device and edge for DNN models, which can achieve a good balance between the communication load and execution accuracy. Specifically, a systematic on-demand co-inference framework is proposed to exploit the multi-branch structure, in which the pre-trained Alexnet is right-sized through \emph{early-exit} and partitioned at an intermediate DNN layer. The integer quantization is enforced to further compress transmission bits. As a result, we establish a new Deep Reinforcement Learning (DRL) optimizer-Soft Actor Critic for discrete (SAC-d), which generates the \emph{exit point}, \emph{partition point}, and \emph{compressing bits} by soft policy iterations. Based on the latency and accuracy aware reward design, such an optimizer can well adapt to the complex environment like dynamic wireless channel and arbitrary CPU processing, and is capable of supporting the 5G URLLC. Real-world experiment on Raspberry Pi 4 and PC shows the outperformance of the proposed solution.
doi_str_mv 10.48550/arxiv.2201.02968
format Article
fullrecord <record><control><sourceid>arxiv_GOX</sourceid><recordid>TN_cdi_arxiv_primary_2201_02968</recordid><sourceformat>XML</sourceformat><sourcesystem>PC</sourcesystem><sourcerecordid>2201_02968</sourcerecordid><originalsourceid>FETCH-LOGICAL-a678-c5347ff5734d41df90748e59ae08b75ede30d94a92ef5b2f255bc9f4351872243</originalsourceid><addsrcrecordid>eNotz0FPwyAYgGEuHszmD_A0_gCVAt-AY62bNlmyw3ZvKHwY4lYW1lT998bp6b29yUPIY80rZQD4kytfaa6E4HXFhV2be9I1I22Cu0xpRvqCc_LINuEdaZtZN0YsOHqk2-LO-JnLB312Vww0j_SQ40QbP-XC2pKm5JfkLrrTFR_-uyDH7ebYvrHd_rVrmx1za22YB6l0jKClCqoO0XKtDIJ1yM2gAQNKHqxyVmCEQUQBMHgblYTaaCGUXJDV3_Zm6S8lnV357n9N_c0kfwDoyUVU</addsrcrecordid><sourcetype>Open Access Repository</sourcetype><iscdi>true</iscdi><recordtype>article</recordtype></control><display><type>article</type><title>An Adaptive Device-Edge Co-Inference Framework Based on Soft Actor-Critic</title><source>arXiv.org</source><creator>Niu, Tao ; Teng, Yinglei ; Han, Zhu ; Zou, Panpan</creator><creatorcontrib>Niu, Tao ; Teng, Yinglei ; Han, Zhu ; Zou, Panpan</creatorcontrib><description>Recently, the applications of deep neural network (DNN) have been very prominent in many fields such as computer vision (CV) and natural language processing (NLP) due to its superior feature extraction performance. However, the high-dimension parameter model and large-scale mathematical calculation restrict the execution efficiency, especially for Internet of Things (IoT) devices. Different from the previous cloud/edge-only pattern that brings huge pressure for uplink communication and device-only fashion that undertakes unaffordable calculation strength, we highlight the collaborative computation between the device and edge for DNN models, which can achieve a good balance between the communication load and execution accuracy. Specifically, a systematic on-demand co-inference framework is proposed to exploit the multi-branch structure, in which the pre-trained Alexnet is right-sized through \emph{early-exit} and partitioned at an intermediate DNN layer. The integer quantization is enforced to further compress transmission bits. As a result, we establish a new Deep Reinforcement Learning (DRL) optimizer-Soft Actor Critic for discrete (SAC-d), which generates the \emph{exit point}, \emph{partition point}, and \emph{compressing bits} by soft policy iterations. Based on the latency and accuracy aware reward design, such an optimizer can well adapt to the complex environment like dynamic wireless channel and arbitrary CPU processing, and is capable of supporting the 5G URLLC. Real-world experiment on Raspberry Pi 4 and PC shows the outperformance of the proposed solution.</description><identifier>DOI: 10.48550/arxiv.2201.02968</identifier><language>eng</language><subject>Computer Science - Artificial Intelligence ; Computer Science - Learning ; Computer Science - Networking and Internet Architecture</subject><creationdate>2022-01</creationdate><rights>http://arxiv.org/licenses/nonexclusive-distrib/1.0</rights><oa>free_for_read</oa><woscitedreferencessubscribed>false</woscitedreferencessubscribed></display><links><openurl>$$Topenurl_article</openurl><openurlfulltext>$$Topenurlfull_article</openurlfulltext><thumbnail>$$Tsyndetics_thumb_exl</thumbnail><link.rule.ids>228,230,776,881</link.rule.ids><linktorsrc>$$Uhttps://arxiv.org/abs/2201.02968$$EView_record_in_Cornell_University$$FView_record_in_$$GCornell_University$$Hfree_for_read</linktorsrc><backlink>$$Uhttps://doi.org/10.48550/arXiv.2201.02968$$DView paper in arXiv$$Hfree_for_read</backlink></links><search><creatorcontrib>Niu, Tao</creatorcontrib><creatorcontrib>Teng, Yinglei</creatorcontrib><creatorcontrib>Han, Zhu</creatorcontrib><creatorcontrib>Zou, Panpan</creatorcontrib><title>An Adaptive Device-Edge Co-Inference Framework Based on Soft Actor-Critic</title><description>Recently, the applications of deep neural network (DNN) have been very prominent in many fields such as computer vision (CV) and natural language processing (NLP) due to its superior feature extraction performance. However, the high-dimension parameter model and large-scale mathematical calculation restrict the execution efficiency, especially for Internet of Things (IoT) devices. Different from the previous cloud/edge-only pattern that brings huge pressure for uplink communication and device-only fashion that undertakes unaffordable calculation strength, we highlight the collaborative computation between the device and edge for DNN models, which can achieve a good balance between the communication load and execution accuracy. Specifically, a systematic on-demand co-inference framework is proposed to exploit the multi-branch structure, in which the pre-trained Alexnet is right-sized through \emph{early-exit} and partitioned at an intermediate DNN layer. The integer quantization is enforced to further compress transmission bits. As a result, we establish a new Deep Reinforcement Learning (DRL) optimizer-Soft Actor Critic for discrete (SAC-d), which generates the \emph{exit point}, \emph{partition point}, and \emph{compressing bits} by soft policy iterations. Based on the latency and accuracy aware reward design, such an optimizer can well adapt to the complex environment like dynamic wireless channel and arbitrary CPU processing, and is capable of supporting the 5G URLLC. Real-world experiment on Raspberry Pi 4 and PC shows the outperformance of the proposed solution.</description><subject>Computer Science - Artificial Intelligence</subject><subject>Computer Science - Learning</subject><subject>Computer Science - Networking and Internet Architecture</subject><fulltext>true</fulltext><rsrctype>article</rsrctype><creationdate>2022</creationdate><recordtype>article</recordtype><sourceid>GOX</sourceid><recordid>eNotz0FPwyAYgGEuHszmD_A0_gCVAt-AY62bNlmyw3ZvKHwY4lYW1lT998bp6b29yUPIY80rZQD4kytfaa6E4HXFhV2be9I1I22Cu0xpRvqCc_LINuEdaZtZN0YsOHqk2-LO-JnLB312Vww0j_SQ40QbP-XC2pKm5JfkLrrTFR_-uyDH7ebYvrHd_rVrmx1za22YB6l0jKClCqoO0XKtDIJ1yM2gAQNKHqxyVmCEQUQBMHgblYTaaCGUXJDV3_Zm6S8lnV357n9N_c0kfwDoyUVU</recordid><startdate>20220109</startdate><enddate>20220109</enddate><creator>Niu, Tao</creator><creator>Teng, Yinglei</creator><creator>Han, Zhu</creator><creator>Zou, Panpan</creator><scope>AKY</scope><scope>GOX</scope></search><sort><creationdate>20220109</creationdate><title>An Adaptive Device-Edge Co-Inference Framework Based on Soft Actor-Critic</title><author>Niu, Tao ; Teng, Yinglei ; Han, Zhu ; Zou, Panpan</author></sort><facets><frbrtype>5</frbrtype><frbrgroupid>cdi_FETCH-LOGICAL-a678-c5347ff5734d41df90748e59ae08b75ede30d94a92ef5b2f255bc9f4351872243</frbrgroupid><rsrctype>articles</rsrctype><prefilter>articles</prefilter><language>eng</language><creationdate>2022</creationdate><topic>Computer Science - Artificial Intelligence</topic><topic>Computer Science - Learning</topic><topic>Computer Science - Networking and Internet Architecture</topic><toplevel>online_resources</toplevel><creatorcontrib>Niu, Tao</creatorcontrib><creatorcontrib>Teng, Yinglei</creatorcontrib><creatorcontrib>Han, Zhu</creatorcontrib><creatorcontrib>Zou, Panpan</creatorcontrib><collection>arXiv Computer Science</collection><collection>arXiv.org</collection></facets><delivery><delcategory>Remote Search Resource</delcategory><fulltext>fulltext_linktorsrc</fulltext></delivery><addata><au>Niu, Tao</au><au>Teng, Yinglei</au><au>Han, Zhu</au><au>Zou, Panpan</au><format>journal</format><genre>article</genre><ristype>JOUR</ristype><atitle>An Adaptive Device-Edge Co-Inference Framework Based on Soft Actor-Critic</atitle><date>2022-01-09</date><risdate>2022</risdate><abstract>Recently, the applications of deep neural network (DNN) have been very prominent in many fields such as computer vision (CV) and natural language processing (NLP) due to its superior feature extraction performance. However, the high-dimension parameter model and large-scale mathematical calculation restrict the execution efficiency, especially for Internet of Things (IoT) devices. Different from the previous cloud/edge-only pattern that brings huge pressure for uplink communication and device-only fashion that undertakes unaffordable calculation strength, we highlight the collaborative computation between the device and edge for DNN models, which can achieve a good balance between the communication load and execution accuracy. Specifically, a systematic on-demand co-inference framework is proposed to exploit the multi-branch structure, in which the pre-trained Alexnet is right-sized through \emph{early-exit} and partitioned at an intermediate DNN layer. The integer quantization is enforced to further compress transmission bits. As a result, we establish a new Deep Reinforcement Learning (DRL) optimizer-Soft Actor Critic for discrete (SAC-d), which generates the \emph{exit point}, \emph{partition point}, and \emph{compressing bits} by soft policy iterations. Based on the latency and accuracy aware reward design, such an optimizer can well adapt to the complex environment like dynamic wireless channel and arbitrary CPU processing, and is capable of supporting the 5G URLLC. Real-world experiment on Raspberry Pi 4 and PC shows the outperformance of the proposed solution.</abstract><doi>10.48550/arxiv.2201.02968</doi><oa>free_for_read</oa></addata></record>
fulltext fulltext_linktorsrc
identifier DOI: 10.48550/arxiv.2201.02968
ispartof
issn
language eng
recordid cdi_arxiv_primary_2201_02968
source arXiv.org
subjects Computer Science - Artificial Intelligence
Computer Science - Learning
Computer Science - Networking and Internet Architecture
title An Adaptive Device-Edge Co-Inference Framework Based on Soft Actor-Critic
url https://sfx.bib-bvb.de/sfx_tum?ctx_ver=Z39.88-2004&ctx_enc=info:ofi/enc:UTF-8&ctx_tim=2025-01-30T07%3A55%3A32IST&url_ver=Z39.88-2004&url_ctx_fmt=infofi/fmt:kev:mtx:ctx&rfr_id=info:sid/primo.exlibrisgroup.com:primo3-Article-arxiv_GOX&rft_val_fmt=info:ofi/fmt:kev:mtx:journal&rft.genre=article&rft.atitle=An%20Adaptive%20Device-Edge%20Co-Inference%20Framework%20Based%20on%20Soft%20Actor-Critic&rft.au=Niu,%20Tao&rft.date=2022-01-09&rft_id=info:doi/10.48550/arxiv.2201.02968&rft_dat=%3Carxiv_GOX%3E2201_02968%3C/arxiv_GOX%3E%3Curl%3E%3C/url%3E&disable_directlink=true&sfx.directlink=off&sfx.report_link=0&rft_id=info:oai/&rft_id=info:pmid/&rfr_iscdi=true