missIWAE: Deep Generative Modelling and Imputation of Incomplete Data

Pierre-Alexandre Mattei, Jes FrellsenarXiv 2018

Abstract

Training deep generative models on incomplete datasets is a significant challenge in machine learning. This paper introduces the Missing data Importance-Weighted Autoencoder (MIWAE), a novel framework that leverages importance sampling to train Deep Latent Variable Models (DLVMs) directly on data with missing values. Under the Missing at Random (MAR) assumption, MIWAE provides a theoretically grounded objective function that generalizes the Importance Weighted Autoencoder (IWAE). Our results on MNIST and UCI benchmarks demonstrate that MIWAE achieves state-of-the-art imputation accuracy and scales efficiently with the number of importance samples.

Introduction

In real-world applications, datasets are frequently plagued by missing values due to sensor failures, survey non-responses, or data corruption. Standard deep learning models, including Variational Autoencoders (VAEs), typically assume complete data. Common workarounds, such as ad-hoc mean imputation or computationally expensive MCMC sampling, often introduce bias or fail to scale.

MIWAE addresses these issues by maximizing a tight lower bound on the likelihood of the observed data. This approach allows for simultaneous model training and data imputation within a unified, scalable framework.

The MIWAE Framework

The core of the proposed method is the MIWAE bound, which generalizes the IWAE objective to handle missingness.

The MIWAE Bound

Instead of reconstructing the full data vector, MIWAE focuses on the observed components. It maximizes a lower bound on the marginal likelihood of the observed data $p(x_{obs})$. This bound becomes increasingly tight as the number of importance samples ($K$) increases.

Handling Missing Values

To process incomplete vectors through a neural network, MIWAE employs a "zero imputation trick." Missing values are initially filled with a constant (e.g., zero). Crucially, the authors prove that the specific choice of this initial filler becomes irrelevant as $K$ increases, as the importance sampling mechanism effectively "corrects" the initial guess.

Single and Multiple Imputation

Once trained, the model can perform:

  • Single Imputation: Predicting the most likely values for missing entries.
  • Multiple Imputation: Generating multiple plausible versions of the missing data to represent uncertainty, which can serve as a form of data augmentation for downstream tasks.

Experimental Evaluation

The authors evaluated MIWAE against several baselines, including missForest (random forest-based), $k$-Nearest Neighbors ($k$NN), and PCA-based imputation.

Datasets

  • MNIST: 50% of pixels were removed uniformly at random.
  • UCI Repository: Six continuous datasets (Banknote, Breast Cancer, Concrete, Red Wine, White Wine, and Yeast) were used to test performance on lower-dimensional tabular data.

Results and Discussion

MIWAE demonstrated superior performance across both image and tabular datasets. A key finding is the relationship between the number of importance samples and imputation quality.

Imputation accuracy improves significantly as the number of importance weights (K) increases, outperforming MVAE and missForest.

As shown in the figure above, increasing $K$ allows the model to better approximate the true underlying distribution, leading to higher imputation accuracy. On the UCI benchmarks, MIWAE consistently achieved the lowest error rates compared to traditional statistical methods.

MIWAE consistently outperforms established imputation methods across various UCI datasets.

Furthermore, training on incomplete data with multiple imputation was found to act as a form of data augmentation, sometimes resulting in better downstream classifiers than those trained on complete data.

Conclusion and Future Work

MIWAE provides a principled and efficient solution for learning from and imputing missing data. While highly effective under the MAR assumption, future work could extend this framework to handle "Missing Not At Random" (MNAR) scenarios by explicitly modeling the missingness mechanism. Additionally, exploring more stable gradient estimators could further enhance the training process.

Summary updated

BibTeX
@misc{mattei2018missiwae,
  author = {Pierre-Alexandre Mattei and Jes Frellsen},
  title = {{missIWAE: Deep Generative Modelling and Imputation of Incomplete Data}},
  year = {2018},
  eprint = {1812.02633},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1812.02633},
}
Figure