M3-Impute: Mask-guided Representation Learning for Missing Value Imputation

Zhongyi Yu, Zhenghao Wu, Shuhan Zhong, Weifeng Su, S.-h. Gary Chan, Chul-Ho Lee, Weipeng Zhuo · DOI

Abstract

Missing data is a ubiquitous challenge in data science, typically addressed by discarding incomplete samples or employing imputation techniques. M3-Impute introduces a novel bipartite graph neural network framework that treats the "missingness" mask as a valuable signal for representation learning. By explicitly incorporating these masks and utilizing specialized correlation units, M3-Impute effectively captures both feature-wise and sample-wise dependencies, achieving state-of-the-art performance across a wide range of benchmarks.

Introduction

Most machine learning models require complete datasets, yet real-world data is often riddled with gaps due to sensor failures or human error. Traditional imputation methods often fail to capture the complex, non-linear relationships in tabular data. Specifically, they often ignore the informative nature of the missingness pattern itself and struggle to balance feature-wise correlations (e.g., height vs. weight) with sample-wise correlations (e.g., similar patients).

Methodology

M3-Impute models tabular data as a bipartite graph where nodes represent samples ($s$) and features ($f$). An edge exists only where a value is observed.

Overview of the M3-Impute architecture, illustrating the bipartite graph construction, Feature Correlation Unit (FCU), and Sample Correlation Unit (SCU).

The framework consists of three primary components:

  1. Refined Initialization: Unlike standard methods, M3-Impute initializes node embeddings by concatenating observed values with their corresponding missingness masks, providing the GNN with structural context from the start.
  2. Feature Correlation Unit (FCU): This unit learns dependencies between a target missing feature and other observed features within the same sample using learnable "soft masks."
  3. Sample Correlation Unit (SCU): The SCU identifies similar samples to inform the imputation. It utilizes Mutual Sample Masking and Irrelevant Feature Masking to filter noise and focus on shared, relevant information.
  4. Adaptive Fusion: A learnable parameter $\alpha$ dynamically weights the contributions of the FCU and SCU, allowing the model to adapt to datasets where one type of correlation is more dominant.

Experimental Results

The model was evaluated on 25 diverse real-world datasets under various missingness patterns (MCAR, MAR, MNAR) and ratios (10% to 70%).

Comparison of M3-Impute against state-of-the-art imputation methods across eight primary benchmark datasets (MAE ± standard deviation).

Key findings include:

  • Performance: M3-Impute achieved the lowest Mean Absolute Error (MAE) on 20 out of 25 datasets, with improvements up to 22.22% over the next-best method.
  • Robustness: High performance was maintained even at 70% missingness.
  • Efficiency: Inference for an entire dataset typically completes in under one second on a GPU.

Discussion and Conclusion

M3-Impute demonstrates that the pattern of missing data is not merely a void but a structural feature that can guide representation learning. While the model excels in most scenarios, its advantages are less pronounced in datasets with completely independent features or strictly linear relationships. Future work may involve extending this bipartite graph approach to time-series data or larger-scale transformer-based architectures.

Summary updated

BibTeX
@misc{yu2024m,
  author = {Zhongyi Yu and Zhenghao Wu and Shuhan Zhong and Weifeng Su and S.-H. Gary Chan and Chul-Ho Lee and Weipeng Zhuo},
  title = {{M3-Impute: Mask-guided Representation Learning for Missing Value Imputation}},
  year = {2024},
  eprint = {2410.08794},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2410.08794},
}
Figure