An Empirical Study of Fault Triggers in Deep Learning Frameworks

被引:8
|
作者
Du, Xiaoting [1 ]
Sui, Yulei [2 ]
Liu, Zhihao [1 ]
Ai, Jun [3 ]
机构
[1] Beihang Univ, Sch Automat Sci & Elect Engn, State Key Lab Software Dev Environm, Beijing 100190, Peoples R China
[2] Univ Technol Sydney, Australian Artificial Intelligence Inst, Sydney, NSW 2007, Australia
[3] Bei Hang Univ, Sch Reliabil & Syst Engn Sci & Technol, Reliabil & Environm Engn Lab, Beijing 100190, Peoples R China
基金
中国国家自然科学基金;
关键词
Fault triggers; mandelbug; deep learning framework; TensorFlow; empirical study; BUGS; REJUVENATION;
D O I
10.1109/TDSC.2022.3152239
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Deep learning frameworks play a key rule to bridge the gap between deep learning theory and practice. With the growing of safety- and security-critical applications built upon deep learning frameworks, their reliability is becoming increasingly important. To ensure the reliability of these frameworks, several efforts have been taken to study the causes and symptoms of bugs in deep learning frameworks, however, relatively little progress has been made in investigating the fault triggering conditions of those bugs. This paper presents the first comprehensive empirical study on fault triggering conditions in three widely-used deep learning frameworks (i.e., TensorFlow, MXNET and PaddlePaddle). We have collected 3,555 bug reports from GitHub repositories of these frameworks. A bug classification is performed based on fault triggering conditions, followed by the analysis of frequency distribution of different bug types and the evolution features. The correlations between bug types and fixing time are investigated. Moreover, we have also studied the root causes of Bohrbugs and Mandelbugs and investigated the important consequences of each bug type. Finally, the analysis of regression bugs in deep learning frameworks is conducted. We have revealed 12 important findings based on our empirical results and have provided 10 implications for developers and users.
引用
收藏
页码:2696 / 2712
页数:17
相关论文
共 50 条
  • [1] An Empirical Study on Performance Bugs in Deep Learning Frameworks
    Makkouk, Tarek
    Kim, Dong Jae
    Chen, Tse-Hsun
    2022 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE AND EVOLUTION (ICSME 2022), 2022, : 35 - 46
  • [2] A comprehensive empirical study on bug characteristics of deep learning frameworks
    Yang, Yilin
    He, Tianxing
    Xia, Zhilong
    Feng, Yang
    INFORMATION AND SOFTWARE TECHNOLOGY, 2022, 151
  • [3] Silent bugs in deep learning frameworks: an empirical study of Keras and TensorFlow
    Tambon, Florian
    Nikanjam, Amin
    An, Le
    Khomh, Foutse
    Antoniol, Giuliano
    EMPIRICAL SOFTWARE ENGINEERING, 2024, 29 (01)
  • [4] Silent bugs in deep learning frameworks: an empirical study of Keras and TensorFlow
    Florian Tambon
    Amin Nikanjam
    Le An
    Foutse Khomh
    Giuliano Antoniol
    Empirical Software Engineering, 2024, 29
  • [5] AN EMPIRICAL STUDY OF MACHINE LEARNING AND DEEP LEARNING ALGORITHMS ON BEARING FAULT DIAGNOSIS BENCHMARKS
    Rezaeianjouybari, Behnoush
    Shang, Yi
    PROCEEDINGS OF ASME 2021 INTERNATIONAL MECHANICAL ENGINEERING CONGRESS AND EXPOSITION (IMECE2021), VOL 7A, 2021,
  • [6] An Empirical Study of Fault Triggers in the Linux Operating System: An Evolutionary Perspective
    Xiao, Guanping
    Zheng, Zheng
    Yin, Beibei
    Trivedi, Kishor S.
    Du, Xiaoting
    Cai, Kai-Yuan
    IEEE TRANSACTIONS ON RELIABILITY, 2019, 68 (04) : 1356 - 1383
  • [7] An Empirical Study towards Characterizing Deep Learning Development and Deployment across Different Frameworks and Platforms
    Quo, Qianyu
    Chen, Sen
    Xie, Xiaofei
    Mai, Lei
    Hu, Qiang
    Liu, Hongtao
    Liu, Yang
    Zhao, Jianjun
    Li, Xiaohong
    34TH IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING (ASE 2019), 2019, : 822 - 834
  • [8] An Empirical Study of Bugs in Quantum Machine Learning Frameworks
    Zhao, Pengzhan
    Wu, Xiongfei
    Luo, Junjie
    Li, Zhuo
    Zhao, Jianjun
    2023 IEEE INTERNATIONAL CONFERENCE ON QUANTUM SOFTWARE, QSW, 2023, : 68 - 75
  • [9] Source File Tracking Localization: A Fault Localization Method for Deep Learning Frameworks
    Ma, Zhenshu
    Yang, Bo
    Zhang, Yuhang
    ELECTRONICS, 2023, 12 (22)
  • [10] An Empirical Investigation of Fault Triggers in Android Operating System
    Qin, Fangyun
    Zheng, Zheng
    Li, Xiaodan
    Qiao, Yu
    Trivedi, Kishor S.
    2017 IEEE 22ND PACIFIC RIM INTERNATIONAL SYMPOSIUM ON DEPENDABLE COMPUTING (PRDC 2017), 2017, : 135 - 144