Enhancing missing data imputation through combined bipartite graph and complete directed graph

Zhaoyang Zhang, Hongtu Zhu, Yingjie Zhang, Hai Shu, Ziqi Chen

Abstract

Missing data imputation is a critical task in data science, often hindered by the inability of models to capture complex feature interdependencies. This paper introduces the Bipartite and Complete Directed Graph Neural Network (BCGNN), a novel framework that combines a bipartite graph (linking samples to features) with a complete directed graph (capturing feature-to-feature relationships). Evaluated across diverse datasets and missingness scenarios (MCAR, MAR, MNAR), BCGNN demonstrates an average 15% reduction in error compared to current state-of-the-art methods.

Introduction

Missing values are ubiquitous in real-world datasets, from healthcare to finance. Traditional imputation methods often focus on sample similarity while neglecting the directional dependencies between features. While Graph Neural Networks (GNNs) have shown promise using bipartite graphs, they often treat samples as independent entities, limiting their capacity to model the underlying data structure. BCGNN addresses these limitations by explicitly modeling feature interdependencies through a dual-graph approach.

Methodology

The BCGNN framework represents tabular data as a union of two distinct subgraphs:

  1. Bipartite Graph ($G_B$): This connects observation nodes (samples) to feature nodes. The values of observed features are treated as attributed edges, allowing the model to learn node representations inductively. This means it can handle new, unseen data points without requiring retraining.
  2. Complete Directed Graph ($G_C$): This subgraph consists only of feature nodes, where every feature is connected to every other feature. It is specifically designed to learn and communicate the complex interdependencies between features.

Key Innovations

  • Element-wise Additive Attention: Unlike standard GNNs that use scalar attention, BCGNN employs a vector-based mechanism to learn how specific segments of one feature's embedding influence another.
  • Spearman Correlation Integration: The model incorporates the sign of Spearman correlation coefficients to guide message passing, helping the network distinguish between positive and negative relationships.
  • Advanced Regularization: To prevent overfitting, the authors utilize "DropEdge" on both subgraphs and a novel "AttentionDrop" within the feature-dependency layers.
Architecture of the BCGNN framework showing the integration of bipartite and complete directed graphs.

Experimental Results

BCGNN was benchmarked against ten baseline models (including MICE, GAIN, and GRAPE) using seven diverse datasets from the UCI Machine Learning Repository, such as Medicine (Cancer), Industry (Power), and Biology (Protein). The researchers simulated three types of missingness: MCAR (Missing Completely At Random), MAR (Missing At Random), and MNAR (Missing Not At Random) at rates of 30%, 50%, and 70%.

Key Findings

  • Superior Accuracy: BCGNN consistently outperformed all baselines, achieving average error reductions of 11.8% (MCAR), 13.2% (MAR), and 16.1% (MNAR).
  • Generalization: On entirely new observations, the model maintained its lead, yielding 11% to 14% lower error than the next best method.
  • Downstream Benefits: Imputed data from BCGNN led to roughly 7% more accurate predictions in downstream label prediction tasks, proving the high quality of its imputed values.
Performance comparison (MAE) and t-SNE visualization of original vs. imputed data.

Discussion and Future Work

The success of BCGNN highlights that explicitly modeling feature-to-feature relationships significantly expands the model's embedding space, providing a richer internal representation of the data. By using a directed graph for features, the model captures asymmetric dependencies that bipartite-only models miss.

However, the authors identify two primary areas for future research:

  1. Causal Integration: Moving beyond statistical correlations to integrate true causal structures (e.g., knowing smoking causes lung cancer).
  2. Computational Scaling: Addressing the quadratic growth ($O(m^2)$) of the complete feature graph for datasets with thousands of features.

Summary updated

BibTeX
@inproceedings{zhang2024enhancing,
  author = {Zhaoyang Zhang and Hongtu Zhu and Yingjie Zhang and Hai Shu and Ziqi Chen},
  title = {{Enhancing missing data imputation through combined bipartite graph and complete directed graph}},
  booktitle = {Neurocomputing},
  year = {2024},
}
Figure