paper-with-me

홈 › Papers

Reusing Deep Neural Network Models through Model Re-engineering

2023-04-01 · Binhang Qi, Hailong Sun, Xiang Gao, Hongyu Zhang, Zhaotian Li, Xudong Liu

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.

📄 PDF Abstract BibTeX arXiv:2304.00245

Code (1)

qibinhang/seam 공식 구현 pytorch

Similar Papers 제목 키워드 기반

LaF: Labeling-Free Model Selection for Automated Deep Neural Network Reusing

2022-04-08 · Qiang Hu, Yuejun Guo, Maxime Cordy, Xiaofei Xie 외

Applying deep learning to science is a new trend in recent years which leads DL engineering to become an important problem. Although training data preparation, model architecture design, and model training are the normal…

Model Selection

Challenges and Practices of Deep Learning Model Reengineering: A Case Study on Computer Vision

2023-03-13 · Wenxin Jiang, Vishnu Banna, Naveen Vivek, Abhinav Goel 외

Many engineering organizations are reimplementing and extending deep neural networks from the research community. We describe this process as deep learning model reengineering. Deep learning model reengineering - reusing…

Deep Learning

AIDE: AI-Driven Exploration in the Space of Code

2025-02-18 · Zhengyao Jiang, Dominik Schmidt, Dhruv Srikanth, Dixing Xu 외

Machine learning, the foundation of modern artificial intelligence, has driven innovations that have fundamentally transformed the world. Yet, behind advancements lies a complex and often tedious process requiring labor …

Modularizing while Training: A New Paradigm for Modularizing DNN Models

2023-06-15 · Binhang Qi, Hailong Sun, Hongyu Zhang, Ruobing Zhao 외

Deep neural network (DNN) models have become increasingly crucial components in intelligent software systems. However, training a DNN model is typically expensive in terms of both time and money. To address this issue, r…

Mining Software Components from Object-Oriented APIs

2016-06-02 · Anas Shatnawi, Abdelhak Seriai, Houari Sahraoui, Zakarea Al-Shara

Object-oriented Application Programing Interfaces (APIs) support software reuse by providing pre-implemented functionalities. Due to the huge number of included classes, reusing and understanding large APIs is a complex …

Object