一句话:提出 DEFault,结合动态/静态特征、分层分类与 SHAP 可解释性,检测并诊断 DNN 程序故障。
深度神经网络(DNN)程序因复杂性和随机性易出现可靠性问题,现有故障检测技术受限于故障类型或所用信息。本文提出 DEFault:训练时捕获动态运行时特征,用分层分类检测文献中的主要故障类别;再从 DNN 程序提取静态特征(如层类型),借助 SHAP 等可解释 AI 方法定位故障根因。作者在约 14.5K 个 DNN 程序上训练评估,并在 52 个真实故障 DNN 程序基准上验证;真实故障检测召回率约 94%,根因诊断召回率约 63%,比现有最优技术高 3.92%–11.54%。
Deep Neural Networks (DNN) have found numerous applications in various domains, including fraud detection, medical diagnosis, facial recognition, and autonomous driving. However, D NN - based systems often suffer from reliability issues due to their inherent complexity and the stochastic nature of their underlying models. Unfortunately, existing techniques to detect faults in DNN programs are either limited by the types of faults (e.g., hyperparameter or layer) they support or the kind of information (e.g., dynamic or static) they use. As a result, they might fall short of comprehensively detecting and diagnosing the faults. In this paper, we present DEFault (Detect and Explain Fault) - a novel technique to detect and diagnose faults in DNN programs. It first captures dynamic (i.e., runtime) features during model training and leverages a hierarchical classification approach to detect all major fault categories from the literature. Then, it captures static features (e.g., layer types) from DNN programs and leverages explainable AI methods (e.g., SHAP) to narrow down the root cause of the fault. We train and evaluate DEFault on a large, diverse dataset of ≈ 14.5K DNN programs and further validate our technique using a benchmark dataset of 52 real-life faulty DNN programs. Our approach achieves≈ 94% recall in detecting real-world faulty DNN programs and ≈ 63% recall in diagnosing the root causes of the faults, demonstrating 3.92%-11.54% higher performance than that of state-of-the-art techniques. Thus, DEFault has the potential to significantly improve the reliability of DNN programs by effectively detecting and diagnosing the faults.
DOI 原文 ·
@inproceedings{paperbot8701,
title = {Improved Detection and Diagnosis of Faults in Deep Neural Networks Using Hierarchical and Explainable Classification},
author = {Sigma Jahan and Mehil B Shah and Parvez Mahbub and Mohammad Masudur Rahman},
booktitle = {ICSE},
year = {2025},
doi = {10.1109/icse55347.2025.00224}
}