mlsanityData to 14 Oct 2026

Data-aware Static Analysis: Improving Detection of Semantic Faults in Machine Learning Code Using Data Characteristics

arXiv 2606.09957 ↗First posted 8 Jun 2026cs.SE cs.LGcited by 0

Not on the map. Why?

Abstract (arXiv)

Semantic faults specific to the use of machine learning models are a common problem for machine learning developers, causing suboptimal predictions, high computational cost, or incorrect outputs. For example, one may erroneously use unscaled data to train a scale-sensitive model. Machine learning developers detect these faults after training their models and manually analyzing the results, making it an inefficient process. We propose a novel data-aware static analysis approach to detect semantic faults in machine learning code, allowing developers to reveal these bugs while writing code instead of after training the model. Our approach uses combined data and control flow analysis, and API contracts, enabling data-aware reasoning about machine learning code at a high level of abstraction. We highlight the potential of our solution by analyzing a sample of real-world machine learning notebooks, finding that we can detect faults that require a data-aware approach.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 12 of its 30 references that are in the map. First posted on arXiv 8 Jun 2026.

Builds on

12 of 30 references.

References · 12

  1. 2021Data Collection and Quality Challenges in Deep Learning: A Data-Centric AI Perspectivecited by 116
  2. 2019Taxonomy of Real Faults in Deep Learning Systemscited by 90
  3. 2021Characterizing Technical Debt and Antipatterns in AI-Based Systems: A Systematic Mapping Studycited by 21
  4. 2019Better Code, Better Sharing:On the Need of Analyzing Jupyter Notebookscited by 13
  5. 2023Bug Characterization in Machine Learning-based Systemscited by 10
  6. 2022Quality issues in Machine Learning Software Systemscited by 7
  7. 2022Bug Analysis in Jupyter Notebook Projects: An Empirical Studycited by 5
  8. 2024Maintainability Challenges in ML: A Systematic Literature Reviewcited by 5
  9. 2024Why do Machine Learning Notebooks Crash? An Empirical Study on Public Python Jupyter Notebookscited by 4
  10. 2023Safe-DS: A Domain Specific Language to Make Data Science Safecited by 2
  11. 2023What Kinds of Contracts Do ML APIs Need?cited by 2
  12. 2025MLScent A tool for Anti-pattern detection in ML projectscited by 2

Built on by

Not cited yet.