Handling Missing Data with Graph Representation Learning

Jiaxuan You, Xiaobai Ma, Daisy Yi Ding, Mykel J. Kochenderfer, Jure Leskovec

TL;DR

This paper introduces GRAPE, a novel graph-based framework that unifies feature imputation and label prediction for datasets with missing values. By representing data as a bipartite graph of observations and features, GRAPE leverages Graph Neural Networks (GNNs) to perform both tasks end-to-end, achieving state-of-the-art results with significant improvements over existing methods.

What Problem Does This Paper Address?

Machine learning models often struggle with incomplete datasets where feature values are missing. Traditionally, this problem has been tackled in two main ways:

  1. Feature Imputation: Estimating the missing feature values based on the observed ones. Existing methods often rely on strong statistical assumptions, struggle with mixed data types, or fail to adapt to downstream tasks.
  2. Label Prediction: Directly predicting a downstream task label (e.g., classification, regression) while accounting for the missing values. Methods here can be heuristic, lack scalability, or don't naturally integrate imputation with prediction.

The core challenge is to develop a unified, flexible, and scalable approach that can effectively handle missing data for both imputation and prediction tasks, learning from the inherent structure of the data.

Methods

GRAPE's key innovation lies in its graph-based formulation. It constructs a bipartite graph where:

  • Observations (data points) and Features are treated as two distinct sets of nodes.
  • Observed feature values are represented as weighted edges connecting observation nodes to feature nodes.

With this graph representation, the problem is reframed:

  • Feature Imputation becomes an edge-level prediction task: predicting the value of a missing edge.
  • Label Prediction becomes a node-level prediction task: predicting the label associated with an observation node.

These tasks are then solved using Graph Neural Networks (GNNs). GRAPE builds upon the GraphSAGE architecture but introduces several crucial modifications:

  • Edge Embeddings: Since edges carry rich attribute information (the observed feature values), GRAPE explicitly learns embeddings for these edges during message passing.
  • Augmented Node Features: To provide initial representations for observation and feature nodes, GRAPE uses augmented features that enhance representation power and enable inductive learning.
  • Edge Dropout: To prevent overfitting and encourage generalization to unseen edge values (missing data), GRAPE employs an edge dropout technique during training.

Datasets

The paper evaluates GRAPE on nine benchmark datasets from the UCI Machine Learning Repository. These datasets come from diverse domains, including civil engineering, biology, and thermal dynamics, and vary in size and number of features. For the experiments, these fully observed datasets were artificially made to have missing values by randomly removing entries.

Key Insights and Ideas

  • Unified Framework: The most significant insight is framing both feature imputation and label prediction within a single graph representation. This allows for end-to-end learning, where imputation can directly benefit the prediction task and vice-versa.
  • Graph Structure is Key: By modeling observations and features as interconnected nodes, GRAPE naturally captures complex relationships and dependencies that are missed by traditional methods that treat each observation or feature in isolation.
  • Edge Information Matters: Explicitly learning edge embeddings is crucial because the observed feature values are the primary source of information for imputation. This allows GRAPE to leverage the richness of the observed data.
  • Generalization through GNNs: The GNN architecture, combined with edge dropout and augmented node features, enables GRAPE to generalize well to unseen observations and adapt to different data missing levels without requiring retraining.

Key Results

  • Feature Imputation: GRAPE achieved an average of 20% lower Mean Absolute Error (MAE) compared to the best baseline (KNN) across the tested datasets at a 30% missing rate. This advantage increased to 21% lower MAE when tested on unseen observations.
  • Label Prediction: GRAPE yielded an average of 10% lower MAE compared to the best baseline (MICE) at a 30% missing rate.
  • Robustness: GRAPE demonstrated strong performance across various missing data levels, showing consistent improvements as the missing ratio increased, highlighting its ability to leverage complex interdependencies.
  • End-to-End Advantage: End-to-end training for label prediction resulted in a 19% lower average MAE compared to a two-stage approach (impute then predict).

Limitations and Future Work

  • Limitations:
    • The paper primarily focuses on datasets where features are missing completely at random (MCAR). While the authors suggest GRAPE can be applied to other missing data regimes, this was not explicitly demonstrated.
  • While GRAPE scales well, the paper mentions that for prohibitively large feature sets, a trainable embedding matrix might be needed instead of one-hot encoding for node features.
  • Future Work:
    • The authors envision GRAPE serving as a pre-processing module that can be connected to downstream task-specific modules, or even learned jointly with them.
  • They suggest that researchers can easily integrate domain-specific neural architectures (e.g., BERT) into the GRAPE framework.
  • Exploring GRAPE's applicability to other missing data regimes (e.g., missing not at random) is a natural extension.

Summary updated

BibTeX
@inproceedings{you2020handling,
  author = {Jiaxuan You and Xiaobai Ma and Daisy Yi Ding and Mykel J. Kochenderfer and Jure Leskovec},
  title = {{Handling Missing Data with Graph Representation Learning}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2020},
  url = {https://openreview.net/forum?id=e16FYcd5hg},
}
Figure