Demystifying Dependency Bugs in Deep Learning Stack
Not on the map. Why?
Abstract (arXiv)
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 StackOverflow 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.
Key facts. Cited by 9 papers in the map (data through 14 Oct 2026). First posted on arXiv 21 Jul 2022.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2023: 3; 2024: 2; 2025: 3; 2026: 1.
9 papers.
- 2024A Survey on Failure Analysis and Fault Injection in AI Systemscited by 10
- 2024Deep Learning Library Testing: Definition, Methods and Challengescited by 5
- 2025The Last Dependency Crusade: Solving Python Dependency Conflicts with LLMscited by 3
- 2026Why Does the LLM Stop Computing: An Empirical Study of User-Reported Failures in Open-Source LLMscited by 3
- 2023NLP Workbench: Efficient and Extensible Integration of State-of-the-art Text Mining Toolscited by 1
- 2025Why Attention Fails: A Taxonomy of Faults in Attention-Based Neural Networkscited by 1
- 2025Imitation Game: Reproducing Deep Learning Bugs Leveraging an Intelligent Agentcited by 1
- 2023Understanding the Complexity and Its Impact on Testing in ML-Enabled Systemscited by 0
- 2023Understanding Bugs in Multi-Language Deep Learning Frameworkscited by 0
- 2026Why Does the LLM Stop Computing: An Empirical Study of User-Reported Failures in Open-Source LLMs20 Jan 2026
- 2025Imitation Game: Reproducing Deep Learning Bugs Leveraging an Intelligent Agent17 Dec 2025
- 2025Why Attention Fails: A Taxonomy of Faults in Attention-Based Neural Networks6 Aug 2025
- 2025The Last Dependency Crusade: Solving Python Dependency Conflicts with LLMs27 Jan 2025
- 2024A Survey on Failure Analysis and Fault Injection in AI Systems28 Jun 2024
- 2024Deep Learning Library Testing: Definition, Methods and Challenges27 Apr 2024
- 2023Understanding Bugs in Multi-Language Deep Learning Frameworks5 Mar 2023
- 2023NLP Workbench: Efficient and Extensible Integration of State-of-the-art Text Mining Tools2 Mar 2023
- 2023Understanding the Complexity and Its Impact on Testing in ML-Enabled Systems10 Jan 2023