Abstract
Classifying samples in incomplete datasets is a common aim for machine learning practitioners, but is non-trivial. Missing data is found in most real-world datasets and these missing values are typically imputed using established methods, followed by classification of the now complete, imputed, samples. The focus of the machine learning researcher is then to optimise the downstream classification performance. In this study, we highlight that it is imperative to consider the quality of the imputation. We demonstrate how the commonly used measures for assessing quality are flawed and propose a new class of discrepancy scores which focus on how well the method recreates the overall distribution of the data. To conclude, we highlight the compromised interpretability of classifier models trained using poorly imputed data.
Introduction
In real-world machine learning applications, missing data is the rule rather than the exception. The standard approach involves a two-stage pipeline: first, imputing missing values to create a complete dataset, and second, training a classifier on this imputed data. Traditionally, researchers have treated imputation as a black-box preprocessing step, focusing optimization efforts almost exclusively on final classification accuracy.
However, this study identifies a critical oversight in this workflow. Standard metrics like Root Mean Square Error (RMSE) only measure point-wise accuracy—how close an individual imputed value is to its ground truth. They fail to assess whether the imputation process preserves the underlying multi-dimensional distribution of the data. When this distribution is warped, models may achieve high accuracy by exploiting imputation artifacts rather than genuine signals, leading to "spurious importance" and a significant loss in model interpretability.
Methods
To investigate the relationship between imputation quality and classification performance, the researchers conducted an extensive benchmarking study involving millions of experimental configurations.
Imputation and Classification Techniques
The study compared five diverse imputation methods: Mean Imputation, MICE (Multivariate Imputation by Chained Equations), MissForest, GAIN (Generative Adversarial Imputation Nets), and MIWAE (Missing Data Importance-Weighted Autoencoders). These were paired with a variety of classifiers, including Logistic Regression, Random Forest, XGBoost, NGBoost, and Artificial Neural Networks.
A New Metric: Sliced Wasserstein Distance
To address the limitations of RMSE, the authors introduced a framework based on Sliced Wasserstein Distance. Comparing high-dimensional distributions directly is computationally prohibitive. Instead, this method projects the data onto multiple random 1D lines (slices) and calculates the Wasserstein distance—a measure of the "cost" to transform one distribution into another—along these projections. This captures how faithfully the imputation recreates the global structure and feature relationships of the original data.
Experimental Setup
The study utilized four datasets to ensure generalizability: MIMIC-III (clinical data), Breast Cancer (genomic data), NHSX COVID-19 (imaging metadata), and a Simulated dataset with controlled feature importance to establish ground truth. Multi-factor ANOVA was employed to determine which variables—dataset, missingness rate, imputation method, or classifier—most significantly influenced performance variance.
Key Insights
The Fallacy of Point-wise Metrics
The results confirm that RMSE is an unreliable indicator of imputation quality. A method can achieve low RMSE by "mean-seeking," which collapses natural data variance and fails to recreate the original distribution. In contrast, distributional discrepancy scores like Sliced Wasserstein correlate much more strongly with downstream classification reliability.
The Accuracy Paradox and Interpretability
A surprising finding was that "bad" imputation does not always lead to poor classification accuracy. In some cases, poor imputation acts as a form of noise injection or regularization that maintains accuracy. However, this comes at a steep cost: interpretability. Analysis using Shapley values revealed that models trained on poorly imputed data often assign high importance to features based on imputation artifacts. For high-stakes fields like clinical medicine, this makes the models untrustworthy despite their apparent accuracy.
Performance Drivers
ANOVA results indicated that the test-set missingness rate is the primary driver of classification deviance, often more influential than the choice of imputation algorithm. Among the methods tested, MICE emerged as a robust performer, consistently recreating the data distribution more faithfully and with less variance than modern deep learning approaches like GAIN, which showed susceptibility to mode collapse.
Conclusion and Future Work
This research highlights that imputation quality matters deeply for model integrity. While practitioners cannot easily guess the optimal imputation-classifier combination for a new dataset, they should prioritize distributional faithfulness over simple point-wise error. Future work is needed to address challenges in handling categorical data and longitudinal missingness. The authors have released their codebase publicly to support the community in evaluating imputation quality more rigorously.
Summary updated