Decomposing Convolutional Neural Networks into Reusable and Replaceable Modules

dc.contributor.author Pan, Rangeet
dc.contributor.department Computer Science
dc.date.accessioned 2021-12-16T21:42:12Z
dc.date.available 2021-12-16T21:42:12Z
dc.date.issued 2021-10-11
dc.description.abstract Training from scratch is the most common way to build a Convolutional Neural Network (CNN) based model. What if we can build new CNN models by reusing parts from previously build CNN models? What if we can improve a CNN model by replacing (possibly faulty) parts with other parts? In both cases, instead of training, can we identify the part responsible for each output class (module) in the model(s) and reuse or replace only the desired output classes to build a model? Prior work has proposed decomposing dense-based networks into modules (one for each output class) to enable reusability and replaceability in various scenarios. However, this work is limited to the dense layers and based on the one-to-one relationship between the nodes in consecutive layers. Due to the shared architecture in the CNN model, prior work cannot be adapted directly. In this paper, we propose to decompose a CNN model used for image classification problems into modules for each output class. These modules can further be reused or replaced to build a new model. We have evaluated our approach with CIFAR-10, CIFAR-100, and ImageNet tiny datasets with three variations of ResNet models and found that enabling decomposition comes with a small cost (2.38% and 0.81% for top-1 and top-5 accuracy, respectively). Also, building a model by reusing or replacing modules can be done with a 2.3% and 0.5% average loss of accuracy. Furthermore, reusing and replacing these modules reduces CO2e emission by ~37 times compared to training the model from scratch.
dc.description.comments This preprint is made available through arXiv:https://arxiv.org/abs/2110.07720. This work is licensed under the Creative Commons Attribution 4.0 License.
dc.identifier.uri https://dr.lib.iastate.edu/handle/20.500.12876/NveoA5kz
dc.language.iso en
dc.publisher © Author(s) 2021
dc.source.uri https://arxiv.org/abs/2110.07720 *
dc.subject.disciplines DegreeDisciplines::Physical Sciences and Mathematics::Computer Sciences
dc.subject.keywords deep neural network
dc.subject.keywords modularity
dc.subject.keywords decomposition
dc.title Decomposing Convolutional Neural Networks into Reusable and Replaceable Modules
dc.type Preprint
dspace.entity.type Publication
relation.isAuthorOfPublication 4e3f4631-9a99-4a4d-ab81-491621e94031
relation.isOrgUnitOfPublication f7be4eb9-d1d0-4081-859b-b15cee251456
File
Original bundle
Now showing 1 - 1 of 1
No Thumbnail Available
Name:
2021-RajanH-DecomposingConvolutionalPrepint.pdf
Size:
1.4 MB
Format:
Adobe Portable Document Format
Description:
Collections