mDAE : modified Denoising AutoEncoder for missing data imputation

Mariette Dupuy, Marie Chavent, Rémi DuboisarXiv 2024 · DOI

Introduction

Missing data is a ubiquitous challenge in data science, arising from sensor failures, survey non-responses, or administrative errors. While common practices often involve discarding incomplete records, this approach frequently results in the loss of valuable information. The standard deep learning solution utilizes Denoising AutoEncoders (DAEs), which learn to reconstruct original data from noisy inputs. However, traditional DAEs for imputation typically fill missing values with placeholders (e.g., the mean) and attempt to reconstruct the entire row, inadvertently forcing the model to learn these artificial placeholders rather than the underlying data distribution.

This paper introduces mDAE (modified Denoising AutoEncoder), a refined approach specifically designed for numerical tabular data. By modifying the loss function and optimizing network architecture, the authors demonstrate that a well-tuned, simple neural network can outperform complex state-of-the-art generative models.

Methodology

The mDAE framework introduces two primary refinements to the standard DAE workflow to better handle missingness in tabular datasets.

1. Modified Loss Function

The core innovation of mDAE is the "modified" loss function. In a standard DAE, the reconstruction error is calculated across all features. In contrast, the mDAE loss function only considers the features that were originally observed. This ensures the network focuses entirely on the true data manifold rather than attempting to reconstruct the "fake" placeholder data used for initial imputation.

The modified loss function in mDAE, where reconstruction error is calculated only for originally observed features.

2. Overcomplete Architectures

While many autoencoders utilize a "bottleneck" (undercomplete) structure to compress data, the authors found that for imputation tasks, "overcomplete" structures—where hidden layers are significantly larger than the input layer—perform substantially better. Ablation studies indicated that switching to an overcomplete structure could reduce error by over 35%.

Various network structures evaluated, highlighting the transition from undercomplete to overcomplete architectures.

Experimental Design

The study utilized seven complete numerical datasets from the UCI Machine Learning Repository, including Breast Cancer Diagnostic, Ionosphere, and Wine Quality Red. Data was manually removed using three mechanisms—Missing Completely at Random (MCAR), Missing at Random (MAR), and Missing Not at Random (MNAR)—to simulate real-world data loss.

To facilitate fair comparison, the authors introduced the Mean Distance to Best (MDB) metric. This metric measures how far a method’s error deviates from the best-performing method for a specific dataset, averaged across all test cases.

Key Results and Insights

  • Top-Tier Performance: According to the MDB criterion, mDAE consistently ranked among the top three methods alongside established classics like missForest and SoftImput.
  • Superiority Over Complex Models: A striking finding was that "modern" complex methods, such as GAIN (Generative Adversarial Imputation Nets) and Sinkhorn Imputation, consistently underperformed compared to simpler, well-tuned methods like mDAE on tabular data.
  • Ablation Success: Implementing the modified loss function instead of a standard $L2$ loss improved reconstruction accuracy by up to 50% on specific datasets, such as the Breast Cancer diagnostic set.
  • Robustness: While optimizing the noise proportion ($\mu$) via grid search yields the best results, the method remains robust even with random choices of $\mu$, making it accessible for compute-constrained environments.

Conclusion and Future Work

The mDAE demonstrates that for tabular data imputation, architectural simplicity and a correctly targeted loss function are often more effective than complex generative architectures. Currently limited to numerical data, future work aims to adapt mDAE for categorical variables and "block-wise" missing data patterns, where entire segments of data are lost simultaneously.

Summary updated

BibTeX
@misc{dupuy2024mdae,
  author = {Mariette Dupuy and Marie Chavent and Rémi Dubois},
  title = {{mDAE : modified Denoising AutoEncoder for missing data imputation}},
  year = {2024},
  eprint = {2411.12847},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2411.12847},
}
Figure