跳到主要导航 跳到搜索 跳到主要内容

Reusing Deep Neural Network Models through Model Re-engineering

  • Beihang University
  • Chongqing University

科研成果: 书/报告/会议事项章节会议稿件同行评审

摘要

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.

源语言英语
主期刊名Proceedings - 2023 IEEE/ACM 45th International Conference on Software Engineering, ICSE 2023
出版商IEEE Computer Society
983-994
页数12
ISBN(电子版)9781665457019
DOI
出版状态已出版 - 26 7月 2023
活动45th IEEE/ACM International Conference on Software Engineering, ICSE 2023 - Melbourne, 澳大利亚
期限: 15 5月 202316 5月 2023

出版系列

姓名Proceedings - International Conference on Software Engineering
ISSN(印刷版)0270-5257

会议

会议45th IEEE/ACM International Conference on Software Engineering, ICSE 2023
国家/地区澳大利亚
Melbourne
时期15/05/2316/05/23

学术指纹

探究 'Reusing Deep Neural Network Models through Model Re-engineering' 的科研主题。它们共同构成独一无二的学术指纹。

引用此