A Data Quality-Driven View of MLOps

Cédric Renggli, Luka Rimanic, Nezihe Merve Gürel, Bojan Karlas, Wentao Wu, Ce Zhang

Abstract

Developing machine learning models can be seen as a process similar to the one established for traditional software development. A key difference between the two lies in the strong dependency between the quality of a machine learning model and the quality of the data used to train or perform evaluations. In this work, we demonstrate how different aspects of data quality propagate through various stages of machine learning development. By performing a joint analysis of the impact of well-known data quality dimensions and the downstream machine learning process, we show that different components of a typical MLOps pipeline can be efficiently designed, providing both a technical and theoretical perspective.

Introduction

Modern machine learning operations (MLOps) are often viewed through the lens of traditional DevOps, focusing on automation and lifecycle management. However, this paper argues that MLOps is fundamentally a data management challenge. Unlike traditional software, where logic is explicitly coded, ML models are "compiled" from data. Consequently, the quality of an ML model is a direct reflection of the quality of its underlying data. This work presents a unified framework for understanding how data quality dimensions—accuracy, completeness, consistency, and timeliness—propagate through the MLOps lifecycle.

The MLOps Challenge

While traditional DevOps aims to shorten the development cycle for code, MLOps must account for the unique dependencies between data and model performance. Most existing data quality research is "ML-agnostic," treating data cleaning or integration as independent tasks. This paper advocates for ML-aware data quality, where data issues are evaluated based on their actual impact on downstream model utility, such as accuracy, fairness, or robustness.

The propagation of data quality issues through the ML lifecycle.

The authors identify four critical hurdles in current MLOps:

  1. Cleaning Overload: Identifying which specific samples to clean to maximize model improvement.
  2. Unrealistic Expectations: Determining if a target accuracy is achievable before investing in training.
  3. Test Set Overfitting: Preventing statistical "leakage" when repeatedly validating against the same data.
  4. Model Decay: Efficiently selecting the best model as production data distributions shift over time.

ML-Aware Data Quality Tools

To address these hurdles, the authors synthesize several specialized tools into a cohesive MLOps framework:

CPClean: Targeted Data Cleaning

Instead of cleaning data randomly, CPClean utilizes "possible worlds" theory from database research. It models all potential versions of a dirty dataset and uses conditional entropy to pinpoint which samples, if cleaned, would most significantly reduce uncertainty in the model's predictions.

Applying the 'Possible Worlds' theory to achieve certain predictions in ML despite incomplete data.

ease.ml/snoopy: Feasibility Studies

This tool estimates the Bayes Error Rate (BER)—the theoretical minimum error any classifier can achieve on a given dataset. By using non-parametric k-nearest neighbor (kNN) estimators and pre-trained embeddings, snoopy informs users whether their performance goals are realistic given the inherent noise in their data.

ease.ml/ci: Statistical CI/CD

To prevent overfitting to validation sets, this engine treats the test set as a finite resource. It employs adaptive analytics to manage a "budget" for test set reuse, ensuring that results remain statistically sound over time.

ease.ml/ModelPicker: Adaptive Model Selection

This online algorithm selects the optimal model from a pre-trained pool. By selectively querying labels for the most informative instances, it allows systems to adapt to concept drift with minimal human intervention.

Key Insights

  • Downstream Impact: Data management tasks should be prioritized based on how much they actually improve the final ML model.
  • The Test Set as a Battery: Every evaluation "drains" the statistical validity of a test set. MLOps requires rigorous management of this resource.
  • Fail Fast with Feasibility: Estimating the BER allows teams to identify fundamentally low-quality data early, preventing wasted resources on unattainable goals.

Conclusion and Future Work

The proposed framework demonstrates that model accuracy can often be maintained by cleaning only a small fraction of impactful samples. While current tools like CPClean and Snoopy rely on kNN proxies for theoretical tractability, future work aims to extend these methods to deep neural networks and broader utility dimensions such as fairness and explainability. Additionally, handling concept shift within the CI/CD process remains an open research frontier.

Summary updated

BibTeX
@article{renggli2021data,
  author = {Cédric Renggli and Luka Rimanic and Nezihe Merve Gürel and Bojan Karlas and Wentao Wu and Ce Zhang},
  title = {{A Data Quality-Driven View of MLOps}},
  journal = {IEEE Data Eng. Bull.},
  year = {2021},
}
Figure