DeepFD: Automated Fault Diagnosis and Localization for Deep Learning Programs

被引:13
|
作者
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 条
  • [1] Automated Fault Localization for C Programs
    Griesmayer, Andreas
    Staber, Stefan
    Bloem, Roderick
    ELECTRONIC NOTES IN THEORETICAL COMPUTER SCIENCE, 2007, 174 (04) : 95 - 111
  • [2] Automated Skin Cancer Diagnosis and Localization Using Deep Reinforcement Learning
    Renith, G.
    Senthilselvi, A.
    IETE JOURNAL OF RESEARCH, 2024, 70 (04) : 3631 - 3645
  • [4] Deep learning for automated drivetrain fault detection
    Bach-Andersen, Martin
    Romer-Odgaard, Bo
    Winther, Ole
    WIND ENERGY, 2018, 21 (01) : 29 - 41
  • [5] Automated detection and diagnosis of leak fault considering volatility by graph deep probability learning
    Shi, Jihao
    Zhang, Xinqi
    Zhang, Haoran
    Wang, Qiliang
    Yan, Jinyue
    Xiao, Linda
    APPLIED ENERGY, 2024, 361
  • [6] Fault Diagnosis Based on Deep Learning
    Lv, Feiya
    Wen, Chenglin
    Bao, Zejing
    Liu, Meiqin
    2016 AMERICAN CONTROL CONFERENCE (ACC), 2016, : 6851 - 6856
  • [7] DeepFL: Integrating Multiple Fault Diagnosis Dimensions for Deep Fault Localization
    Li, Xia
    Li, Wei
    Zhang, Yuqun
    Zhang, Lingming
    PROCEEDINGS OF THE 28TH ACM SIGSOFT INTERNATIONAL SYMPOSIUM ON SOFTWARE TESTING AND ANALYSIS (ISSTA '19), 2019, : 169 - 180
  • [8] Coverage-enhanced fault diagnosis for Deep Learning programs: A learning-based approach with hybrid metrics
    Qi, Xiaofang
    Zhu, Tiangang
    Li, Yanhui
    INFORMATION AND SOFTWARE TECHNOLOGY, 2024, 173
  • [9] Automated diagnosis and probing flow for fast fault localization in IC
    Martin, D
    Desplats, R
    Haller, G
    Nouet, P
    Azaïs, F
    MICROELECTRONICS RELIABILITY, 2004, 44 (9-11) : 1553 - 1558
  • [10] Bearing Fault Diagnosis with Deep Learning Models
    Yi, Chia-An
    Wang, Yu-Ling
    Lai, Huei-Yang
    Chen, Yi-Wei
    Yang, Chan-Yun
    2020 INTERNATIONAL CONFERENCE ON IMAGE PROCESSING AND ROBOTICS (ICIPROB 2020, 2020,