Toward Understanding Deep Learning Framework Bugs
Not on the map. Why?
Abstract (arXiv)
DL frameworks are the basis of constructing all DL programs and models, and thus their bugs could lead to the unexpected behaviors of any DL program or model relying on them. Such a wide effect demonstrates the necessity and importance of guaranteeing DL frameworks' quality. Understanding the characteristics of DL framework bugs is a fundamental step for this quality assurance task, facilitating designing effective bug detection and debugging approaches. Hence, in this work we conduct the most large-scale study on 1,000 bugs from four popular and diverse DL frameworks (i.e., TensorFlow, PyTorch, MXNet, and DL4J). By analyzing the root causes and symptoms of DL framework bugs associated with 5 components decomposed from DL frameworks, as well as measuring test coverage achieved by three state-of-the-art testing techniques, we obtain 12 major findings for the comprehensive understanding of DL framework bugs and the current status of existing DL framework testing practice, and then provide a series of actionable guidelines for better DL framework bug detection and debugging. Finally, based on the guidelines, we design and implement a prototype DL-framework testing tool, called TenFuzz, which is evaluated to be effective and finds 3 unknown bugs on the latest TensorFlow framework in a preliminary study, indicating the significance of our guidelines.
Key facts. Cited by 26 papers in the map (data through 7 Oct 2026). First posted on arXiv 8 Mar 2022.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2022: 2; 2023: 4; 2024: 7; 2025: 7; 2026: 6.
26 papers.
Sort:
By area:
- 2024Impacts of floating-point non-associativity on reproducibility for HPC and deep learning applicationscited by 24
- 2023Challenges and Practices of Deep Learning Model Reengineering: A Case Study on Computer Visioncited by 11
- 2025Training with Confidence: Catching Silent Errors in Deep Learning Training with Automated Proactive Checkscited by 10
- 2024A Survey on Failure Analysis and Fault Injection in AI Systemscited by 7
- 2024Understanding the Fundamental Design Decisions of Retrieval-Augmented Generation Systemscited by 7
- 2024Deep Learning Library Testing: Definition, Methods and Challengescited by 4
- 2024Enhancing Differential Testing With LLMs For Testing Deep Learning Librariescited by 4
- 2022COMET: Coverage-guided Model Generation For Deep Learning Library Testingcited by 3
- 2025Clarifying Semantics of In-Context Examples for Unit Test Generationcited by 3
- 2026Where Agent Frameworks Fall Short: Examining Functional Challenges and Usability Concernscited by 3
- 2024Unraveling Code Clone Dynamics in Deep Learning Frameworkscited by 2
- 2026Why Does the LLM Stop Computing: An Empirical Study of User-Reported Failures in Open-Source LLMscited by 2
14 more
- 2023An Empirical Study on Bugs Inside PyTorch: A Replication Studycited by 1
- 2024Studying the Impact of TensorFlow and PyTorch Bindings on Machine Learning Software Qualitycited by 1
- 2025LibVulnWatch: A Deep Assessment Agent System and Leaderboard for Uncovering Hidden Vulnerabilities in Open-Source AI Librariescited by 1
- 2025An Empirical Study of Bugs in Data Visualization Librariescited by 1
- 2025Why Attention Fails: A Taxonomy of Faults in Attention-Based Neural Networkscited by 1
- 2022Comparative analysis of real bugs in open-source Machine Learning projects -- A Registered Reportcited by 0
- 2023Understanding Bugs in Multi-Language Deep Learning Frameworkscited by 0
- 2023A Comprehensive Empirical Study of Bugs in Open-Source Federated Learning Frameworkscited by 0
- 2025On the Mistaken Assumption of Interchangeable Deep Reinforcement Learning Implementationscited by 0
- 2025AutoEmpirical: LLM-Based Automated Research for Empirical Software Fault Analysiscited by 0
- 2026DepRadar: Agentic Coordination for Context Aware Defect Impact Analysis in Deep Learning Librariescited by 0
- 2026Ekka: Automated Diagnosis of Silent Errors in LLM Inferencecited by 0
- 2026From AI Technical Debt to Agentic Technical Debt: A Systematic Mapping of Root Causes and Manifestations in Agentic AI Systemscited by 0
- 2026Silent Failures Beyond the 32-Bit Index Range: A Differential Characterization of Large-Tensor Matrix Multiplication in PyTorch's MPS Backendcited by 0
- 2026Silent Failures Beyond the 32-Bit Index Range: A Differential Characterization of Large-Tensor Matrix Multiplication in PyTorch's MPS Backend19 Sep 2026
- 2026From AI Technical Debt to Agentic Technical Debt: A Systematic Mapping of Root Causes and Manifestations in Agentic AI Systems2 Aug 2026
- 2026Ekka: Automated Diagnosis of Silent Errors in LLM Inference3 Jun 2026
- 2026Where Agent Frameworks Fall Short: Examining Functional Challenges and Usability Concerns25 Feb 2026
- 2026Why Does the LLM Stop Computing: An Empirical Study of User-Reported Failures in Open-Source LLMs20 Jan 2026
- 2026DepRadar: Agentic Coordination for Context Aware Defect Impact Analysis in Deep Learning Libraries14 Jan 2026
- 2025AutoEmpirical: LLM-Based Automated Research for Empirical Software Fault Analysis6 Oct 2025
- 2025Clarifying Semantics of In-Context Examples for Unit Test Generation2 Oct 2025
- 2025Why Attention Fails: A Taxonomy of Faults in Attention-Based Neural Networks6 Aug 2025
- 2025An Empirical Study of Bugs in Data Visualization Libraries18 Jun 2025
- 2025Training with Confidence: Catching Silent Errors in Deep Learning Training with Automated Proactive Checks6 Jun 2025
- 2025LibVulnWatch: A Deep Assessment Agent System and Leaderboard for Uncovering Hidden Vulnerabilities in Open-Source AI Libraries13 May 2025
14 more
- 2025On the Mistaken Assumption of Interchangeable Deep Reinforcement Learning Implementations28 Mar 2025
- 2024Understanding the Fundamental Design Decisions of Retrieval-Augmented Generation Systems29 Nov 2024
- 2024Impacts of floating-point non-associativity on reproducibility for HPC and deep learning applications9 Aug 2024
- 2024Studying the Impact of TensorFlow and PyTorch Bindings on Machine Learning Software Quality7 Jul 2024
- 2024A Survey on Failure Analysis and Fault Injection in AI Systems28 Jun 2024
- 2024Enhancing Differential Testing With LLMs For Testing Deep Learning Libraries12 Jun 2024
- 2024Deep Learning Library Testing: Definition, Methods and Challenges27 Apr 2024
- 2024Unraveling Code Clone Dynamics in Deep Learning Frameworks25 Apr 2024
- 2023A Comprehensive Empirical Study of Bugs in Open-Source Federated Learning Frameworks9 Aug 2023
- 2023An Empirical Study on Bugs Inside PyTorch: A Replication Study25 Jul 2023
- 2023Challenges and Practices of Deep Learning Model Reengineering: A Case Study on Computer Vision13 Mar 2023
- 2023Understanding Bugs in Multi-Language Deep Learning Frameworks5 Mar 2023
- 2022Comparative analysis of real bugs in open-source Machine Learning projects -- A Registered Report20 Sep 2022
- 2022COMET: Coverage-guided Model Generation For Deep Learning Library Testing2 Aug 2022
- 2026Where Agent Frameworks Fall Short: Examining Functional Challenges and Usability Concernscited by 3
- 2025LibVulnWatch: A Deep Assessment Agent System and Leaderboard for Uncovering Hidden Vulnerabilities in Open-Source AI Librariescited by 1
- 2026DepRadar: Agentic Coordination for Context Aware Defect Impact Analysis in Deep Learning Librariescited by 0
- 2026From AI Technical Debt to Agentic Technical Debt: A Systematic Mapping of Root Causes and Manifestations in Agentic AI Systemscited by 0
- 2026From AI Technical Debt to Agentic Technical Debt: A Systematic Mapping of Root Causes and Manifestations in Agentic AI Systems2 Aug 2026
- 2026Where Agent Frameworks Fall Short: Examining Functional Challenges and Usability Concerns25 Feb 2026
- 2026DepRadar: Agentic Coordination for Context Aware Defect Impact Analysis in Deep Learning Libraries14 Jan 2026
- 2025LibVulnWatch: A Deep Assessment Agent System and Leaderboard for Uncovering Hidden Vulnerabilities in Open-Source AI Libraries13 May 2025
- 2024Impacts of floating-point non-associativity on reproducibility for HPC and deep learning applicationscited by 24
- 2023Challenges and Practices of Deep Learning Model Reengineering: A Case Study on Computer Visioncited by 11
- 2025Training with Confidence: Catching Silent Errors in Deep Learning Training with Automated Proactive Checkscited by 10
- 2024A Survey on Failure Analysis and Fault Injection in AI Systemscited by 7
- 2024Deep Learning Library Testing: Definition, Methods and Challengescited by 4
- 2024Enhancing Differential Testing With LLMs For Testing Deep Learning Librariescited by 4
- 2022COMET: Coverage-guided Model Generation For Deep Learning Library Testingcited by 3
- 2025Clarifying Semantics of In-Context Examples for Unit Test Generationcited by 3
- 2024Unraveling Code Clone Dynamics in Deep Learning Frameworkscited by 2
- 2026Why Does the LLM Stop Computing: An Empirical Study of User-Reported Failures in Open-Source LLMscited by 2
- 2023An Empirical Study on Bugs Inside PyTorch: A Replication Studycited by 1
- 2024Studying the Impact of TensorFlow and PyTorch Bindings on Machine Learning Software Qualitycited by 1
12 most cited of 20 All 20 (JSON)
- 2026Silent Failures Beyond the 32-Bit Index Range: A Differential Characterization of Large-Tensor Matrix Multiplication in PyTorch's MPS Backend19 Sep 2026
- 2026Why Does the LLM Stop Computing: An Empirical Study of User-Reported Failures in Open-Source LLMs20 Jan 2026
- 2025AutoEmpirical: LLM-Based Automated Research for Empirical Software Fault Analysis6 Oct 2025
- 2025Clarifying Semantics of In-Context Examples for Unit Test Generation2 Oct 2025
- 2025Why Attention Fails: A Taxonomy of Faults in Attention-Based Neural Networks6 Aug 2025
- 2025An Empirical Study of Bugs in Data Visualization Libraries18 Jun 2025
- 2025Training with Confidence: Catching Silent Errors in Deep Learning Training with Automated Proactive Checks6 Jun 2025
- 2025On the Mistaken Assumption of Interchangeable Deep Reinforcement Learning Implementations28 Mar 2025
- 2024Impacts of floating-point non-associativity on reproducibility for HPC and deep learning applications9 Aug 2024
- 2024Studying the Impact of TensorFlow and PyTorch Bindings on Machine Learning Software Quality7 Jul 2024
- 2024A Survey on Failure Analysis and Fault Injection in AI Systems28 Jun 2024
- 2024Enhancing Differential Testing With LLMs For Testing Deep Learning Libraries12 Jun 2024
12 newest of 20 All 20 (JSON)