Abstract
Missing data imputation is a fundamental challenge in data science, traditionally addressed through iterative statistical methods or deep generative models. Recent advances in Distribution Matching (DM) suggest that missing values can be recovered by aligning the distributions of random data batches. However, existing DM methods often operate in raw data space, failing to account for the complex, non-Euclidean geometries of real-world datasets. This paper introduces Transformed Distribution Matching (TDM), a novel unsupervised framework that leverages Invertible Neural Networks (INNs) to perform distribution matching in a learned latent space. By "unfolding" data manifolds, TDM achieves superior imputation accuracy and robustness across various missingness mechanisms.
Introduction
Missing data is ubiquitous across domains, from clinical trials to sensor networks. The goal of imputation is to fill these gaps while preserving the underlying statistical structure of the dataset. While classical approaches like Multivariate Imputation by Chained Equations (MICE) and modern deep learning models like Generative Adversarial Networks (GANs) are widely used, they often require complex training regimes or struggle with high-dimensional dependencies.
Distribution Matching (DM) offers an elegant alternative: it assumes that any two sufficiently large random samples from the same population should share the same distribution. Imputation is thus treated as an optimization problem where missing values are adjusted to minimize the distance between batch distributions. A leading example, OTImputer, utilizes Optimal Transport (OT) to match batches. However, OTImputer relies on Euclidean distances in the raw input space, which is problematic when data resides on complex, curved manifolds where straight-line distances do not reflect true similarity.
Methodology
The TDM Framework
Transformed Distribution Matching (TDM) addresses the limitations of raw-space matching by transforming data into a simplified latent space before alignment. The process consists of three core components:
- Latent Transformation: TDM employs Invertible Neural Networks (INNs), specifically utilizing affine coupling layers, to map raw data samples $x$ to latent representations $z$. This transformation is designed to "flatten" the data's natural geometry, making it more amenable to standard distance metrics.
- Wasserstein Matching: In the latent space, the algorithm minimizes the Wasserstein distance between the distributions of two random batches. This metric, derived from Optimal Transport theory, provides a robust measure of how one distribution can be transformed into another.
- Simultaneous Optimization: Unlike two-stage models, TDM updates the neural network parameters and the missing data values concurrently through a gradient descent loop. This ensures the latent space and the imputed values evolve to support a globally consistent distribution.
The Role of Invertibility
A significant challenge in latent space learning is "model collapse," where a network learns a trivial mapping (e.g., mapping all points to a single constant) to minimize distance. While other methods use complex mutual information estimators to prevent this, TDM utilizes the mathematical properties of INNs. Because the mapping is forced to be invertible, the network cannot collapse the data; it must preserve the information content of the input, acting as a natural regularizer for the imputation process.
Experimental Evaluation
Datasets and Setup
The researchers evaluated TDM against twelve standard datasets from the UCI Machine Learning Repository, including:
- California Housing (CA): Large-scale regression.
- Seeds (SD) & Glass (GL): Smaller datasets with distinct geometric clusters.
- Anuran Calls (AC) & Letter (LT): High-dimensional feature sets.
To ensure robustness, the model was tested under four missingness mechanisms: Missing Completely at Random (MCAR), Missing at Random (MAR), and two variations of Missing Not at Random (MNAR), where the absence of data is correlated with the values themselves.
Performance Metrics
TDM was compared against ten baselines, ranging from iterative statistical methods (MissForest, ICE) to deep generative models (GAIN, MIWAE). Performance was measured using Mean Absolute Error (MAE) and Root Mean Square Error (RMSE). Additionally, the researchers tested "downstream performance" by using the imputed data to train a Support Vector Machine (SVM) classifier, measuring how well the imputations preserved the utility of the data for real-world tasks.
Results and Discussion
Accuracy and Utility
TDM consistently outperformed all baselines, achieving the lowest MAE and RMSE across nearly all datasets and missingness settings. More importantly, the data imputed by TDM led to the highest classification accuracy in downstream SVM tasks. This suggests that TDM does not merely "guess" values that look statistically plausible but recovers values that maintain the predictive relationships between features.
Geometric Robustness
Qualitative analysis on synthetic datasets, such as the "S-curve" and "Circle" manifolds, highlighted TDM’s strengths. While raw-space methods like OTImputer often placed missing values in the empty space between curves (taking a Euclidean "shortcut"), TDM correctly placed values along the manifold. This confirms that the latent transformation successfully accounts for complex data geometries.
Trade-offs
The primary trade-off for TDM’s accuracy is computational complexity. Due to the requirement of training a neural network during the imputation process, TDM is approximately 2 to 3 times slower per iteration than OTImputer. Additionally, the current framework is designed for continuous numerical data and does not natively support categorical variables.
Conclusion
Transformed Distribution Matching represents a significant step forward for unsupervised imputation. By combining the principles of Optimal Transport with the information-preserving properties of Invertible Neural Networks, TDM overcomes the geometric limitations of previous distribution matching methods. Future work will focus on optimizing the architecture for increased speed and extending the framework to handle mixed-type (categorical and numerical) datasets.
Summary updated