NeMo: A Neuron-Level Modularizing-While-Training Approach for Decomposing DNN Models
Not on the map. Why?
Abstract (arXiv)
With the growing incorporation of deep neural network (DNN) models into modern software systems, the prohibitive construction costs have become a significant challenge. Model reuse has been widely applied to reduce training costs, but indiscriminately reusing entire models may incur significant inference overhead. Consequently, DNN modularization has gained attention, enabling module reuse by decomposing DNN models. The emerging modularizing-while-training (MwT) paradigm, which incorporates modularization into training, outperforms modularizing-after-training approaches. However, existing MwT methods focus on small-scale CNN models at the convolutional kernel level and struggle with diverse DNNs and large-scale models, particularly Transformer-based models. To address these limitations, we propose NeMo, a scalable and generalizable MwT approach. NeMo operates at the neuron level fundamental component common to all DNNs-ensuring applicability to Transformers and various architectures. We design a contrastive learning-based modular training method with an effective composite loss function, enabling scalability to large-scale models. Comprehensive experiments on two Transformer-based models and four CNN models across two classification datasets demonstrate NeMo's superiority over state-of-the-art MwT methods. Results show average gains of 1.72% in module classification accuracy and 58.10% reduction in module size, demonstrating efficacy across both CNN and large-scale Transformer-based models. A case study on open-source projects shows NeMo's potential benefits in practical scenarios, offering a promising approach for scalable and generalizable DNN modularization.
Key facts. Cited by 1 paper in the map (data through 13 Oct 2026). Builds on 42 of its 69 references that are in the map. First posted on arXiv 15 Aug 2025.
Builds on
42 of 69 references.
References · 42
- 2017Attention Is All You Needcited by 60,106
- 2015Deep Residual Learning for Image Recognitioncited by 51,950
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,304
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,043
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,223
- 2023GPT-4 Technical Reportcited by 18,278
- 2014Very Deep Convolutional Networks for Large-Scale Image Recognitioncited by 15,321
- 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,111
- 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 12,009
- 2018Representation Learning with Contrastive Predictive Codingcited by 7,712
- 2019Momentum Contrast for Unsupervised Visual Representation Learningcited by 7,492
- 2020End-to-End Object Detection with Transformerscited by 7,396
30 more
- 2016Densely Connected Convolutional Networkscited by 6,707
- 2020Bootstrap your own latent: A new approach to self-supervised Learningcited by 4,730
- 2020Training data-efficient image transformers & distillation through attentioncited by 4,574
- 2014Going Deeper with Convolutionscited by 4,239
- 2020Unsupervised Learning of Visual Features by Contrasting Cluster Assignmentscited by 2,850
- 2023Code Llama: Open Foundation Models for Codecited by 2,130
- 2018Unsupervised Feature Learning via Non-Parametric Instance-level Discriminationcited by 1,841
- 2021Barlow Twins: Self-Supervised Learning via Redundancy Reductioncited by 1,826
- 2016Inception-v4, Inception-ResNet and the Impact of Residual Connections on Learningcited by 1,512
- 2020Understanding Contrastive Representation Learning through Alignment and Uniformity on the Hyperspherecited by 1,397
- 2017Multi-Task Learning Using Uncertainty to Weigh Losses for Scene Geometry and Semanticscited by 1,348
- 2020CodeBERT: A Pre-Trained Model for Programming and Natural Languagescited by 1,304
- 2019Contrastive Multiview Codingcited by 1,297
- 2014How transferable are features in deep neural networks?cited by 1,219
- 2016Deep Variational Information Bottleneckcited by 924
- 2017GradNorm: Gradient Normalization for Adaptive Loss Balancing in Deep Multitask Networkscited by 822
- 2018Multi-Task Learning as Multi-Objective Optimizationcited by 812
- 2013DeCAF: A Deep Convolutional Activation Feature for Generic Visual Recognitioncited by 423
- 2015Understanding Neural Networks Through Deep Visualizationcited by 333
- 2017DeepXplore: Automated Whitebox Testing of Deep Learning Systemscited by 311
- 2024Large Language Model Supply Chain: A Research Agendacited by 23
- 2021Decomposing Convolutional Neural Networks into Reusable and Replaceable Modulescited by 14
- 2024Deep Learning Model Reuse in the HuggingFace Community: Challenges, Benefit and Trendscited by 12
- 2023Challenges and Practices of Deep Learning Model Reengineering: A Case Study on Computer Visioncited by 11
- 2024Reusing Deep Learning Models: Challenges and Directions in Software Engineeringcited by 10
- 2022Patching Weak Convolutional Neural Network Models through Modularization and Compositioncited by 6
- 2023Reusing Deep Neural Network Models through Model Re-engineeringcited by 6
- 2023Modularizing while Training: A New Paradigm for Modularizing DNN Modelscited by 4
- 2022Decomposing a Recurrent Neural Network into Modules for Enabling Reusability and Replacementcited by 3
- 2023Reusing Convolutional Neural Network Models through Modularization and Compositioncited by 3
Built on by
Citing papers per year: 2026: 1.
1 paper.