DeepPatch: Maintaining Deep Learning Model Programs to Retain Standard Accuracy with Substantial Robustness Improvement

Author:

Wei Zhengyuan1ORCID,Wang Haipeng1ORCID,Ashraf Imran1ORCID,Chan Wing-Kwong1ORCID

Affiliation:

1. City University of Hong Kong, China

Abstract

Maintaining a deep learning (DL) model by making the model substantially more robust through retraining with plenty of adversarial examples of non-trivial perturbation strength often reduces the model’s standard accuracy. Many existing model repair or maintenance techniques sacrifice standard accuracy to produce a large gain in robustness or vice versa. This article proposes DeepPatch, a novel technique to maintain filter-intensive DL models. To the best of our knowledge, DeepPatch is the first work to address the challenge of standard accuracy retention while substantially improving the robustness of DL models with plenty of adversarial examples of non-trivial and diverse perturbation strengths. Rather than following the conventional wisdom to generalize all the components of a DL model over the union set of clean and adversarial samples, DeepPatch formulates a novel division of labor method to adaptively activate a subset of its inserted processing units to process individual samples. Its produced model can generate the original or replacement feature maps in each forward pass of the patched model, making the patched model carry an intrinsic property of behaving like the model under maintenance on demand. The overall experimental results show that DeepPatch successfully retains the standard accuracy of all pretrained models while improving the robustness accuracy substantially. However, the models produced by the peer techniques suffer from either large standard accuracy loss or small robustness improvement compared with the models under maintenance, rendering them unsuitable in general to replace the latter.

Funder

CityU MFEXT

Publisher

Association for Computing Machinery (ACM)

Subject

Software

Reference108 articles.

1. Tesla. 2019. Tesla Vehicle Safety Report. Retrieved June 18 2023 from https://www.tesla.com/en_HK/VehicleSafetyReport.

2. Aaron Xichen. 2020. Implementation of Pytorch-playground. Retrieved June 18 2023 from https://github.com/aaron-xichen/pytorch-playground.

3. Facebook AI. 2022. Image Classification on CIFAR-10. Retrieved January 6 2022 from https://paperswithcode.com/sota/image-classification-on-cifar-10?tag_filter=3.

4. Translating video recordings of mobile app usages into replayable scenarios

Cited by 2 articles. 订阅此论文施引文献 订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献

1. Context-Aware Fuzzing for Robustness Enhancement of Deep Learning Models;ACM Transactions on Software Engineering and Methodology;2024-07-24

2. LUNA: A Model-Based Universal Analysis Framework for Large Language Models;IEEE Transactions on Software Engineering;2024-07

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3