Cargando…

An Enhanced Scheme for Reducing the Complexity of Pointwise Convolutions in CNNs for Image Classification Based on Interleaved Grouped Filters without Divisibility Constraints

In image classification with Deep Convolutional Neural Networks (DCNNs), the number of parameters in pointwise convolutions rapidly grows due to the multiplication of the number of filters by the number of input channels that come from the previous layer. Existing studies demonstrated that a subnetw...

Descripción completa

Detalles Bibliográficos
Autores principales: Schwarz Schuler, Joao Paulo, Also, Santiago Romani, Puig, Domenec, Rashwan, Hatem, Abdel-Nasser, Mohamed
Formato: Online Artículo Texto
Lenguaje:English
Publicado: MDPI 2022
Materias:
Acceso en línea:https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9497893/
https://www.ncbi.nlm.nih.gov/pubmed/36141151
http://dx.doi.org/10.3390/e24091264
_version_ 1784794620214902784
author Schwarz Schuler, Joao Paulo
Also, Santiago Romani
Puig, Domenec
Rashwan, Hatem
Abdel-Nasser, Mohamed
author_facet Schwarz Schuler, Joao Paulo
Also, Santiago Romani
Puig, Domenec
Rashwan, Hatem
Abdel-Nasser, Mohamed
author_sort Schwarz Schuler, Joao Paulo
collection PubMed
description In image classification with Deep Convolutional Neural Networks (DCNNs), the number of parameters in pointwise convolutions rapidly grows due to the multiplication of the number of filters by the number of input channels that come from the previous layer. Existing studies demonstrated that a subnetwork can replace pointwise convolutional layers with significantly fewer parameters and fewer floating-point computations, while maintaining the learning capacity. In this paper, we propose an improved scheme for reducing the complexity of pointwise convolutions in DCNNs for image classification based on interleaved grouped filters without divisibility constraints. The proposed scheme utilizes grouped pointwise convolutions, in which each group processes a fraction of the input channels. It requires a number of channels per group as a hyperparameter [Formula: see text]. The subnetwork of the proposed scheme contains two consecutive convolutional layers K and L, connected by an interleaving layer in the middle, and summed at the end. The number of groups of filters and filters per group for layers K and L is determined by exact divisions of the original number of input channels and filters by [Formula: see text]. If the divisions were not exact, the original layer could not be substituted. In this paper, we refine the previous algorithm so that input channels are replicated and groups can have different numbers of filters to cope with non exact divisibility situations. Thus, the proposed scheme further reduces the number of floating-point computations (11%) and trainable parameters (10%) achieved by the previous method. We tested our optimization on an EfficientNet-B0 as a baseline architecture and made classification tests on the CIFAR-10, Colorectal Cancer Histology, and Malaria datasets. For each dataset, our optimization achieves a saving of 76%, 89%, and 91% of the number of trainable parameters of EfficientNet-B0, while keeping its test classification accuracy.
format Online
Article
Text
id pubmed-9497893
institution National Center for Biotechnology Information
language English
publishDate 2022
publisher MDPI
record_format MEDLINE/PubMed
spelling pubmed-94978932022-09-23 An Enhanced Scheme for Reducing the Complexity of Pointwise Convolutions in CNNs for Image Classification Based on Interleaved Grouped Filters without Divisibility Constraints Schwarz Schuler, Joao Paulo Also, Santiago Romani Puig, Domenec Rashwan, Hatem Abdel-Nasser, Mohamed Entropy (Basel) Article In image classification with Deep Convolutional Neural Networks (DCNNs), the number of parameters in pointwise convolutions rapidly grows due to the multiplication of the number of filters by the number of input channels that come from the previous layer. Existing studies demonstrated that a subnetwork can replace pointwise convolutional layers with significantly fewer parameters and fewer floating-point computations, while maintaining the learning capacity. In this paper, we propose an improved scheme for reducing the complexity of pointwise convolutions in DCNNs for image classification based on interleaved grouped filters without divisibility constraints. The proposed scheme utilizes grouped pointwise convolutions, in which each group processes a fraction of the input channels. It requires a number of channels per group as a hyperparameter [Formula: see text]. The subnetwork of the proposed scheme contains two consecutive convolutional layers K and L, connected by an interleaving layer in the middle, and summed at the end. The number of groups of filters and filters per group for layers K and L is determined by exact divisions of the original number of input channels and filters by [Formula: see text]. If the divisions were not exact, the original layer could not be substituted. In this paper, we refine the previous algorithm so that input channels are replicated and groups can have different numbers of filters to cope with non exact divisibility situations. Thus, the proposed scheme further reduces the number of floating-point computations (11%) and trainable parameters (10%) achieved by the previous method. We tested our optimization on an EfficientNet-B0 as a baseline architecture and made classification tests on the CIFAR-10, Colorectal Cancer Histology, and Malaria datasets. For each dataset, our optimization achieves a saving of 76%, 89%, and 91% of the number of trainable parameters of EfficientNet-B0, while keeping its test classification accuracy. MDPI 2022-09-08 /pmc/articles/PMC9497893/ /pubmed/36141151 http://dx.doi.org/10.3390/e24091264 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
Schwarz Schuler, Joao Paulo
Also, Santiago Romani
Puig, Domenec
Rashwan, Hatem
Abdel-Nasser, Mohamed
An Enhanced Scheme for Reducing the Complexity of Pointwise Convolutions in CNNs for Image Classification Based on Interleaved Grouped Filters without Divisibility Constraints
title An Enhanced Scheme for Reducing the Complexity of Pointwise Convolutions in CNNs for Image Classification Based on Interleaved Grouped Filters without Divisibility Constraints
title_full An Enhanced Scheme for Reducing the Complexity of Pointwise Convolutions in CNNs for Image Classification Based on Interleaved Grouped Filters without Divisibility Constraints
title_fullStr An Enhanced Scheme for Reducing the Complexity of Pointwise Convolutions in CNNs for Image Classification Based on Interleaved Grouped Filters without Divisibility Constraints
title_full_unstemmed An Enhanced Scheme for Reducing the Complexity of Pointwise Convolutions in CNNs for Image Classification Based on Interleaved Grouped Filters without Divisibility Constraints
title_short An Enhanced Scheme for Reducing the Complexity of Pointwise Convolutions in CNNs for Image Classification Based on Interleaved Grouped Filters without Divisibility Constraints
title_sort enhanced scheme for reducing the complexity of pointwise convolutions in cnns for image classification based on interleaved grouped filters without divisibility constraints
topic Article
url https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9497893/
https://www.ncbi.nlm.nih.gov/pubmed/36141151
http://dx.doi.org/10.3390/e24091264
work_keys_str_mv AT schwarzschulerjoaopaulo anenhancedschemeforreducingthecomplexityofpointwiseconvolutionsincnnsforimageclassificationbasedoninterleavedgroupedfilterswithoutdivisibilityconstraints
AT alsosantiagoromani anenhancedschemeforreducingthecomplexityofpointwiseconvolutionsincnnsforimageclassificationbasedoninterleavedgroupedfilterswithoutdivisibilityconstraints
AT puigdomenec anenhancedschemeforreducingthecomplexityofpointwiseconvolutionsincnnsforimageclassificationbasedoninterleavedgroupedfilterswithoutdivisibilityconstraints
AT rashwanhatem anenhancedschemeforreducingthecomplexityofpointwiseconvolutionsincnnsforimageclassificationbasedoninterleavedgroupedfilterswithoutdivisibilityconstraints
AT abdelnassermohamed anenhancedschemeforreducingthecomplexityofpointwiseconvolutionsincnnsforimageclassificationbasedoninterleavedgroupedfilterswithoutdivisibilityconstraints
AT schwarzschulerjoaopaulo enhancedschemeforreducingthecomplexityofpointwiseconvolutionsincnnsforimageclassificationbasedoninterleavedgroupedfilterswithoutdivisibilityconstraints
AT alsosantiagoromani enhancedschemeforreducingthecomplexityofpointwiseconvolutionsincnnsforimageclassificationbasedoninterleavedgroupedfilterswithoutdivisibilityconstraints
AT puigdomenec enhancedschemeforreducingthecomplexityofpointwiseconvolutionsincnnsforimageclassificationbasedoninterleavedgroupedfilterswithoutdivisibilityconstraints
AT rashwanhatem enhancedschemeforreducingthecomplexityofpointwiseconvolutionsincnnsforimageclassificationbasedoninterleavedgroupedfilterswithoutdivisibilityconstraints
AT abdelnassermohamed enhancedschemeforreducingthecomplexityofpointwiseconvolutionsincnnsforimageclassificationbasedoninterleavedgroupedfilterswithoutdivisibilityconstraints