Towards Understanding the Challenges of Bug Localization in Deep Learning Systems
Software bugs cost the global economy billions of dollars annually and claim ~50% of the programming time from software developers. Locating these bugs is crucial for their resolution but challenging. It is even more challenging in deep-learning systems due to their black-box nature. Bugs in these systems are also hidden not only in the code but also in the models and training data, which might make traditional debugging methods less effective. In this article, we conduct a large-scale empirical study to better understand the challenges of localizing bugs in deep-learning systems. First, we determine the bug localization performance of five existing techniques using 2,365 bugs from deep-learning systems and 2,913 from traditional software. We found these techniques significantly underperform in localizing deep-learning system bugs. Second, we evaluate how different bug types in deep learning systems impact bug localization. We found that the effectiveness of localization techniques varies with bug type due to their unique challenges. For example, tensor bugs were more accessible to locate due to their structural nature, while all techniques struggled with GPU bugs due to their external dependencies. Third, we investigate the impact of bugs’ extrinsic nature on localization in deep-learning systems. We found that deep learning bugs are often extrinsic and thus connected to artifacts other than source code (e.g., GPU, training data), contributing to the poor performance of existing localization methods.
| Slides (1145-Rahman.pptx) | 6.16MiB |
Fri 17 AprDisplayed time zone: Brasilia, Distrito Federal, Brazil change
11:00 - 12:30 | Testing and Analysis 17Demonstrations / Journal-first Papers / New Ideas and Emerging Results (NIER) at Oceania I Chair(s): Rangeet Pan IBM Research | ||
11:00 15mTalk | PySTAAR: An End-to-End, Extensible Framework for Automated Python Type Error Repair Demonstrations Wonseok Oh Korea University, Hyobin Park Kyungpook National University, Miryeong Kang Korea University, Seungbin Choi Kyungpook National University, Yunja Choi Kyungpook National University, Hakjoo Oh Korea University | ||
11:15 15mTalk | FlakeSync: A Tool for Automatically Repairing Async Flaky Tests Demonstrations Nandita Jayanthi The University of Texas at Austin, Shanto Rahman The University of Texas at Austin, August Shi The University of Texas at Austin | ||
11:30 15mTalk | The Sustainability Face of Automated Program Repair Tools Journal-first Papers Matias Martinez Universitat Politècnica de Catalunya (UPC), Silverio Martínez-Fernández UPC-BarcelonaTech, Xavier Franch Universitat Politècnica de Catalunya | ||
11:45 15mTalk | Towards Understanding the Challenges of Bug Localization in Deep Learning Systems Journal-first Papers Sigma Jahan Dalhousie University, Mehil Shah Dalhousie University, Masud Rahman Dalhousie University Pre-print File Attached | ||
12:00 15mTalk | Hypothesize-Then-Verify: Speculative Root Cause Analysis for Microservices with Pathwise Parallelism New Ideas and Emerging Results (NIER) Lingzhe Zhang Peking University, China, Tong Jia Institute for Artificial Intelligence, Peking University, Beijing, China, Yunpeng Zhai Alibaba Group, Leyi Pan Tsinghua University, Chiming Duan Peking University, Minghua He Peking University, Pei Xiao Peking University, Ying Li School of Software and Microelectronics, Peking University, Beijing, China | ||
12:15 15mTalk | Abductive Reasoning for Neurosymbolic Fault Localization New Ideas and Emerging Results (NIER) Minh Tam Le The University of Sydney, Australia, Xi Zheng Macquarie University, Hong Jin Kang University of Sydney | ||