Relation-Aware Diffusion for Heterogeneous Graphs with Partially Observed Features

Daeho Um, Yoonji Lee, Jiwoong Park, Seulki Park, Yuneil Yeo, Seong Jin AhnICLR 2025

TL;DR

HetGFD (Heterogeneous Graph Feature Diffusion) is a novel framework designed to impute missing data in complex graphs containing multiple types of nodes and relationships. By introducing "virtual features" for nodes that naturally lack them and semantically weighting different types of connections, HetGFD achieves state-of-the-art performance—even when up to 99.5% of the data is missing.

The Challenge of Heterogeneous Graphs

In the real world, data is rarely complete. While many machine learning models assume a full set of features, graph-structured data (like social networks or citation databases) often suffers from missing values. Recently, "diffusion-based" methods have become popular for fixing this: they essentially "smear" known information across the graph's edges to fill in the blanks.

However, these methods were built for homogeneous graphs (where every node and edge is the same type). Real-world graphs are usually heterogeneous. For example, in a movie database graph, you have "Movie," "Actor," and "Director" nodes. This creates two massive headaches for standard diffusion:

  1. The Bridge Problem: Some nodes (like "Directors") might not have any features at all. In standard diffusion, these act as dead ends, blocking the flow of information between "Movie" nodes.
  2. The Semantic Problem: Not all relationships are equal. A "Movie" connected to an "Actor" might share more feature similarity than a "Movie" connected to a "Director," but standard models treat all edges as identical.

The HetGFD Approach

To address these challenges, the authors propose HetGFD, which tackles these issues through a clever two-stage diffusion process.

Overview of the HetGFD framework showing the two-stage diffusion process.
  • Virtual Features: To fix the "dead end" problem, the model assigns "virtual features" (initialized to zero) to non-attributed nodes. This allows them to act as bridges, passing information between attributed nodes during the diffusion process.
  • Edge-Type-Wise Homophily: This is the paper's secret sauce. The authors define a new metric to measure how much "homophily" (similarity between neighbors) exists for each specific type of relationship.
  • Two-Stage Diffusion:
    1. Preliminary Diffusion: A quick pass to get a rough estimate of missing values using equal weights for all edges.
  • Relation-Aware Diffusion: Using the rough estimates from stage one, the model ranks the importance of edge types based on the new homophily metric. It then performs a second, refined diffusion where "high-quality" relationships (those with high homophily) are given more weight.
  • Pseudo-Confidence (PC): The model incorporates a "confidence" score that decreases as the distance from a known feature increases, ensuring that the final imputed values are grounded in the most reliable source data.

Key Insights and Results

The model was evaluated on four widely used benchmark datasets: ACM, DBLP, IMDB, and PPI (Protein-Protein Interaction).

  • Non-attributed nodes are useful: Instead of ignoring nodes without features, treating them as "conduits" significantly improves the flow of information across the graph.
  • Ranking matters more than raw values: The authors found that using the rank of edge-type homophily to determine weights is more stable and effective than using the raw homophily values themselves.
  • Robustness to "Data Deserts": The most surprising insight is how well the model holds up under extreme scarcity. Even when only 0.5% of the features are known, the structural information of the heterogeneous graph is enough to reconstruct meaningful data.
Performance comparison of HetGFD against baselines under structural and uniform missing data scenarios.

In semi-supervised node classification, HetGFD consistently outperformed baselines like GAIN, SVD, and kNN. On the ACM dataset with 99.5% missing data, it improved Macro-F1 scores by over 4% compared to the next best method. Furthermore, despite the two-stage process, HetGFD is significantly faster than deep learning-based imputation methods, making it highly scalable.

Limitations and Future Work

  • Feature-Heterophilic Graphs: The model relies on the assumption that neighbors tend to be similar (homophily). If a graph is "heterophilic" (where connected nodes are intentionally different), this diffusion approach might struggle.
  • Feature Scaling: The current version assumes all features are of a similar nature and scale. Future work could explore how to handle multi-modal features (e.g., mixing text embeddings with numerical metadata).
  • Dynamic Graphs: The paper focuses on static graphs. Adapting this to graphs that change over time (like evolving social networks) remains an open challenge.

Summary updated

BibTeX
@inproceedings{um2025relation,
  author = {Daeho Um and Yoonji Lee and Jiwoong Park and Seulki Park and Yuneil Yeo and Seong Jin Ahn},
  title = {{Relation-Aware Diffusion for Heterogeneous Graphs with Partially Observed Features}},
  booktitle = {International Conference on Learning Representations},
  year = {2025},
  url = {https://openreview.net/forum?id=TPYwwqF0bv},
}
Figure