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 条
  • [41] New automated machine learning based imbalanced learning method for fault diagnosis
    Sun C.
    Wen L.
    Li X.
    Gao L.
    Cong J.
    Jisuanji Jicheng Zhizao Xitong/Computer Integrated Manufacturing Systems, CIMS, 2021, 27 (10): : 2837 - 2847
  • [42] Optimized deep learning approach for automated fault diagnosis in mobile robot used for fire-fighting application
    Pandian, D. Satheesh
    EVOLVING SYSTEMS, 2025, 16 (02)
  • [43] Bearing Fault Diagnosis Using Machine Learning and Deep Learning Techniques
    Dhanush, N. Sai
    Ambika, P. S.
    FOURTH CONGRESS ON INTELLIGENT SYSTEMS, VOL 1, CIS 2023, 2024, 868 : 309 - 321
  • [44] Automatic Fault Detection for Deep Learning Programs Using Graph Transformations
    Nikanjam, Amin
    Ben Braiek, Houssem
    Morovati, Mohammad Mehdi
    Khomh, Foutse
    ACM TRANSACTIONS ON SOFTWARE ENGINEERING AND METHODOLOGY, 2022, 31 (01)
  • [45] Automated fault detection in java programs
    Res. Discl., 2006, 504 (372-376):
  • [46] Falcon: Fault localization in concurrent programs
    College of Computing, Georgia Institute of Technology, United States
    Proc Int Conf Software Eng, (245-254):
  • [47] Fault Localization for Buggy Deep Learning Framework Conversions in Image Recognition
    Louloudakis, Nikolaos
    Gibson, Perry
    Cano, Jose
    Rajan, Ajitha
    2023 38TH IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING, ASE, 2023, : 1795 - 1799
  • [48] Mechanical fault diagnosis based on deep transfer learning: a review
    Yang, Dalian
    Zhang, Wenbin
    Jiang, Yongzheng
    MEASUREMENT SCIENCE AND TECHNOLOGY, 2023, 34 (11)
  • [49] Gear Fault Diagnosis Based on Deep Learning and Subdomain Adaptation
    Jie Z.
    Wang X.
    Gong T.
    Zhongguo Jixie Gongcheng/China Mechanical Engineering, 2021, 32 (22): : 2716 - 2723
  • [50] Research on Deep Learning Method for Induction Motor Fault Diagnosis
    Li, Shasha
    Shi, Jie
    Computer Engineering and Applications, 60 (14): : 329 - 336