Reusing Deep Neural Network Models through Model Re-engineering
Not on the map. Why?
Abstract (arXiv)
Training deep neural network (DNN) models, which has become an important task in today's software development, is often costly in terms of computational resources and time. With the inspiration of software reuse, building DNN models through reusing existing ones has gained increasing attention recently. Prior approaches to DNN model reuse have two main limitations: 1) reusing the entire model, while only a small part of the model's functionalities (labels) are required, would cause much overhead (e.g., computational and time costs for inference), and 2) model reuse would inherit the defects and weaknesses of the reused model, and hence put the new system under threats of security attack. To solve the above problem, we propose SeaM, a tool that re-engineers a trained DNN model to improve its reusability. Specifically, given a target problem and a trained model, SeaM utilizes a gradient-based search method to search for the model's weights that are relevant to the target problem. The re-engineered model that only retains the relevant weights is then reused to solve the target problem. Evaluation results on widely-used models show that the re-engineered models produced by SeaM only contain 10.11% weights of the original models, resulting 42.41% reduction in terms of inference time. For the target problem, the re-engineered models even outperform the original models in classification accuracy by 5.85%. Moreover, reusing the re-engineered models inherits an average of 57% fewer defects than reusing the entire model. We believe our approach to reducing reuse overhead and defect inheritance is one important step forward for practical model reuse.
Key facts. Cited by 5 papers in the map (data through 7 Oct 2026). Builds on 28 of its 60 references that are in the map. First posted on arXiv 1 Apr 2023.
Builds on
28 of 60 references.
References · 28
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2014Very Deep Convolutional Networks for Large-Scale Image Recognitioncited by 15,267
- 2017Towards Deep Learning Models Resistant to Adversarial Attackscited by 6,326
- 2018The Lottery Ticket Hypothesis: Finding Sparse, Trainable Neural Networkscited by 2,250
- 2013Rich feature hierarchies for accurate object detection and semantic segmentationcited by 2,160
- 2013Estimating or Propagating Gradients Through Stochastic Neurons for Conditional Computationcited by 2,031
- 2015Learning both Weights and Connections for Efficient Neural Networkscited by 1,998
- 2018DARTS: Differentiable Architecture Searchcited by 1,782
- 2014How transferable are features in deep neural networks?cited by 1,216
- 2016Pruning Filters for Efficient ConvNetscited by 1,129
- 2017Learning Sparse Neural Networks through L0 Regularizationcited by 571
16 more
- 2018Do Better ImageNet Models Transfer Better?cited by 560
- 2017ThiNet: A Filter Level Pruning Method for Deep Neural Network Compressioncited by 438
- 2017DeepXplore: Automated Whitebox Testing of Deep Learning Systemscited by 307
- 2016EIE: Efficient Inference Engine on Compressed Deep Neural Networkcited by 291
- 2020Understanding the Role of Individual Units in a Deep Neural Networkcited by 254
- 2020Binary Neural Networks: A Surveycited by 184
- 2018SpotTune: Transfer Learning through Adaptive Fine-tuningcited by 166
- 2018DLFuzz: Differential Fuzzing Testing of Deep Learning Systemscited by 64
- 2018Model-Reuse Attacks on Deep Learning Systemscited by 47
- 2020On the Predictability of Pruning Across Scalescited by 33
- 2021ModelDiff: Testing-Based DNN Similarity Comparison for Model Reuse Detectioncited by 33
- 2019A Target-Agnostic Attack on Deep Models: Exploiting Security Vulnerabilities of Transfer Learningcited by 15
- 2021Teacher Model Fingerprinting Attacks Against Transfer Learningcited by 15
- 2021Decomposing Convolutional Neural Networks into Reusable and Replaceable Modulescited by 14
- 2021Measuring Discrimination to Boost Comparative Testing for Multiple Deep Learning Modelscited by 6
- 2022Patching Weak Convolutional Neural Network Models through Modularization and Compositioncited by 5
Built on by
Citing papers per year: 2023: 2; 2024: 1; 2025: 2.
5 papers.
- 2023Modularizing while Training: A New Paradigm for Modularizing DNN Modelscited by 3
- 2024DNN Modularization via Activation-Driven Trainingcited by 2
- 2023PeaTMOSS: Mining Pre-Trained Models in Open-Source Softwarecited by 1
- 2025Speculative Automated Refactoring of Imperative Deep Learning Programs to Graph Executioncited by 0
- 2025NeMo: A Neuron-Level Modularizing-While-Training Approach for Decomposing DNN Modelscited by 0
- 2025NeMo: A Neuron-Level Modularizing-While-Training Approach for Decomposing DNN Models15 Aug 2025
- 2025Speculative Automated Refactoring of Imperative Deep Learning Programs to Graph Execution7 Apr 2025
- 2024DNN Modularization via Activation-Driven Training1 Nov 2024
- 2023PeaTMOSS: Mining Pre-Trained Models in Open-Source Software5 Oct 2023
- 2023Modularizing while Training: A New Paradigm for Modularizing DNN Models15 Jun 2023