Bugs in Machine Learning-based Systems: A Faultload Benchmark
Not on the map. Why?
Abstract (arXiv)
The rapid escalation of applying Machine Learning (ML) in various domains has led to paying more attention to the quality of ML components. There is then a growth of techniques and tools aiming at improving the quality of ML components and integrating them into the ML-based system safely. Although most of these tools use bugs' lifecycle, there is no standard benchmark of bugs to assess their performance, compare them and discuss their advantages and weaknesses. In this study, we firstly investigate the reproducibility and verifiability of the bugs in ML-based systems and show the most important factors in each one. Then, we explore the challenges of generating a benchmark of bugs in ML-based software systems and provide a bug benchmark namely defect4ML that satisfies all criteria of standard benchmark, i.e. relevance, reproducibility, fairness, verifiability, and usability. This faultload benchmark contains 100 bugs reported by ML developers in GitHub and Stack Overflow, using two of the most popular ML frameworks: TensorFlow and Keras. defect4ML also addresses important challenges in Software Reliability Engineering of ML-based software systems, like: 1) fast changes in frameworks, by providing various bugs for different versions of frameworks, 2) code portability, by delivering similar bugs in different ML frameworks, 3) bug reproducibility, by providing fully reproducible bugs with complete information about required dependencies and data, and 4) lack of detailed information on bugs, by presenting links to the bugs' origins. defect4ML can be of interest to ML-based systems practitioners and researchers to assess their testing tools and techniques.
Key facts. Cited by 15 papers in the map (data through 14 Oct 2026). Builds on 27 of its 92 references that are in the map. First posted on arXiv 24 Jun 2022.
Builds on
27 of 92 references.
References · 27
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,305
- 2016The Mythos of Model Interpretabilitycited by 721
- 2020Overfitting in adversarially robust deep learningcited by 506
- 2017DeepXplore: Automated Whitebox Testing of Deep Learning Systemscited by 311
- 2017DeepTest: Automated Testing of Deep-Neural-Network-driven Autonomous Carscited by 251
- 2019Machine Learning Testing: Survey, Landscapes and Horizonscited by 218
- 2018DeepGauge: Multi-Granularity Testing Criteria for Deep Learning Systemscited by 147
- 2018The Frontiers of Fairness in Machine Learningcited by 141
- 2019Transferable Clean-Label Poisoning Attacks on Deep Neural Netscited by 131
- 2019Taxonomy of Real Faults in Deep Learning Systemscited by 90
- 2021Software Engineering for AI-Based Systems: A Surveycited by 69
- 2019A Comprehensive Study on Deep Learning Bug Characteristicscited by 65
15 more
- 2016Theano: A Python framework for fast computation of mathematical expressionscited by 64
- 2021DeepLocalize: Fault Localization for Deep Neural Networkscited by 38
- 2020Repairing Deep Neural Networks: Fix Patterns and Challengescited by 33
- 2021Silent Bugs in Deep Learning Frameworks: An Empirical Study of Keras and TensorFlowcited by 25
- 2021Quality Assurance for AI-based Systems: Overview and Challengescited by 19
- 2021DeepDiagnosis: Automatically Diagnosing Faults and Recommending Actionable Fixes in Deep Learning Programscited by 19
- 2021Faults in Deep Reinforcement Learning Programs: A Taxonomy and A Detection Approachcited by 18
- 2019Bears: An Extensible Java Bug Benchmark for Automatic Program Repair Studiescited by 13
- 2021Design Smells in Deep Learning Programs: An Empirical Studycited by 10
- 2021Extracting Concise Bug-Fixing Patches from Human-Written Patches in Version Control Systemscited by 9
- 2021Automatic Fault Detection for Deep Learning Programs Using Graph Transformationscited by 9
- 2020The AIQ Meta-Testbed: Pragmatically Bridging Academic AI Testing and Industrial Q Needscited by 5
- 2020Are Multi-language Design Smells Fault-prone? An Empirical Studycited by 5
- 2019On the Diversity of Software Package Popularity Metrics: An Empirical Study of npmcited by 4
- 2021The challenge of reproducible ML: an empirical study on the impact of bugscited by 3
Built on by
Citing papers per year: 2023: 3; 2024: 4; 2025: 3; 2026: 5.
15 papers.
Sort:
By area:
- 2026Characterizing Faults in Agentic AI: A Taxonomy of Types, Symptoms, and Root Causescited by 12
- 2023Bug Characterization in Machine Learning-based Systemscited by 10
- 2024Understanding the Fundamental Design Decisions of Retrieval-Augmented Generation Systemscited by 7
- 2024Towards Enhancing the Reproducibility of Deep Learning Bugs: An Empirical Studycited by 6
- 2026Real Faults in Model Context Protocol (MCP) Software: a Comprehensive Taxonomycited by 6
- 2023Mutation-based Fault Localization of Deep Neural Networkscited by 5
- 2023NeuroCodeBench: a plain C neural network benchmark for software verificationcited by 3
- 2024Automated Repair of AI Code with Large Language Models and Formal Verificationcited by 3
- 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
- 2026A Taxonomy of Runtime Faults in Model Context Protocol Serverscited by 1
- 2024Predicting the Reliability of an Image Classifier under Image Distortioncited by 0
- 2026How Do AI Coding Agents Contribute to Software Development? an Empirical Study of Agentic Pull Requests23 Jul 2026
- 2026A Taxonomy of Runtime Faults in Model Context Protocol Servers3 Jun 2026
- 2026Quality-Driven Selective Mutation for Deep Learning24 Apr 2026
- 2026Characterizing Faults in Agentic AI: A Taxonomy of Types, Symptoms, and Root Causes6 Mar 2026
- 2026Real Faults in Model Context Protocol (MCP) Software: a Comprehensive Taxonomy5 Mar 2026
- 2025Imitation Game: Reproducing Deep Learning Bugs Leveraging an Intelligent Agent17 Dec 2025
- 2025A Defect Classification Framework for AI-Based Software Systems (AI-ODC)25 Aug 2025
- 2025Why Attention Fails: A Taxonomy of Faults in Attention-Based Neural Networks6 Aug 2025
- 2024Predicting the Reliability of an Image Classifier under Image Distortion22 Dec 2024
- 2024Understanding the Fundamental Design Decisions of Retrieval-Augmented Generation Systems29 Nov 2024
- 2024Automated Repair of AI Code with Large Language Models and Formal Verification14 May 2024
- 2024Towards Enhancing the Reproducibility of Deep Learning Bugs: An Empirical Study5 Jan 2024
3 more
- 2026Real Faults in Model Context Protocol (MCP) Software: a Comprehensive Taxonomycited by 6
- 2025Imitation Game: Reproducing Deep Learning Bugs Leveraging an Intelligent Agentcited by 1
- 2026A Taxonomy of Runtime Faults in Model Context Protocol Serverscited by 1
- 2026How Do AI Coding Agents Contribute to Software Development? an Empirical Study of Agentic Pull Requestscited by 0
- 2026How Do AI Coding Agents Contribute to Software Development? an Empirical Study of Agentic Pull Requests23 Jul 2026
- 2026A Taxonomy of Runtime Faults in Model Context Protocol Servers3 Jun 2026
- 2026Real Faults in Model Context Protocol (MCP) Software: a Comprehensive Taxonomy5 Mar 2026
- 2025Imitation Game: Reproducing Deep Learning Bugs Leveraging an Intelligent Agent17 Dec 2025
- 2023Bug Characterization in Machine Learning-based Systemscited by 10
- 2024Towards Enhancing the Reproducibility of Deep Learning Bugs: An Empirical Studycited by 6
- 2023Mutation-based Fault Localization of Deep Neural Networkscited by 5
- 2023NeuroCodeBench: a plain C neural network benchmark for software verificationcited by 3
- 2024Automated Repair of AI Code with Large Language Models and Formal Verificationcited by 3
- 2025Why Attention Fails: A Taxonomy of Faults in Attention-Based Neural Networkscited by 1
- 2024Predicting the Reliability of an Image Classifier under Image Distortioncited by 0
- 2025A Defect Classification Framework for AI-Based Software Systems (AI-ODC)cited by 0
- 2026Quality-Driven Selective Mutation for Deep Learningcited by 0
- 2026Quality-Driven Selective Mutation for Deep Learning24 Apr 2026
- 2025A Defect Classification Framework for AI-Based Software Systems (AI-ODC)25 Aug 2025
- 2025Why Attention Fails: A Taxonomy of Faults in Attention-Based Neural Networks6 Aug 2025
- 2024Predicting the Reliability of an Image Classifier under Image Distortion22 Dec 2024
- 2024Automated Repair of AI Code with Large Language Models and Formal Verification14 May 2024
- 2024Towards Enhancing the Reproducibility of Deep Learning Bugs: An Empirical Study5 Jan 2024
- 2023Mutation-based Fault Localization of Deep Neural Networks10 Sep 2023
- 2023NeuroCodeBench: a plain C neural network benchmark for software verification7 Sep 2023
- 2023Bug Characterization in Machine Learning-based Systems26 Jul 2023