Black-box Safety Analysis and Retraining of DNNs based on Feature Extraction and Clustering

Author:

Attaoui Mohammed1ORCID,Fahmy Hazem1ORCID,Pastore Fabrizio1ORCID,Briand Lionel2ORCID

Affiliation:

1. SnT Centre, University of Luxembourg, Luxembourg, Luxembourg

2. SnT Centre, University of Luxembourg and School of EECS, University of Ottawa, Ottawa, Canada

Abstract

Deep neural networks (DNNs) have demonstrated superior performance over classical machine learning to support many features in safety-critical systems. Although DNNs are now widely used in such systems (e.g., self driving cars), there is limited progress regarding automated support for functional safety analysis in DNN-based systems. For example, the identification of root causes of errors, to enable both risk analysis and DNN retraining, remains an open problem. In this article, we propose SAFE, a black-box approach to automatically characterize the root causes of DNN errors. SAFE relies on a transfer learning model pre-trained on ImageNet to extract the features from error-inducing images. It then applies a density-based clustering algorithm to detect arbitrary shaped clusters of images modeling plausible causes of error. Last, clusters are used to effectively retrain and improve the DNN. The black-box nature of SAFE is motivated by our objective not to require changes or even access to the DNN internals to facilitate adoption. Experimental results show the superior ability of SAFE in identifying different root causes of DNN errors based on case studies in the automotive domain. It also yields significant improvements in DNN accuracy after retraining, while saving significant execution time and memory when compared to alternatives.

Funder

Luxembourg’s National Research Fund

NSERC of Canada

Publisher

Association for Computing Machinery (ACM)

Subject

Software

Reference86 articles.

1. Raja Ben Abdessalem, Shiva Nejati, Lionel C. Briand, and Thomas Stifter. 2018. Testing vision-based control systems using learnable evolutionary algorithms. In Proceedings of the 2018 IEEE/ACM 40th International Conference on Software Engineering. IEEE, 1016–1026.

2. Using Bayesian networks for root cause analysis in statistical process control

3. Saad Albawi, Tareq Abed Mohammed, and Saad Al-Zawi. 2017. Understanding of a convolutional neural network. In Proceedings of the 2017 International Conference on Engineering and Technology. IEEE, 1–6.

4. iNNvestigate neural networks!;Alber Maximilian;Journal of Machine Learning Research,2019

5. Authors of this paper. 2022. SAFE: toolset and replicability package. Retrieved 2022 from https://zenodo.org/record/6619279.

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

1. Test Optimization in DNN Testing: A Survey;ACM Transactions on Software Engineering and Methodology;2024-01-27

2. Hierarchical Distribution-aware Testing of Deep Learning;ACM Transactions on Software Engineering and Methodology;2023-12-21

3. Black-Box Testing of Deep Neural Networks through Test Case Diversity;IEEE Transactions on Software Engineering;2023-05-01

4. Extracting Knowledge from Incompletely Known Models;Intelligent Data Engineering and Automated Learning – IDEAL 2023;2023

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

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

www.globalauthorid.com

TOP

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