DeepFD: Automated Fault Diagnosis and Localization for Deep Learning Programs

被引:19
|
作者
Cao, Jialun [1 ,2 ]
Li, Meiziniu [1 ]
Chen, Xiao [3 ]
Wen, Ming [3 ]
Tian, Yongqiang [1 ,4 ]
Wu, Bo [5 ]
Cheung, Shing-Chi [1 ,2 ]
机构
[1] Hong Kong Univ Sci & Technol, Hong Kong, Peoples R China
[2] Guangzhou HKUST Fok Ying Tung Res Inst, Guangzhou, Guangdong, Peoples R China
[3] Huazhong Univ Sci & Technol, Wuhan, Peoples R China
[4] Univ Waterloo, Waterloo, ON, Canada
[5] MIT IBM Watson AI Lab, Cambridge, MA USA
基金
中国国家自然科学基金;
关键词
Neural Networks; Fault Diagnosis; Fault Localization; Debugging; DECISION TREES;
D O I
10.1145/3510003.3510099
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
As Deep Learning (DL) systems are widely deployed for mission-critical applications, debugging such systems becomes essential. Most existing works identify and repair suspicious neurons on the trained Deep Neural Network (DNN), which, unfortunately, might be a detour. Specifically, several existing studies have reported that many unsatisfactory behaviors are actually originated from the faults residing in DL programs. Besides, locating faulty neurons is not actionable for developers, while locating the faulty statements in DL programs can provide developers with more useful information for debugging. Though a few recent studies were proposed to pinpoint the faulty statements in DL programs or the training settings (e.g. too large learning rate), they were mainly designed based on predefined rules, leading to many false alarms or false negatives, especially when the faults are beyond their capabilities. In view of these limitations, in this paper, we proposed DeepFD, a learning-based fault diagnosis and localization framework which maps the fault localization task to a learning problem. In particular, it infers the suspicious fault types via monitoring the runtime features extracted during DNN model training, and then locates the diagnosed faults in DL programs. It overcomes the limitations by identifying the root causes of faults in DL programs instead of neurons, and diagnosing the faults by a learning approach instead of a set of hard-coded rules. The evaluation exhibits the potential of DeepFD. It correctly diagnoses 52% faulty DL programs, compared with around half (27%) achieved by the best state-of-the-art works. Besides, for fault localization, DeepFD also outperforms the existing works, correctly locating 42% faulty programs, which almost doubles the best result (23%) achieved by the existing works.
引用
收藏
页码:573 / 585
页数:13
相关论文
共 50 条
  • [31] Research on Ship Fault Diagnosis Based on Deep Learning
    Zhu Jun
    Wang Lei
    Zhang Di
    INTERNATIONAL CONFERENCE ON ENERGY, POWER AND MECHANICAL ENGINEERING (EPME2019), 2020, 793
  • [32] Deep Learning Based Approach for Bearing Fault Diagnosis
    He, Miao
    He, David
    IEEE TRANSACTIONS ON INDUSTRY APPLICATIONS, 2017, 53 (03) : 3057 - 3065
  • [33] Analog Circuit Fault Diagnosis Based on Deep Learning
    Zhao, Dezan
    Xing, Jun
    Wang, Zhisen
    Proceedings of the 2016 4th International Conference on Mechanical Materials and Manufacturing Engineering (MMME 2016), 2016, 79 : 254 - 256
  • [34] Fault diagnosis of motor bearing based on deep learning
    Jian, Yifan
    Qing, Xianguo
    He, Liang
    Zhao, Yang
    Qi, Xiao
    Du, Ming
    ADVANCES IN MECHANICAL ENGINEERING, 2019, 11 (09)
  • [35] A survey on Deep Learning based bearing fault diagnosis
    Hoang, Duy-Tang
    Kang, Hee-Jun
    NEUROCOMPUTING, 2019, 335 : 327 - 335
  • [36] Automated diagnosis of breast cancer using deep learning
    Floroiu, Iustin
    Timisica, Daniela
    Boncea, Radu Marius
    ROMANIAN JOURNAL OF INFORMATION TECHNOLOGY AND AUTOMATIC CONTROL-REVISTA ROMANA DE INFORMATICA SI AUTOMATICA, 2023, 33 (03): : 99 - 112
  • [37] A Deep Learning Approach to Earth Fault Classification and Source Localization
    Balouji, Ebrahim
    Backstrom, Karl
    Hovila, Petri
    2020 IEEE PES INNOVATIVE SMART GRID TECHNOLOGIES EUROPE (ISGT-EUROPE 2020): SMART GRIDS: KEY ENABLERS OF A GREEN POWER SYSTEM, 2020, : 635 - 639
  • [38] Automated Glaucoma Diagnosis using Deep Learning Approach
    Al-Bander, Baidaa
    Al-Nuaimy, Waleed
    Al-Taee, Majid A.
    Zheng, Yalin
    2017 14TH INTERNATIONAL MULTI-CONFERENCE ON SYSTEMS, SIGNALS & DEVICES (SSD), 2017, : 207 - 210
  • [39] Deep Learning-Based Fault Localization with Contextual Information
    Zhang, Zhuo
    Lei, Yan
    Tan, Qingping
    Mao, Xiaoguang
    Zeng, Ping
    Chang, Xi
    IEICE TRANSACTIONS ON INFORMATION AND SYSTEMS, 2017, E100D (12) : 3027 - 3031
  • [40] Improving deep-learning-based fault localization with resampling
    Zhang, Zhuo
    Lei, Yan
    Mao, Xiaoguang
    Yan, Meng
    Xu, Ling
    Wen, Junhao
    JOURNAL OF SOFTWARE-EVOLUTION AND PROCESS, 2021, 33 (03)