Cargando…
A Low Memory Requirement MobileNets Accelerator Based on FPGA for Auxiliary Medical Tasks
Convolutional neural networks (CNNs) have been widely applied in the fields of medical tasks because they can achieve high accuracy in many fields using a large number of parameters and operations. However, many applications designed for auxiliary checks or help need to be deployed into portable dev...
Autores principales: | , , |
---|---|
Formato: | Online Artículo Texto |
Lenguaje: | English |
Publicado: |
MDPI
2022
|
Materias: | |
Acceso en línea: | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9854863/ https://www.ncbi.nlm.nih.gov/pubmed/36671600 http://dx.doi.org/10.3390/bioengineering10010028 |
_version_ | 1784873233553555456 |
---|---|
author | Lin, Yanru Zhang, Yanjun Yang, Xu |
author_facet | Lin, Yanru Zhang, Yanjun Yang, Xu |
author_sort | Lin, Yanru |
collection | PubMed |
description | Convolutional neural networks (CNNs) have been widely applied in the fields of medical tasks because they can achieve high accuracy in many fields using a large number of parameters and operations. However, many applications designed for auxiliary checks or help need to be deployed into portable devices, where the huge number of operations and parameters of a standard CNN can become an obstruction. MobileNet adopts a depthwise separable convolution to replace the standard convolution, which can greatly reduce the number of operations and parameters while maintaining a relatively high accuracy. Such highly structured models are very suitable for FPGA implementation in order to further reduce resource requirements and improve efficiency. Many other implementations focus on performance more than on resource requirements because MobileNets has already reduced both parameters and operations and obtained significant results. However, because many small devices only have limited resources they cannot run MobileNet-like efficient networks in a normal way, and there are still many auxiliary medical applications that require a high-performance network running in real-time to meet the requirements. Hence, we need to figure out a specific accelerator structure to further reduce the memory and other resource requirements while running MobileNet-like efficient networks. In this paper, a MobileNet accelerator is proposed to minimize the on-chip memory capacity and the amount of data that is transferred between on-chip and off-chip memory. We propose two configurable computing modules: Pointwise Convolution Accelerator and Depthwise Convolution Accelerator, to parallelize the network and reduce the memory requirement with a specific dataflow model. At the same time, a new cache usage method is also proposed to further reduce the use of the on-chip memory. We implemented the accelerator on Xilinx XC7Z020, deployed MobileNetV2 on it, and achieved 70.94 FPS with 524.25 KB on-chip memory usage under 150 MHz. |
format | Online Article Text |
id | pubmed-9854863 |
institution | National Center for Biotechnology Information |
language | English |
publishDate | 2022 |
publisher | MDPI |
record_format | MEDLINE/PubMed |
spelling | pubmed-98548632023-01-21 A Low Memory Requirement MobileNets Accelerator Based on FPGA for Auxiliary Medical Tasks Lin, Yanru Zhang, Yanjun Yang, Xu Bioengineering (Basel) Article Convolutional neural networks (CNNs) have been widely applied in the fields of medical tasks because they can achieve high accuracy in many fields using a large number of parameters and operations. However, many applications designed for auxiliary checks or help need to be deployed into portable devices, where the huge number of operations and parameters of a standard CNN can become an obstruction. MobileNet adopts a depthwise separable convolution to replace the standard convolution, which can greatly reduce the number of operations and parameters while maintaining a relatively high accuracy. Such highly structured models are very suitable for FPGA implementation in order to further reduce resource requirements and improve efficiency. Many other implementations focus on performance more than on resource requirements because MobileNets has already reduced both parameters and operations and obtained significant results. However, because many small devices only have limited resources they cannot run MobileNet-like efficient networks in a normal way, and there are still many auxiliary medical applications that require a high-performance network running in real-time to meet the requirements. Hence, we need to figure out a specific accelerator structure to further reduce the memory and other resource requirements while running MobileNet-like efficient networks. In this paper, a MobileNet accelerator is proposed to minimize the on-chip memory capacity and the amount of data that is transferred between on-chip and off-chip memory. We propose two configurable computing modules: Pointwise Convolution Accelerator and Depthwise Convolution Accelerator, to parallelize the network and reduce the memory requirement with a specific dataflow model. At the same time, a new cache usage method is also proposed to further reduce the use of the on-chip memory. We implemented the accelerator on Xilinx XC7Z020, deployed MobileNetV2 on it, and achieved 70.94 FPS with 524.25 KB on-chip memory usage under 150 MHz. MDPI 2022-12-24 /pmc/articles/PMC9854863/ /pubmed/36671600 http://dx.doi.org/10.3390/bioengineering10010028 Text en © 2022 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 Lin, Yanru Zhang, Yanjun Yang, Xu A Low Memory Requirement MobileNets Accelerator Based on FPGA for Auxiliary Medical Tasks |
title | A Low Memory Requirement MobileNets Accelerator Based on FPGA for Auxiliary Medical Tasks |
title_full | A Low Memory Requirement MobileNets Accelerator Based on FPGA for Auxiliary Medical Tasks |
title_fullStr | A Low Memory Requirement MobileNets Accelerator Based on FPGA for Auxiliary Medical Tasks |
title_full_unstemmed | A Low Memory Requirement MobileNets Accelerator Based on FPGA for Auxiliary Medical Tasks |
title_short | A Low Memory Requirement MobileNets Accelerator Based on FPGA for Auxiliary Medical Tasks |
title_sort | low memory requirement mobilenets accelerator based on fpga for auxiliary medical tasks |
topic | Article |
url | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9854863/ https://www.ncbi.nlm.nih.gov/pubmed/36671600 http://dx.doi.org/10.3390/bioengineering10010028 |
work_keys_str_mv | AT linyanru alowmemoryrequirementmobilenetsacceleratorbasedonfpgaforauxiliarymedicaltasks AT zhangyanjun alowmemoryrequirementmobilenetsacceleratorbasedonfpgaforauxiliarymedicaltasks AT yangxu alowmemoryrequirementmobilenetsacceleratorbasedonfpgaforauxiliarymedicaltasks AT linyanru lowmemoryrequirementmobilenetsacceleratorbasedonfpgaforauxiliarymedicaltasks AT zhangyanjun lowmemoryrequirementmobilenetsacceleratorbasedonfpgaforauxiliarymedicaltasks AT yangxu lowmemoryrequirementmobilenetsacceleratorbasedonfpgaforauxiliarymedicaltasks |