Efficient and Effective Data Imputation with Influence Functions

Xiaoye Miao, Yangyang Wu, Lu Chen, Yunjun Gao, Jun Wang, Jianwei Yin

Abstract

Modern data imputation relies on complex parametric models that struggle with scalability and noise in massive datasets. We present EDIT, a system that leverages influence functions to identify a "minimum representative set" of data samples. By training on only ~5% of high-impact samples, EDIT achieves a 4x speedup and improves imputation accuracy by 11% by filtering out harmful data points.

Introduction

Missing data is a pervasive challenge across domains like healthcare and e-commerce. While simple statistical methods are fast, they lack the precision of modern machine learning (XGBoost) or deep learning (GANs, Autoencoders) approaches. However, these advanced methods face a "scalability wall" when applied to datasets with millions or billions of rows. Furthermore, large datasets often contain redundant or noisy samples that can degrade model performance.

The EDIT system addresses two critical questions:

  1. How can we measure the specific impact of an incomplete data sample on a model's prediction without expensive retraining?
  2. How can we construct a training set that guarantees accuracy while minimizing computational costs?

Methodology

The EDIT framework consists of three integrated components designed to optimize the training process for parametric imputation models.

The high-level workflow of the EDIT system, illustrating the transition from an incomplete dataset to a trained model and imputed output.

Imputation Influence Evaluation (IIE)

IIE utilizes influence functions from robust statistics to estimate the "influence power" of individual samples. Instead of the prohibitively expensive process of retraining the model for every data point, IIE uses the Hessian matrix and the gradient of the loss function to analytically estimate how a sample affects model parameters.

Representative Sample Selection (RSS)

Following evaluation, the RSS module ranks candidate samples by their influence power. It iteratively constructs a minimal training set by selecting top-performing samples until a predefined accuracy threshold is reached. This ensures the model trains on the most informative data.

Weighted Imputation Loss

To further refine the process, EDIT introduces a weighted loss function. This mechanism forces the model to prioritize high-impact samples while effectively ignoring noisy or redundant data points that could otherwise introduce bias.

Experimental Evaluation

The authors evaluated EDIT across four massive real-world datasets: Power (1M), Gas (4.1M), HIGGS (11M), and Criteo (45.8M). Testing covered various missingness mechanisms, including Missing Completely at Random (MCAR), Missing at Random (MAR), and Missing Not at Random (MNAR).

Performance metrics for the HIGGS dataset using HIVAE and GAIN models, showing the relationship between sample size (Rm), RMSE, and training time.

Key Results

  • Efficiency: EDIT delivers an average 4x speedup in training time.
  • Data Reduction: The system typically requires only 5% of the original samples to achieve target accuracy.
  • Accuracy: Across ten state-of-the-art imputation methods (e.g., GAIN, HIVAE), EDIT provided an average 11% improvement in accuracy.
  • Scalability: On the 45-million-row Criteo dataset, EDIT successfully produced high-quality imputations where standard models often failed due to resource constraints.

Discussion and Insights

The most significant finding is the "Less is More" paradox: training on a carefully curated 5% subset often outperforms training on the full 100% dataset. This occurs because the influence-based selection process naturally filters out "harmful" samples, such as outliers or errors, which would otherwise mislead the model.

Limitations

While highly effective, EDIT's reliance on the inverse Hessian matrix can be computationally intensive for models with extremely large parameter counts. Additionally, the system's performance may be sensitive to the quality of the initial small random sample used to kickstart the influence calculations. Future research will focus on refining how influence functions handle complex, biased missingness distributions (MNAR).

Summary updated

BibTeX
@article{miao2021efficient,
  author = {Xiaoye Miao and Yangyang Wu and Lu Chen and Yunjun Gao and Jun Wang and Jianwei Yin},
  title = {{Efficient and Effective Data Imputation with Influence Functions}},
  journal = {Proc. VLDB Endow.},
  year = {2021},
  doi = {10.14778/3494124.3494143},
}
Figure