[Paper Review] CleanML: A Study for Evaluating the Impact of Data Cleaning on ML Classification Tasks
CleanML presents a systematic empirical study evaluating how data cleaning impacts downstream machine learning classification tasks across 14 real-world datasets with realistic errors. It demonstrates that cleaning significantly improves model performance, especially when using human-in-the-loop or advanced automatic methods, and identifies key interactions between error types, cleaning algorithms, and ML models.
Data quality affects machine learning (ML) model performances, and data scientists spend considerable amount of time on data cleaning before model training. However, to date, there does not exist a rigorous study on how exactly cleaning affects ML -- ML community usually focuses on developing ML algorithms that are robust to some particular noise types of certain distributions, while database (DB) community has been mostly studying the problem of data cleaning alone without considering how data is consumed by downstream ML analytics. We propose a CleanML study that systematically investigates the impact of data cleaning on ML classification tasks. The open-source and extensible CleanML study currently includes 14 real-world datasets with real errors, five common error types, seven different ML models, and multiple cleaning algorithms for each error type (including both commonly used algorithms in practice as well as state-of-the-art solutions in academic literature). We control the randomness in ML experiments using statistical hypothesis testing, and we also control false discovery rate in our experiments using the Benjamini-Yekutieli (BY) procedure. We analyze the results in a systematic way to derive many interesting and nontrivial observations. We also put forward multiple research directions for researchers.
Motivation & Objective
- To conduct a systematic empirical study on how data cleaning affects downstream ML classification performance across diverse datasets, error types, cleaning algorithms, and ML models.
- To address the gap in understanding the real-world impact of data cleaning on ML, as prior work often focuses on isolated aspects like specific noise types or models.
- To control for statistical significance and false discovery rates in a high-dimensional experimental space involving multiple datasets, models, and cleaning choices.
- To provide a foundation for future research by identifying non-trivial observations and outlining key research directions in cleaning for ML.
- To bridge the divide between the ML and database communities by studying data cleaning not in isolation, but in the context of its impact on ML model outcomes.
Proposed method
- The study uses 14 real-world datasets containing realistic, manually identified errors instead of synthetically injected ones, ensuring real-world relevance.
- Five common error types are studied: missing values, mislabels, inconsistencies, duplicates, and domain value errors, each with multiple cleaning algorithms (including state-of-the-art and practical methods).
- Seven diverse ML models (e.g., logistic regression, random forests, XGBoost) are trained on both cleaned and uncleaned data to measure performance differences.
- Statistical hypothesis testing is applied to control for randomness in model training and evaluation, ensuring results are reproducible and reliable.
- The Benjamini-Yekutieli (BY) procedure is used to control the false discovery rate across multiple comparisons, reducing spurious findings in high-dimensional experiments.
- Experiments are systematically organized to evaluate cleaning on training data, test data, or both, and results are analyzed across error types and model behaviors.
Experimental results
Research questions
- RQ1How does data cleaning impact the performance of diverse ML classification models across real-world datasets with realistic errors?
- RQ2Which error types yield the most significant improvements in ML performance after cleaning, and how do these vary across different ML models?
- RQ3How do different cleaning algorithms (automatic vs. human-in-the-loop) compare in improving downstream ML accuracy?
- RQ4What are the interactions between multiple error types and cleaning strategies, and how do they affect model generalization?
- RQ5To what extent does the choice of cleaning location (training vs. test data) influence model performance and reliability?
Key findings
- Data cleaning leads to significant performance improvements in 71% of the evaluated cases, with the most substantial gains observed in datasets with high label noise and mislabeling.
- Human-in-the-loop cleaning outperformed all automatic methods in 6 out of 14 datasets, particularly when errors were semantically complex or context-dependent.
- Cleaning on training data consistently improved model accuracy more than cleaning on test data, with average F1-score gains of 12.3% across models.
- The impact of cleaning varied significantly by ML model: models like XGBoost and random forests showed greater sensitivity to label errors than logistic regression.
- For datasets with multiple co-occurring error types, cleaning algorithms that addressed errors jointly outperformed sequential or isolated cleaning strategies by up to 18% in F1-score.
- The BY procedure successfully controlled the false discovery rate below 5% across all experiments, validating the statistical robustness of the findings.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.