mlsanityData to 7 Oct 2026

Decomposing Convolutional Neural Networks into Reusable and Replaceable Modules

arXiv 2110.07720 ↗First posted 11 Oct 2021cs.CVcited by 14

Not on the map. Why?

Abstract (arXiv)

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 (1.77% and 0.85% 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.

Key facts. Cited by 14 papers in the map (data through 7 Oct 2026). Builds on 18 of its 42 references that are in the map. First posted on arXiv 11 Oct 2021.

Builds on

18 of 42 references.

References · 18

  1. 2015Deep Residual Learning for Image Recognitioncited by 51,809
  2. 2016Matching Networks for One Shot Learningcited by 2,246
  3. 2019Energy and Policy Considerations for Deep Learning in NLPcited by 1,242
  4. 2017Learning to Compare: Relation Network for Few-Shot Learningcited by 1,139
  5. 2017Dynamic Routing Between Capsulescited by 689
  6. 2017ThiNet: A Filter Level Pruning Method for Deep Neural Network Compressioncited by 438
  7. 2018A Survey on Deep Transfer Learningcited by 417
  8. 2015Neural Module Networkscited by 375
  9. 2018Meta-Transfer Learning for Few-Shot Learningcited by 306
  10. 2017Learning to Reason: End-to-End Module Networks for Visual Question Answeringcited by 125
  11. 2019Dense Classification and Implanting for Few-Shot Learningcited by 56
  12. 2020Do the Machine Learning Models on a Crowd Sourced Platform Exhibit Bias? An Empirical Study on Model Fairnesscited by 52
6 more
  1. 2021Fair Preprocessing: Towards Understanding Compositional Fairness of Data Transformers in Machine Learning Pipelinecited by 49
  2. 2016One-Shot Generalization in Deep Generative Modelscited by 44
  3. 2021DeepLocalize: Fault Localization for Deep Neural Networkscited by 37
  4. 2019Few-Shot Learning with Localization in Realistic Settingscited by 34
  5. 2019Recursive Sketches for Modular Deep Learningcited by 11
  6. 2018HSD-CNN: Hierarchically self decomposing CNN architecture using class specific filter sensitivity analysiscited by 2

Built on by

Cited by year

Citing papers per year: 2021: 1; 2022: 3; 2023: 5; 2024: 2; 2025: 3.

14 papers.

Sort: