mlsanityData to 14 Oct 2026

On Testing Machine Learning Programs

arXiv 1812.02257 ↗First posted 5 Dec 2018cs.SEcited by 48

Not on the map. Why?

Abstract (arXiv)

Nowadays, we are witnessing a wide adoption of Machine learning (ML) models in many safety-critical systems, thanks to recent breakthroughs in deep learning and reinforcement learning. Many people are now interacting with systems based on ML every day, e.g., voice recognition systems used by virtual personal assistants like Amazon Alexa or Google Home. As the field of ML continues to grow, we are likely to witness transformative advances in a wide range of areas, from finance, energy, to health and transportation. Given this growing importance of ML-based systems in our daily life, it is becoming utterly important to ensure their reliability. Recently, software researchers have started adapting concepts from the software testing domain (e.g., code coverage, mutation testing, or property-based testing) to help ML engineers detect and correct faults in ML programs. This paper reviews current existing testing practices for ML programs. First, we identify and explain challenges that should be addressed when testing ML programs. Next, we report existing solutions found in the literature for testing ML programs. Finally, we identify gaps in the literature related to the testing of ML programs and make recommendations of future research directions for the scientific community. We hope that this comprehensive review of software testing practices will help ML engineers identify the right approach to improve the reliability of their ML-based systems. We also hope that the research community will act on our proposed research directions to advance the state of the art of testing for ML programs.

Key facts. Cited by 48 papers in the map (data through 14 Oct 2026). First posted on arXiv 5 Dec 2018.

Builds on

No reference list yet.

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2021: 8; 2022: 8; 2023: 13; 2024: 15; 2025: 3; 2026: 1.

48 papers.

Sort:

By area:

  1. 2021Software Engineering for AI-Based Systems: A Surveycited by 69
  2. 2021Collaboration Challenges in Building ML-Enabled Systems: Communication, Documentation, Engineering, and Processcited by 56
  3. 2023Emotionally Numb or Empathetic? Evaluating How LLMs Feel Using EmotionBenchcited by 54
  4. 2023A Meta-Summary of Challenges in Building Products with ML Components -- Collecting Experiences from 4758+ Practitionerscited by 22
  5. 2023METAL: Metamorphic Testing Framework for Analyzing Large-Language Model Qualitiescited by 20
  6. 2023Testing of Deep Reinforcement Learning Agents with Surrogate Modelscited by 13
  7. 2023Challenges and Practices of Deep Learning Model Reengineering: A Case Study on Computer Visioncited by 11
  8. 2024A Survey on Verification and Validation, Testing and Evaluations of Neurosymbolic Artificial Intelligencecited by 10
  9. 2021Automatic Fault Detection for Deep Learning Programs Using Graph Transformationscited by 9
  10. 2023Data Cleaning and Machine Learning: A Systematic Literature Reviewcited by 9
  11. 2024PeaTMOSS: A Dataset and Initial Analysis of Pre-Trained Models in Open-Source Softwarecited by 9
  12. 2024Large Language Models Synergize with Automated Machine Learningcited by 9
36 more
  1. 2024Machine Learning Robustness: A Primercited by 8
  2. 2025Challenges in Testing Large Language Model Based Software: A Faceted Taxonomycited by 8
  3. 2022Quality issues in Machine Learning Software Systemscited by 7
  4. 2022Systematic Training and Testing for Machine Learning Using Combinatorial Interaction Testingcited by 6
  5. 2023Model Reporting for Certifiable AI: A Proposal from Merging EU Regulation into AI Developmentcited by 6
  6. 2024Towards Enhancing the Reproducibility of Deep Learning Bugs: An Empirical Studycited by 6
  7. 2024Online Safety Analysis for LLMs: a Benchmark, an Assessment, and a Path Forwardcited by 6
  8. 2024A Large-Scale Study of Model Integration in ML-Enabled Software Systemscited by 6
  9. 2024Deep Learning Library Testing: Definition, Methods and Challengescited by 5
  10. 2024Maintainability Challenges in ML: A Systematic Literature Reviewcited by 5
  11. 2022Data Smells: Categories, Causes and Consequences, and Detection of Suspicious Data in AI-based Systemscited by 4
  12. 2024Benchmarking Generative AI Models for Deep Learning Test Input Generationcited by 4
  13. 2021Validation of Simulation-Based Testing: Bypassing Domain Shift with Label-to-Image Synthesiscited by 3
  14. 2022Tailored Uncertainty Estimation for Deep Learning Systemscited by 3
  15. 2022DiverGet: A Search-Based Software Testing Approach for Deep Neural Network Quantization Assessmentcited by 3
  16. 2022Differential testing for machine learning: an analysis for classification algorithms beyond deep learningcited by 3
  17. 2023Privacy Preservation in Artificial Intelligence and Extended Reality (AI-XR) Metaverses: A Surveycited by 3
  18. 2021Machine Learning Application Development: Practitioners' Insightscited by 2
  19. 2022Testing Deep Learning Models: A First Comparative Study of Multiple Testing Techniquescited by 2
  20. 2022Testing Feedforward Neural Networks Training Programscited by 2
  21. 2023MLTEing Models: Negotiating, Evaluating, and Documenting Model and System Qualitiescited by 2
  22. 2024Generative transformations and patterns in LLM-native approaches for software verification and falsificationcited by 2
  23. 2021A Review on Oracle Issues in Machine Learningcited by 1
  24. 2023PeaTMOSS: Mining Pre-Trained Models in Open-Source Softwarecited by 1
  25. 2023GIST: Generated Inputs Sets Transferability in Deep Learningcited by 1
  26. 2024How to Evaluate Entity Resolution Systems: An Entity-Centric Framework with Application to Inventor Name Disambiguationcited by 1
  27. 2021TimeGym: Debugging for Time Series Modeling in Pythoncited by 0
  28. 2021Is the Rush to Machine Learning Jeopardizing Safety? Results of a Surveycited by 0
  29. 2023Quality Issues in Machine Learning Software Systemscited by 0
  30. 2023Path Analysis for Effective Fault Localization in Deep Neural Networkscited by 0
  31. 2024Using Quality Attribute Scenarios for ML Model Test Case Generationcited by 0
  32. 2024Fuzzy Logic Guided Reward Function Variation: An Oracle for Testing Reinforcement Learning Programscited by 0
  33. 2024CAP: Detecting Unauthorized Data Usage in Generative Models via Prompt Generationcited by 0
  34. 2025Scalability and Maintainability Challenges and Solutions in Machine Learning: Systematic Literature Reviewcited by 0
  35. 2025The Engineer's Dilemma: A Review of Establishing a Legal Framework for Integrating Machine Learning in Construction by Navigating Precedents and Industry Expectationscited by 0
  36. 2026Leveraging System-Level Observations to Inform Bayesian Learning of Model Parameters for Quantitative Verificationcited by 0