End-to-End Data Quality-Driven Framework for Machine Learning in Production Environments
Analyzes an end-to-end framework integrating data quality assessment and drift detection into MLOps to boost model performance by 12% and reduce latency 4x.
This research proposes a real-time framework integrating data quality assessment and drift detection into MLOps. The system improved industrial ML model accuracy by 12% and reduced prediction latency fourfold.
Introduction
Many enterprise AI projects record high accuracy in lab-level benchmarks but experience sharp performance degradation the moment they are deployed in actual production environments. This is due to the gap between static training data and dynamically changing operational data—specifically, a lack of systems capable of managing concept drift and data quality degradation in real time.
Particularly in manufacturing and process control systems requiring millisecond (ms) decision-making, organizations must simultaneously achieve two conflicting goals: precise quality inspection and fast inference speeds. In this analysis, we examine the structure and validation results of a practical framework that internalizes data quality assessment as a core component of the MLOps pipeline to secure both performance gains and latency reduction.
Core Findings
To resolve the operational gap caused by the separation of data quality assessment and Machine Learning Operations (MLOps), this research proposes a lightweight end-to-end framework integrating Dynamic Drift Detection and adaptive data quality metrics. The researchers validated the system using electrode slag remelting (ESR) vacuum pumping process data from Uddeholm, a Swedish steel manufacturer. This process involves high-speed sensor data collected at 100ms intervals, transmitted in real time via the Apache Kafka platform.
Analysis shows that the proposed framework improved model performance by 12% compared to traditional static inference methods, achieving a coefficient of determination (R²) of 94%, and reduced prediction latency approximately fourfold. Notably, optimal prediction performance was observed when the data quality acceptability threshold was set to 25%, proving that active drift detection strategies are superior to passive methods in terms of convergence speed and accuracy.
Executive Key Takeaways
- 1 1. [Key Achievement] Traditional AI systems treat data quality assessment as a separate offline task, failing to respond immediately to data drift in dynamic industrial environments and causing increased prediction latency.
- 2 2. [Operational Implication] Enterprise ML engineers should focus on data-centric designs—dynamically managing data quality acceptability thresholds and coupling them with automated retraining triggers within the MLOps pipeline—rather than solely on advancing model algorithms.
- 3 3. [Technical Limitation] Can the same level of lightweight quality assessment models operate effectively in complex industrial environments where unstructured data or heterogeneous data sources are mixed alongside structured time-series data?
How does integrating data quality-driven MLOps improve performance and efficiency in actual industrial sites?
First, traditional data quality management relies on offline batch processing, causing severe latency in real-time operational environments. According to the researchers’ analysis (refer to Table 1 of the source paper), the cumulative latency of the standard method—lacking drift detection and adaptive quality assessment—reached up to 801.83 seconds, whereas applying active drift detection reduced this to approximately 100 seconds. This suggests that the overhead generated when quality assessment operates independently outside the pipeline is a key factor hindering real-time system availability.

