TL;DR
This paper presents a comprehensive catalog of 18 recurring quality issues and 21 mitigation strategies for Machine Learning Software Systems (MLSSs), derived from in-depth interviews with 42 industry practitioners. The study highlights that "evaluability"—the difficulty of measuring a model's real-world impact compared to offline metrics—remains the most prevalent and challenging hurdle for engineers today.
What Problem Does This Paper Address?
As Machine Learning (ML) moves from experimental notebooks to production-grade software, the industry is hitting a wall: traditional software quality assurance (QA) doesn't quite fit. Unlike standard code, ML systems are "black boxes" whose behavior is dictated by data distributions that shift over time.
While previous research has touched on technical debt or general MLOps challenges, there hasn't been a clear, practitioner-focused taxonomy of the actual quality issues that plague these systems. The authors aim to bridge this gap by identifying what goes wrong in the real world, why it happens, and how experts are currently trying to fix it.
Methods
The researchers employed a multi-stage empirical approach grounded in Straussian Grounded Theory, a qualitative method where theories are built inductively from data.
- Pilot Study: Tested an interview guide with 5 diverse practitioners to ensure clarity.
- Semi-structured Interviews: Conducted 42 interviews (36 were used for final analysis) with data scientists, ML engineers, and managers from various sectors (IT, finance, healthcare). Participants were recruited from an industrial partner (MoovAI), GitHub, and Q&A sites like Stack Overflow.
- Qualitative Analysis: Used open and axial coding to categorize raw interview transcripts into discrete quality issues and mitigation strategies.
- Validation Survey: A follow-up survey with 21 experienced practitioners (>3 years experience) to rank the prevalence of the identified issues.
Datasets
Because this is an empirical study of human experience, the "datasets" are qualitative:
- Interview Transcripts: 36 anonymized transcripts from practitioners across North America, Europe, Asia, and South America.
- Survey Responses: 21 Likert-scale responses validating the frequency of quality issues.
- Replication Package: The authors have provided their interview guide, coding results, and anonymized transcripts on GitHub.
Key Insights and Ideas
- The Evaluability Gap: The most surprising finding is that high "accuracy" on a test set often fails to translate to business value. Practitioners struggle to define mathematical metrics that capture the true goal of the system (e.g., profit vs. F1-score).
- Annotation Drift: We often talk about data drift (changes in input) or concept drift (changes in the relationship between input and output). This paper highlights annotation drift—where the way humans label data changes over time (e.g., due to staff turnover), silently breaking models.
- Explainability vs. Trust: While researchers focus on complex explainability techniques (like SHAP or LIME), practitioners often find them "mathematical gibberish" that stakeholders don't trust. Instead, they prefer "transparency strategies," such as showing users similar historical cases to justify a prediction.
- The External Data Nightmare: MLSSs are uniquely vulnerable to external APIs. If a weather provider suddenly changes their units from Celsius to Fahrenheit without notice, the downstream ML model doesn't just crash; it produces confidently wrong predictions.
Key Results
The study identifies 18 issues across six dimensions: Evaluability, Explainability, Debuggability, Efficiency, Maintainability, and Reliability.
- Prevalence: Evaluability issues (e.g., inaccurate offline evaluation) were ranked as the most frequent. Efficiency issues (e.g., inference latency) were surprisingly ranked as less frequent, possibly because mature mitigation techniques like quantization already exist.
- Data Quality: "Data completeness" (missing values) and "Data accuracy/precision" (noisy features) were the most cited data-specific hurdles.
- Mitigation: The authors cataloged 21 practitioner-used strategies, such as:
- A/B Testing: Moving to online evaluation sooner to bypass flawed sandboxes.
- Data Redundancy: Fetching the same info from multiple providers to verify correctness.
- Full-Stack ML Roles: Encouraging roles that understand both the data source and the model to reduce communication overhead during debugging.
Limitations and Future Work
The authors acknowledge a potential bias toward small-to-medium consulting firms, as 40% of interviewees came from a single partner (MoovAI). Additionally, qualitative coding is inherently subjective, though they mitigated this using multiple coders and a moderator.
Future Directions: * Automated Data Debugging: There is a dire need for tools that can "debug" data pipelines as easily as we debug code, particularly for streaming systems. * Causal Explainability: Moving beyond correlation-based explanations to causal ones that business stakeholders can actually use. * Standardized Data Taxonomies: Creating a unified language for ML data quality that bridges the gap between the Data Management (DAMA) and ML communities.
Summary updated