Lune

FSE2023顶会

Demystifying Dependency Bugs in Deep Learning Stack

Kaifeng Huang, Bihuan Chen, Susheng Wu, Junming Cao, Lei Ma, Xin Peng

摘要

Deep learning (DL) applications, built upon a heterogeneous and complex DL stack (e.g., Nvidia GPU, Linux, CUDA driver, Python runtime, and TensorFlow), are subject to software and hardware dependencies across the DL stack. One challenge in dependency management across the entire engineering lifecycle is posed by the asynchronous and radical evolution and the complex version constraints among dependencies. Developers may introduce dependency bugs (DBs) in selecting, using and maintaining dependencies. However, the characteristics of DBs in DL stack is still under-investigated, hindering practical solutions to dependency management in DL stack.

To bridge this gap, this paper presents the first comprehensive study to characterize symptoms, root causes and fix patterns of DBs across the whole DL stack with 446 DBs collected from Stack-Overflow posts and GitHub issues. For each DB, we first investigate the symptom as well as the lifecycle stage and dependency where the symptom is exposed. Then, we analyze the root cause as well as the lifecycle stage and dependency where the root cause is introduced. Finally, we explore the fix pattern and the knowledge sources that are used to fix it. Our findings from this study shed light on practical implications on dependency management.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 5 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Why Attention Fails: A Taxonomy of Faults in Attention-Based Neural Networks 引用了 Understanding performance problems in deep learning systems
  • Why Attention Fails: A Taxonomy of Faults in Attention-Based Neural Networks 引用了 Taxonomy of real faults in deep learning systems
  • Why Attention Fails: A Taxonomy of Faults in Attention-Based Neural Networks 引用了 DeepLocalize: Fault Localization for Deep Neural Networks
  • Understanding performance problems in deep learning systems 引用了 An empirical study on program failures of deep learning jobs
  • Understanding performance problems in deep learning systems 引用了 Repairing deep neural networks: fix patterns and challenges
  • Understanding performance problems in deep learning systems 引用了 A comprehensive study on challenges in deploying deep learning based software
  • Understanding performance problems in deep learning systems 引用了 Taxonomy of real faults in deep learning systems
  • Understanding performance problems in deep learning systems 引用了 DeepLocalize: Fault Localization for Deep Neural Networks
  • A comprehensive study on challenges in deploying deep learning based software 引用了 Taxonomy of real faults in deep learning systems
  • Imitation Game: Reproducing Deep Learning Bugs Leveraging an Intelligent Agent 引用了 Taxonomy of real faults in deep learning systems
  • Imitation Game: Reproducing Deep Learning Bugs Leveraging an Intelligent Agent 引用了 DeepLocalize: Fault Localization for Deep Neural Networks
  • DeepLocalize: Fault Localization for Deep Neural Networks 引用了 Repairing deep neural networks: fix patterns and challenges
  • Knowledge-Based Version Incompatibility Detection for Deep Learning 引用了 A comprehensive study on challenges in deploying deep learning based software
  • Knowledge-Based Version Incompatibility Detection for Deep Learning 引用了 Taxonomy of real faults in deep learning systems
  • A Comprehensive Study of Bug-Fix Patterns in Autonomous Driving Systems 引用了 Repairing deep neural networks: fix patterns and challenges
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper5

  1. Understanding performance problems in deep learning systemsJunming Cao, Bihuan Chen, Chao Sun, Longjie Hu 等FSE 2022 · 33 次引用
  2. Knowledge-Based Version Incompatibility Detection for Deep LearningZhongkai Zhao, Bonan Kou, Mohamed Yilmaz Ibrahim, Muhao Chen 等FSE 2023 · 7 次引用
  3. A Comprehensive Study of Bug-Fix Patterns in Autonomous Driving SystemsYuntianyi Chen, Yuqi Huai, Yirui He, Shilong Li 等FSE 2025 · 1 次引用
  4. Why Attention Fails: A Taxonomy of Faults in Attention-Based Neural NetworksSigma Jahan, Saurabhsingh Rajput, Tushar Sharma, Masud RahmanICSE 2026
  5. Imitation Game: Reproducing Deep Learning Bugs Leveraging an Intelligent AgentMehil Shah, Mohammad Masudur Rahman, Foutse KhomhICSE 2026

它引用的 Paper25

  1. Taxonomy of real faults in deep learning systemsNargiz Humbatova, Gunel Jahangirova, Gabriele Bavota, Vincenzo Riccio 等ICSE 2020 · 281 次引用
  2. A comprehensive study on challenges in deploying deep learning based softwareZhenpeng Chen, Yanbin Cao, Yuanqiang Liu, Haoyu Wang 等FSE 2020 · 121 次引用
  3. Repairing deep neural networks: fix patterns and challengesMd Johirul Islam, Rangeet Pan, Giang Nguyen, Hridesh RajanICSE 2020 · 102 次引用
  4. An empirical study on program failures of deep learning jobsRu Zhang, Wencong Xiao, Hongyu Zhang, Yu Liu 等ICSE 2020 · 96 次引用
  5. DeepLocalize: Fault Localization for Deep Neural NetworksMohammad Wardat, Wei Le, Hridesh RajanICSE 2021 · 93 次引用

相关 Paper

  1. Compatibility Issues in Deep Learning Systems: Problems and OpportunitiesJun Wang, Guanping Xiao, Shuai Zhang, Huashan Lei 等FSE 2023 · 13 次引用
  2. An Empirical Study on Deployment Faults of Deep Learning Based Mobile ApplicationsZhenpeng Chen, Huihan Yao, Yiling Lou, Yanbin Cao 等ICSE 2021 · 73 次引用
  3. Towards Understanding the Faults of JavaScript-Based Deep Learning SystemsLili Quan, Qianyu Guo, Xiaofei Xie, Sen Chen 等ASE 2022 · 13 次引用
  4. DeepStability: A Study of Unstable Numerical Methods and Their Solutions in Deep LearningEliska Kloberdanz, Kyle G. Kloberdanz, Wei LeICSE 2022 · 16 次引用
  5. Towards Understanding Docker Build Faults in Practice: Symptoms, Root Causes, and Fix PatternsYiwen Wu, Yang Zhang, Tao Wang, Bo Ding 等FSE 2025 · 4 次引用
黄昏的海面,两侧是细线勾勒的悬崖