Resource-Aware Neural Architecture Search for Multicore Embedded Real-Time Systems

Creating neural networks in a non-automatic way is a slow process based on trial and error.When the number of network parameters or the number of layers increases, the non-automatic method becomes very expensive and the final result may be suboptimal.Automatic network architecture search algorithms are used to solve this problem.Recently, these algorithms have been able to achieve high accuracies on various datasets such as 1 63 26 CIFAR-10, ImageNet, and Penn Tree Bank.These algorithms have the ability to search a wide space of architectures with different characteristics such as network depth, width, connection method, and operations in order to discover architectures with appropriate accuracy.However, one of the traditional challenges of these algorithms is their high search time (Approximately tens of thousands of GPU hours), which has been reduced to tens of hours with new research.Another challenge that usually exists in these methods is their focus on improving network accuracy, while other criteria such as network speed and consumed resources are not taken into account.As a result, these methods cannot be used directly to find the optimal architecture in embedded systems that have limited resources such as processing power, memory, and energy consumption.Therefore, search methods should be devised that are aware of these limitations.Research has been done in this field in recent years, but these methods do not focus specifically on coarse-grained multi-core architectures that do not have a GPU.In this article, we present a method for the automatic design of networks that are suitable for running on multi-core processors.In this method, based on gradient descent, a SuperNet with parallel paths and computational blocks is created.The number of parallel paths is equal to or less than the number of cores.We use a series of decision variables to select appropriate operations in each block of the path.In addition to deciding on the operations performed in each block, deciding is also made regarding synchronization points to utilize the intermediate results of parallel paths and improve the network's accuracy.Then, by training the decision variables (block type and synchronization points) simultaneously with the main network weights, an appropriate subnetwork is selected.Due to the use of the gradient descent method in this approach, the training process is performed only twice, resulting in the final structure of the network.As a result, it has a much lower execution time compared to other methods based on evolutionary search and reinforcement learning.Additionally, considering the constraints of the target system, such as the number of cores and memory consumption, can lead to a more suitable architecture compared to other methods.Experiments conducted on the CIFAR-10 dataset demonstrate that the proposed method can achieve satisfactory accuracy with very little search time.

Authors

Institutions

Publication Details

Journal
Archives de l'Institut d'Hessarek.
Published
2025-05-01
DOI
https://doi.org/10.61186/jsdp.22.1.25
Primary Topic
Advanced Neural Network Applications
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Resource-Aware Neural Architecture Search for Multicore Embedded Real-Time Systems

Mahboubeh Shamsi, Morteza Mohajjel Kafshdooz, Soheil Rastari
Archives de l'Institut d'Hessarek.
Advanced Neural Network Applications
article

Resource-Aware Neural Architecture Search for Multicore Embedded Real-Time Systems

Mahboubeh Shamsi, Morteza Mohajjel Kafshdooz, Soheil Rastari
article en

Abstract

Creating neural networks in a non-automatic way is a slow process based on trial and error.When the number of network parameters or the number of layers increases, the non-automatic method becomes very expensive and the final result may be suboptimal.Automatic network architecture search algorithms are used to solve this problem.Recently, these algorithms have been able to achieve high accuracies on various datasets such as 1 63 26 CIFAR-10, ImageNet, and Penn Tree Bank.These algorithms have the ability to search a wide space of architectures with different characteristics such as network depth, width, connection method, and operations in order to discover architectures with appropriate accuracy.However, one of the traditional challenges of these algorithms is their high search time (Approximately tens of thousands of GPU hours), which has been reduced to tens of hours with new research.Another challenge that usually exists in these methods is their focus on improving network accuracy, while other criteria such as network speed and consumed resources are not taken into account.As a result, these methods cannot be used directly to find the optimal architecture in embedded systems that have limited resources such as processing power, memory, and energy consumption.Therefore, search methods should be devised that are aware of these limitations.Research has been done in this field in recent years, but these methods do not focus specifically on coarse-grained multi-core architectures that do not have a GPU.In this article, we present a method for the automatic design of networks that are suitable for running on multi-core processors.In this method, based on gradient descent, a SuperNet with parallel paths and computational blocks is created.The number of parallel paths is equal to or less than the number of cores.We use a series of decision variables to select appropriate operations in each block of the path.In addition to deciding on the operations performed in each block, deciding is also made regarding synchronization points to utilize the intermediate results of parallel paths and improve the network's accuracy.Then, by training the decision variables (block type and synchronization points) simultaneously with the main network weights, an appropriate subnetwork is selected.Due to the use of the gradient descent method in this approach, the training process is performed only twice, resulting in the final structure of the network.As a result, it has a much lower execution time compared to other methods based on evolutionary search and reinforcement learning.Additionally, considering the constraints of the target system, such as the number of cores and memory consumption, can lead to a more suitable architecture compared to other methods.Experiments conducted on the CIFAR-10 dataset demonstrate that the proposed method can achieve satisfactory accuracy with very little search time.

Archives de l'Institut d'Hessarek.Vol. 22(1)
Qom University of Technology (IR)
Openalex Percentile: Top 85%
Advanced Neural Network Applications
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.