NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Missing Data Imputation for Supervised Learning

Jason Poulos, Rafael Valle · OpenReview

TL;DR

This paper investigates how different missing data imputation techniques affect supervised learning performance, particularly for categorical data. They found that imputation can significantly boost accuracy when data is perturbed (artificially made more missing), acting as a regularizer, and that k-NN imputation performs particularly well in these scenarios.

What Problem Does This Paper Address?

In many real-world datasets, especially those from surveys, missing values are a common issue. These missing values can hinder the performance of machine learning models, leading to less accurate predictions. While various methods exist to handle missing data, their effectiveness can vary depending on the type of data (categorical vs. continuous), the machine learning model used, and the nature of the missingness itself. This paper aims to provide guidance to applied researchers by systematically comparing different imputation strategies for categorical data in supervised classification tasks, especially under conditions where missing data is intentionally increased.

Methods

The authors compare three popular machine learning classifiers: decision trees, random forests, and neural networks. They evaluate these classifiers under two main conditions:

  • No Imputation (One-Hot Encoding): Categorical features with missing values are treated as a separate category.
  • Imputation: Various methods are used to fill in the missing values before training the models. These include:
  • k-NN Imputation: Missing values are replaced by the mode of their k-nearest neighbors.
  • Prediction Model Imputation: Missing values are predicted using models like logistic regression, random forests, or SVMs.
  • Mode Replacement: Missing values are replaced by the most frequent value in the feature.
  • Random Replacement: Missing values are replaced by values from randomly selected complete examples.

To study the impact of missing data, they artificially introduce missingness (MCAR perturbation) into the training data at varying levels (10%, 20%, 30%, 40%). They also explore the effect of this perturbation on models trained with and without imputation.

Datasets

The study uses two benchmark datasets from the UCI Machine Learning Repository:

  • Adult Dataset: Contains 48,842 examples and 14 features (6 continuous, 8 categorical). The task is to predict whether a person earns over $50,000 a year.
  • CVRs Dataset: Contains 435 examples, each with 16 categorical features representing voting records. The task is to classify party affiliation (Republican or Democrat).

Key Insights and Ideas

  • Imputation as Regularization: Artificially increasing missing data (perturbation) before imputation can actually improve predictive accuracy. This suggests that imputation, in conjunction with data perturbation, can act as a form of regularization, preventing models from overfitting to the complete data.
  • k-NN Shines with Perturbation: k-NN imputation, an implicit modeling method that doesn't assume a specific missing data mechanism, performed particularly well on the Adult dataset when combined with MCAR perturbation, achieving state-of-the-art results.
  • One-Hot Encoding Struggles with Perturbation: While one-hot encoding can be effective when data is mostly complete, its performance degrades significantly as missing data levels increase, especially when features are correlated.
  • Model Choice Matters: Neural networks, when trained on imputed data, showed strong performance gains with perturbation on the Adult dataset. In contrast, decision trees and random forests on the CVRs dataset performed relatively well even with one-hot encoding across different perturbation levels.

Key Results

  • On the Adult dataset, neural networks trained with k-NN imputation and 10% MCAR perturbation achieved the lowest generalization error (0.144 ± 0.06), comparable to the state-of-the-art.
  • One-hot-encoded decision trees outperformed the state-of-the-art on the CVRs dataset by over 2% (0.027 ± 0.006) without imputation.
  • For the Adult dataset, imputation clearly improved accuracy in the presence of MCAR-perturbed data, whereas one-hot encoded models performed poorly.
  • For the CVRs dataset, classifiers trained on one-hot encoded data performed relatively well across different levels of perturbation, even without imputation.

Limitations and Future Work

  • Dataset Specificity: The findings are based on two specific datasets. Further research is needed to generalize these results to a wider range of datasets and missing data mechanisms.
  • MNAR Perturbation: While the paper briefly mentions MNAR (Missing Not At Random) perturbation, the primary focus and results are on MCAR (Missing Completely At Random). Exploring MNAR more deeply could reveal different imputation performance characteristics.
  • Future Directions: The authors suggest evaluating the benefits of missing-data perturbation against other regularization techniques like dropout training. They also propose identifying the specific conditions under which missing-data perturbation most effectively improves prediction accuracy.

Summary updated

BibTeX
@misc{poulos2016missing,
  author = {Jason Poulos and Rafael Valle},
  title = {{Missing Data Imputation for Supervised Learning}},
  year = {2016},
  eprint = {1610.09075},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1610.09075},
}
Figure