Missing Data Imputation using Optimal Transport

Boris Muzellec, Julie Josse, Claire Boyer, Marco Cuturi

Abstract

Missing data is a pervasive challenge in data science that can significantly degrade the performance of machine learning models. Traditional imputation methods often focus on point-wise accuracy or complex generative modeling, which may fail to preserve the underlying geometric structure of the data. This paper introduces a novel approach using Optimal Transport (OT) to impute missing values by minimizing the Sinkhorn divergence between random batches of data. This geometrically-grounded method ensures that imputed datasets maintain consistent probability distributions across samples. Experimental results on 23 benchmark datasets demonstrate that OT-based imputation consistently matches or outperforms classical and deep learning baselines, particularly in preserving non-linear data manifolds and handling data that is Missing Not At Random (MNAR).

1. Introduction

Missing data is a common issue in real-world datasets, arising from sensor failures, skipped survey questions, or data corruption. When dimensionality increases, even low missingness rates per feature can lead to a situation where nearly every row contains at least one missing value, rendering row deletion impractical. Existing imputation methods generally fall into two categories: point-wise methods like Iterative Chained Equations (ICE), which predict specific values, and generative methods like GANs or VAEs, which learn the data distribution. While point-wise methods often fail to capture complex non-linear geometries, generative models can be difficult to tune and implement. This paper proposes a solution based on Optimal Transport (OT) that prioritizes the preservation of the data's global geometric structure.

2. Methodology

The core innovation of this work is the use of Sinkhorn Divergences as a loss function for imputation. Sinkhorn divergence is a regularized version of the Wasserstein distance, measuring the cost of transforming one probability distribution into another. The authors leverage the intuition that any two random batches from the same dataset should follow the same distribution.

2.1 Imputation Algorithms

The authors propose two primary strategies:

  • Direct Imputation: A non-parametric approach where missing values are initialized (e.g., mean plus noise) and then updated via gradient descent to minimize the Sinkhorn divergence between random batches.
  • Round-Robin Sinkhorn Imputation: A parametric approach where a model (such as a Linear regressor or Multi-Layer Perceptron) is trained to predict missing values. This method uses a "round-robin" strategy—cycling through variables one by one—while using the OT loss to ensure the predicted values maintain distributional consistency across batches.

3. Experimental Evaluation

The researchers evaluated their methods on 23 datasets from the UCI Machine Learning Repository. They tested three missingness scenarios: Missing Completely At Random (MCAR), Missing At Random (MAR), and the challenging Missing Not At Random (MNAR), where missingness is tied to the values themselves.

3.1 Qualitative Results

A key advantage of the OT-based approach is its ability to preserve the "shape" of the data. In toy examples involving non-linear manifolds (such as S-shapes or concentric circles), traditional methods like ICE often collapse the distribution into a straight line or a conditional expectation. In contrast, the Sinkhorn method successfully recovers the original geometric structure.

Comparison of imputation methods on toy datasets. ICE (middle) tends to collapse distributions toward the mean, while Sinkhorn imputation (right) preserves the non-linear geometry of the ground truth (left).

3.2 Quantitative Performance

Across the 23 UCI datasets, OT-based methods—particularly the Linear Round-Robin variant—consistently matched or exceeded the performance of gold-standard baselines like scikit-learn's IterativeImputer (ICE) and SoftImpute. Furthermore, the OT methods outperformed more complex deep learning models such as GAIN (GAN-based) and MIWAE (VAE-based), often exhibiting lower variance in results.

Quantitative performance across 23 UCI datasets. The Sinkhorn-based methods (orange) show competitive or superior performance across Mean MAE, Mean RMSE, and Wasserstein distance metrics compared to classical baselines.

4. Discussion and Conclusion

The Optimal Transport approach to data imputation provides a robust, "plug-and-play" alternative to traditional methods. By focusing on the geometric integrity of the dataset rather than simple point-wise accuracy, it proves particularly effective in high-dimensional settings and under MNAR conditions. While the computational cost of Sinkhorn divergences is higher than simple mean imputation, the differentiability and scalability of the Sinkhorn algorithm allow it to be integrated into modern deep learning pipelines. Future work may explore extending this framework to categorical data and further refining the theoretical properties of the batch-matching loss.

Summary updated

BibTeX
@inproceedings{muzellec2020missing,
  author = {Boris Muzellec and Julie Josse and Claire Boyer and Marco Cuturi},
  title = {{Missing Data Imputation using Optimal Transport}},
  booktitle = {International Conference on Machine Learning},
  year = {2020},
}
Figure