Cargando…

Genetic Algorithm-Based Online-Partitioning BranchyNet for Accelerating Edge Inference

In order to effectively apply BranchyNet, a DNN with multiple early-exit branches, in edge intelligent applications, one way is to divide and distribute the inference task of a BranchyNet into a group of robots, drones, vehicles, and other intelligent edge devices. Unlike most existing works trying...

Descripción completa

Detalles Bibliográficos
Autores principales: Na, Jun, Zhang, Handuo, Lian, Jiaxin, Zhang, Bin
Formato: Online Artículo Texto
Lenguaje:English
Publicado: MDPI 2023
Materias:
Acceso en línea:https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9920006/
https://www.ncbi.nlm.nih.gov/pubmed/36772540
http://dx.doi.org/10.3390/s23031500
_version_ 1784886963966312448
author Na, Jun
Zhang, Handuo
Lian, Jiaxin
Zhang, Bin
author_facet Na, Jun
Zhang, Handuo
Lian, Jiaxin
Zhang, Bin
author_sort Na, Jun
collection PubMed
description In order to effectively apply BranchyNet, a DNN with multiple early-exit branches, in edge intelligent applications, one way is to divide and distribute the inference task of a BranchyNet into a group of robots, drones, vehicles, and other intelligent edge devices. Unlike most existing works trying to select a particular branch to partition and deploy, this paper proposes a genetic algorithm (GA)-based online partitioning approach that splits the whole BranchyNet with all its branches. For this purpose, it establishes a new calculation approach based on the weighted average for estimating total execution time of a given BranchyNet and a two-layer chromosome GA by distinguishing partitioning and deployment during the evolution in GA. The experiment results show that the proposed algorithm can not only result in shorter execution time and lower device-average energy cost but also needs less time to obtain an optimal deployment plan. Such short running time enables the proposed algorithm to generate an optimal deployment plan online, which dynamically meets the actual requirements in deploying an intelligent application in the edge.
format Online
Article
Text
id pubmed-9920006
institution National Center for Biotechnology Information
language English
publishDate 2023
publisher MDPI
record_format MEDLINE/PubMed
spelling pubmed-99200062023-02-12 Genetic Algorithm-Based Online-Partitioning BranchyNet for Accelerating Edge Inference Na, Jun Zhang, Handuo Lian, Jiaxin Zhang, Bin Sensors (Basel) Article In order to effectively apply BranchyNet, a DNN with multiple early-exit branches, in edge intelligent applications, one way is to divide and distribute the inference task of a BranchyNet into a group of robots, drones, vehicles, and other intelligent edge devices. Unlike most existing works trying to select a particular branch to partition and deploy, this paper proposes a genetic algorithm (GA)-based online partitioning approach that splits the whole BranchyNet with all its branches. For this purpose, it establishes a new calculation approach based on the weighted average for estimating total execution time of a given BranchyNet and a two-layer chromosome GA by distinguishing partitioning and deployment during the evolution in GA. The experiment results show that the proposed algorithm can not only result in shorter execution time and lower device-average energy cost but also needs less time to obtain an optimal deployment plan. Such short running time enables the proposed algorithm to generate an optimal deployment plan online, which dynamically meets the actual requirements in deploying an intelligent application in the edge. MDPI 2023-01-29 /pmc/articles/PMC9920006/ /pubmed/36772540 http://dx.doi.org/10.3390/s23031500 Text en © 2023 by the authors. https://creativecommons.org/licenses/by/4.0/Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
spellingShingle Article
Na, Jun
Zhang, Handuo
Lian, Jiaxin
Zhang, Bin
Genetic Algorithm-Based Online-Partitioning BranchyNet for Accelerating Edge Inference
title Genetic Algorithm-Based Online-Partitioning BranchyNet for Accelerating Edge Inference
title_full Genetic Algorithm-Based Online-Partitioning BranchyNet for Accelerating Edge Inference
title_fullStr Genetic Algorithm-Based Online-Partitioning BranchyNet for Accelerating Edge Inference
title_full_unstemmed Genetic Algorithm-Based Online-Partitioning BranchyNet for Accelerating Edge Inference
title_short Genetic Algorithm-Based Online-Partitioning BranchyNet for Accelerating Edge Inference
title_sort genetic algorithm-based online-partitioning branchynet for accelerating edge inference
topic Article
url https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9920006/
https://www.ncbi.nlm.nih.gov/pubmed/36772540
http://dx.doi.org/10.3390/s23031500
work_keys_str_mv AT najun geneticalgorithmbasedonlinepartitioningbranchynetforacceleratingedgeinference
AT zhanghanduo geneticalgorithmbasedonlinepartitioningbranchynetforacceleratingedgeinference
AT lianjiaxin geneticalgorithmbasedonlinepartitioningbranchynetforacceleratingedgeinference
AT zhangbin geneticalgorithmbasedonlinepartitioningbranchynetforacceleratingedgeinference