Second, the unconditional pursuit of high-quality data paradoxically degrades the model’s generalization performance. Experiments adjusting the acceptability threshold (refer to Figure 10 of the source paper) revealed that filtering data too strictly—up to 90%—actually increased the error rate and lowered prediction performance. This occurs because excessive filtering causes the loss of essential information required for learning, depriving the model of the opportunity to learn real-world variability.
Third, static threshold-based drift detection fails to reflect the complex statistical characteristics of industrial data, leading to false positives or detection delays. By adopting an adaptive threshold method using probability density functions (PDF) and divergence values instead of fixed thresholds, this framework captures data distribution changes more precisely and increases the accuracy of model retraining triggers. This serves as a core mechanism for maintaining system robustness while minimizing technical debt.
Applying unconditionally strict filtering criteria to increase data quality is risky. As shown in the results of this study, setting an appropriate acceptability threshold between 25% and 50%—removing the worst quality data while maintaining a minimum sample size for the model to learn diversity—is the optimal strategy to maximize prediction accuracy (R²).
Five Dimensions of Data Quality Assessment and Quantitative Calculation Mechanisms
Real-time industrial data exhibits high quality variability due to sensor errors or environmental fluctuations. To manage this systematically, this framework defines data quality across five quantitative dimensions and employs a mechanism to calculate an integrated score by quantifying each metric.
The first diagnostic criterion, Accuracy, measures how precisely recorded data reflects the actual physical state. This is calculated as the ratio of anomalous values found within the data window; a higher number of anomalies results in a lower accuracy score. Second, Completeness evaluates the presence of missing data. It is calculated by dividing the number of missing values by the total sample size, serving as a key metric to prevent model bias caused by gaps in training data.
Third, Consistency assesses whether the data adheres to defined integrity constraints and allowable ranges, measuring reliability via the ratio of consistent values. Fourth, Timeliness verifies if the collected data adequately represents the current process state. To achieve this, the researchers utilized the Kolmogorov-Smirnov test to measure the distribution difference between two samples, scoring the fitness relative to a reference distribution.
The fifth dimension, Skewness, measures the extent to which the data distribution deviates from a reference distribution using the Jensen-Shannon Divergence (JSD) metric. Based on Shannon’s entropy, JSD quantifies similarity between distributions within a constrained range of [0, 1], making it advantageous for stably capturing variability in industrial data.
Individual scores from these five dimensions are combined into a single Unified DQ Score using Principal Component Analysis (PCA). PCA analyzes correlations between multi-dimensional metrics to extract core variance components, reducing computational complexity while minimizing information loss. Finally, this standardized integrated score is compared against an acceptability threshold to proactively block the critical risk of prediction performance degradation caused by low-quality data entering model training.
Comparative Analysis: Active vs. Passive Drift Detection Strategies
Because industrial data distributions are non-static and constantly changing, the choice of strategy for detection and adaptation is a critical factor in system viability. The researchers conducted a precise comparative analysis between Passive Drift Detection, which updates based on a fixed window size, and Active Drift Detection, which captures and responds to distribution changes in real time.
Regarding performance convergence speed and stability, the superiority of the active approach is evident. Experimental results (refer to Figure 12 of the source paper) show that the active strategy () stabilized Mean Absolute Error (MAE) and coefficient of determination () metrics significantly faster than passive strategies (). Specifically, when concept drift occurred, the passive method exhibited significant fluctuations due to response delays, whereas the active method maintained consistent performance with a smooth convergence curve. This suggests that if a fixed-window approach misses the timing of a change, the model’s exposure to contaminated data increases, leading to a sharp drop in prediction reliability.
Secondly, the researchers analyzed efficiency in terms of prediction latency. Analysis (refer to Table 1 of the source paper) shows that systems applying active drift detection drastically reduced latency compared to the standard method. Specifically, with , low latency between 88.53 and 147.31 seconds was recorded depending on the acceptability threshold. Although the setting—which increases adaptive sensitivity—raised computational costs by approximately 31% due to increased retraining frequency, it remained overwhelmingly efficient compared to the standard method’s maximum latency of 801.83 seconds.
Consequently, the active strategy proved to be the optimal alternative for industrial environments where real-time responsiveness is essential, securing both prediction accuracy and system availability despite a moderate increase in computational cost. Conversely, while passive methods are simpler to implement, they risk neglecting sharp performance degradation in high-variability environments, which can lead to critical operational risks such as process control failure.
Artifact Flow: From Initialization to Deployment
The proposed framework follows a lifecycle where static artifacts created during the Initialization Phase transition into the dynamic operational environment of the Deployment Phase. According to the system architecture (refer to Figure 4 of the source paper), the process is strictly divided into an initial stage for building system artifacts and a deployment stage for real-time inference. In this process, the Metadata Store serves as the central repository maintaining system-wide consistency by managing drift detection settings, data quality calculation module configurations, and model training settings.
In the initialization pipeline (refer to Figure 5 of the source paper), three core elements are organically combined. First is the configuration of the drift detection mechanism, where the reference distribution and divergence values are generated. Second is the data quality calculation module, which quantitatively evaluates collected data windows to produce quality-scored data. Finally, a ‘Data Quality-Aware ML Model,’ which internalizes these quality scores into the training process, is developed and registered in the Model Registry. Deploying a model without these preparations risks instability, where performance fluctuates sharply even with minor variations in operational data.
Upon entering the deployment phase, artifacts established during initialization are supplied to the production environment via CI/CD pipelines. In the deployment pipeline (refer to Figure 8 of the source paper), data windows from the data source are processed through two simultaneous paths. One path leads to the Drift Detector for real-time comparison against the reference distribution established in the initial stage; the other leads to the ML model serving service for actual inference.
Of particular note is the organic feedback loop between the drift detector and the inference model. When the drift detector captures a significant change in data distribution and generates an adaptation signal, it immediately triggers model retraining and artifact updates. This ensures that new versions of the inference model and quality calculation model reflecting the latest data distribution are deployed. Without this dynamic update system, models suffer from ‘model decay’—becoming fixed to past data distributions—which becomes technical debt leading to fatal prediction errors and operational losses in industrial sites.
ML-Based Optimization of Data Quality Score Calculation
Traditional quantitative data quality assessment methods involve calculating and combining metrics for each dimension, which consumes significant computational resources in production environments where large-scale data flows in real time. Especially in industrial sites where millisecond latency determines overall system availability, performing complex statistical operations every time is a risk factor that impairs the timeliness of prediction results and sharply reduces the effectiveness of AI models.
To resolve this computational cost issue, the researchers propose the ‘Data Quality Scoring Operations (DQSOps)’ framework, which converts data quality calculation itself into a machine learning task. The core of this methodology is to use an ML model trained on precisely labeled ground truth data to immediately determine the quality attributes of incoming data windows and assign scores. In other words, it is a strategy to maximize calculation efficiency by replacing repetitive complex formulas with inference via a trained model.
For the specific implementation, the researchers adopted the XGBoost algorithm. XGBoost is the most suitable choice for a quality calculation module requiring real-time performance due to its proven efficiency in handling industrial data streams and fast inference speed. The model is trained using ground truth data generated according to the five precisely defined quality dimensions (accuracy, completeness, consistency, timeliness, and skewness) and operates as a real-time regressor in the production environment after meeting established accuracy standards.
Furthermore, beyond simple model application, the framework introduces data mutation techniques to respond to various data anomalies that can occur in real environments. By including synthetic data with artificially induced quality defects in the training process, the system is designed to maintain generalized performance even against atypical data outliers in actual operations. Consequently, this ML-based optimization maintains the precision of quality assessment while drastically reducing computational overhead, providing the technical foundation for a data quality-driven MLOps pipeline to operate in real time.
Data Quality and Adaptability Checklist for Industrial ML Production Pipelines
- Real-time Quality Assessment Integration: Is the data quality assessment module integrated as a lightweight model (e.g., XGBoost) within the inference pipeline rather than as an offline batch?
- Adaptive Drift Detection System: Is there a dynamic detection mechanism that measures divergence between the reference distribution and the current window instead of using fixed thresholds?
- Quality-Based Data Curation: Has an acceptability threshold strategy based on quantitative quality scores been established for training data construction, rather than simple removal?
- Retraining-Deployment Automation (CI/CD): Is there an automated pipeline connecting drift detection signals to model retraining, model registry updates, and serving replacement?
Practical Implementation and Limitations of Data-centric AI
This research successfully demonstrated the ‘Data-centric AI’ philosophy: that controlling data quality and flow has a more direct impact on production performance than refining model algorithms. Specifically, implementing the quality assessment itself as an ML model (XGBoost) to reduce computational overhead is a highly effective strategy for resource-constrained edge environments or high-speed process control systems.
However, it should be noted that the data handled in this study consisted of structured time-series sensor data. In actual enterprise environments, heterogeneous data such as logs, text, and images are often mixed. The challenge of how to define and calculate ‘quantitative quality scores’ for such unstructured data in real time remains. Additionally, as mentions of storage efficiency and version management costs were limited, storage debt during long-term operation requires further review.
Three Principles for Sustainable Industrial ML Operations
To ensure the reliability of ML systems in high-risk environments such as real-time process control, the following principles must be observed:
- Optimization of Quality-Performance Trade-off: Rather than setting extreme data quality standards, experimentally derive the optimal acceptability threshold where model prediction performance peaks and update it periodically.
- Internalization of the Detection-Adaptation Loop: Design drift detection not as a simple alert, but as an essential control loop that triggers automated retraining and deployment (CD) within the MLOps pipeline.
- Model-agnostic Design: Build a data quality assessment framework that is not dependent on a specific algorithm, ensuring that the data governance system remains intact even if the inference model is replaced by a more efficient one in the future.
Further reading
- Hidden Technical Debt in Machine Learning Systems
- Analysis of AI-Driven Workflow Restructuring and Employment Shifts at Anthropic
- Disrupting AI-enabled “false front” operations
References and Original Analysis Materials
End-to-End Data Quality-Driven Framework for Machine Learning in Production Environment
Authors: Firas Bayram, Bestoun S. Ahmed, Hallin, Erik
Venue / Publisher: arXiv
This research briefing was written from the source paper with the help of AI tools (AI Research Agent · MLOps, AI Research Agent · Strategy). Reviewed by Jay PARK, who is responsible for it.
Read more

Papers & Reports ·
Data and Methods for Identifying Artificial Intelligence-Related Patents

Tech & MLOps ·
ADAZOR: Hypothesis Testing for Concept Drift Detection in Machine Learning
Tech & MLOps ·
Trust Must Survive Deployment: The Continuous Assurance Lifecycle for Adaptive AI Systems

Tech & MLOps ·
AI Safety and Security Technical Debt in AI-Enabled System Engineering