Repairing Deep Neural Networks: Fix Patterns and Challenges

被引:81
|
作者
Islam, Md Johirul [1 ]
Pan, Rangeet [1 ]
Giang Nguyen [1 ]
Rajan, Hridesh [1 ]
机构
[1] Iowa State Univ, Dept Comp Sci, 226 Atanasoff Hall, Ames, IA 50011 USA
关键词
deep neural networks; bugs; bug fix; bug fix patterns;
D O I
10.1145/3377811.3380378
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Significant interest in applying Deep Neural Network (DNN) has fueled the need to support engineering of software that uses DNNs. Repairing software that uses DNNs is one such unmistakable SE need where automated tools could be beneficial; however, we do not fully understand challenges to repairing and patterns that are utilized when manually repairing DNNs. What challenges should automated repair tools address? What are the repair patterns whose automation could help developers? Which repair patterns should be assigned a higher priority for building automated bug repair tools? This work presents a comprehensive study of bug fix patterns to address these questions. We have studied 415 repairs from Stack Overflow and 555 repairs from GitHub for five popular deep learning libraries Caffe, Keras, Tensorflow, Theano, and Torch to understand challenges in repairs and bug repair patterns. Our key findings reveal that DNN bug fix patterns are distinctive compared to traditional bug fix patterns; the most common bug fix patterns are fixing data dimension and neural network connectivity; DNN bug fixes have the potential to introduce adversarial vulnerabilities; DNN bug fixes frequently introduce new bugs; and DNN bug localization, reuse of trained model, and coping with frequent releases are major challenges faced by developers when fixing bugs. We also contribute a benchmark of 667 DNN (bug, repair) instances.
引用
收藏
页码:1135 / 1146
页数:12
相关论文
共 50 条
  • [31] Deep convolutional neural networks for annotating gene expression patterns in the mouse brain
    Old Dominion University, Department of Computer Science, Norfolk
    VA
    23529, United States
    不详
    MI
    48109, United States
    不详
    MI
    48109, United States
    BMC Bioinform., 1
  • [32] Using deep convolutional neural networks to forecast spatial patterns of Amazonian deforestation
    Ball, James G. C.
    Petrova, Katerina
    Coomes, David A.
    Flaxman, Seth
    METHODS IN ECOLOGY AND EVOLUTION, 2022, 13 (11): : 2622 - 2634
  • [33] Human Recognition Using Deep Neural Networks and Spatial Patterns of SSVEP Signals
    Oikonomou, Vangelis P. P.
    SENSORS, 2023, 23 (05)
  • [34] Classification of Interstitial Lung Abnormality Patterns with an Ensemble of Deep Convolutional Neural Networks
    Bermejo-Pelaez, David
    Ash, Samuel Y.
    Washko, George R.
    Jose Esteparz, Raul San
    Ledesma-Carbayo, Maria J.
    SCIENTIFIC REPORTS, 2020, 10 (01)
  • [35] EXPLORING MOTOR IMAGERY EEG PATTERNS FOR STROKE PATIENTS WITH DEEP NEURAL NETWORKS
    Cheng, Dawei
    Liu, Ye
    Zhang, Liqing
    2018 IEEE INTERNATIONAL CONFERENCE ON ACOUSTICS, SPEECH AND SIGNAL PROCESSING (ICASSP), 2018, : 2561 - 2565
  • [36] Reconstructing faces from fMRI patterns using deep generative neural networks
    VanRullen, Rufin
    Reddy, Leila
    COMMUNICATIONS BIOLOGY, 2019, 2 (1)
  • [37] Reconstructing faces from fMRI patterns using deep generative neural networks
    Rufin VanRullen
    Leila Reddy
    Communications Biology, 2
  • [38] Deep convolutional neural networks for annotating gene expression patterns in the mouse brain
    Zeng, Tao
    Li, Rongjian
    Mukkamala, Ravi
    Ye, Jieping
    Ji, Shuiwang
    BMC Bioinformatics, 2015, 16 (01)
  • [39] Peri-Net: Analysis of Crack Patterns Using Deep Neural Networks
    Kim M.
    Winovich N.
    Lin G.
    Jeong W.
    Journal of Peridynamics and Nonlocal Modeling, 2019, 1 (2) : 131 - 142
  • [40] Interpreting Internal Activation Patterns in Deep Temporal Neural Networks by Finding Prototypes
    Cho, Sohee
    Chang, Wonjoon
    Lee, Ginkyeng
    Choi, Jaesik
    KDD '21: PROCEEDINGS OF THE 27TH ACM SIGKDD CONFERENCE ON KNOWLEDGE DISCOVERY & DATA MINING, 2021, : 158 - 166