Meta-path Free Semi-supervised Learning for Heterogeneous Networks

Shin-Woo Park, Byung Jun Bae, Jinyoung Yeo, Seung-won HwangarXiv 2020 · OpenReview

TL;DR

This paper introduces novel Graph Neural Networks (GNNs), HER and HER++, that learn representations on heterogeneous graphs without relying on meta-paths. By relaxing "heterogeneity stress" – the challenge of handling diverse node and edge types – these models achieve state-of-the-art performance on node classification tasks, demonstrating the effectiveness of meta-path-free approaches.

What Problem Does This Paper Address?

Graph Neural Networks (GNNs) have revolutionized representation learning on graphs, but they often struggle with heterogeneous graphs. These graphs, common in real-world scenarios, contain multiple types of nodes (e.g., authors, papers, venues) and relationships (e.g., author-paper, paper-venue). Traditional GNNs are designed for homogeneous graphs with a single node and edge type.

To tackle heterogeneity, a common approach is to use "meta-paths." These are predefined sequences of node and edge types that transform a heterogeneous graph into a homogeneous one, allowing standard GNNs to be applied. However, this method has limitations: it often ignores valuable first-order neighbor information and requires domain expertise to design effective meta-paths. This paper questions the necessity of meta-paths and proposes a new way to handle heterogeneity directly.

Methods

The core innovation lies in two meta-path-free GNN architectures: HER (Heterogeneity Relaxation) and HER++. Both aim to reduce "heterogeneity stress," defined as the number of node/edge types fed into a model layer.

  • HER (Heterogeneity Relaxation): Instead of using pairwise node similarity (like in GAT), HER uses a single node's information to compute attention coefficients. This is achieved by applying a shared linear transformation to each node's features. This approach effectively reduces heterogeneity stress from the edge level to the node level, as node types are generally less diverse than edge types.
  • HER++: This model further reduces heterogeneity stress by dividing the heterogeneous graph into sub-graphs based on individual edge types. Each sub-graph then uses a dedicated attention layer. This allows for an even more granular handling of heterogeneity. HER++ then aggregates information from these sub-graphs using a 1x1 convolution on adjacency matrices.

Both models leverage multi-head attention and dropout for improved performance and stability.

Datasets

The authors evaluated their models on six benchmark datasets:

  • Heterogeneous Graphs: DBLP, ACM, and IMDB. These datasets represent academic networks and movie networks with multiple node and edge types.
  • Homogeneous Graphs: Cora and Citeseer. These are citation networks used to test the models' performance in a non-heterogeneous setting.
  • Knowledge Graph: NELL. This is a large-scale knowledge graph dataset.

Key Insights and Ideas

  • Meta-paths are not always necessary: The paper demonstrates that effective representation learning on heterogeneous graphs is achievable without the need for manually designed or automatically generated meta-paths.
  • Relaxing "Heterogeneity Stress" is key: By directly addressing the challenge of diverse node and edge types within the GNN architecture (HER and HER++), the models can better leverage first-order neighbor information and achieve superior performance.
  • HER++ offers finer-grained control: Dividing the graph by edge type in HER++ provides a more effective way to manage heterogeneity compared to HER, leading to further performance gains.
  • Transductive self-attention is powerful: HER's approach of using a node's own information to compute attention coefficients is a novel application of transductive learning in this context.

Key Results

  • State-of-the-art performance: HER and HER++ consistently outperform existing methods, including GAT, GTN (a meta-path generating model), and other baselines, on three heterogeneous graph datasets (DBLP, ACM, IMDB).
  • Improved accuracy on IMDB: HER++ showed particularly significant improvements on the IMDB dataset, suggesting its effectiveness in scenarios with less skewed node type distributions.
  • Comparable performance on homogeneous graphs: Even when applied to homogeneous graphs (Cora, Citeseer), HER achieved accuracy comparable to established GNNs like GCN and GAT, indicating its general applicability.
  • Scalability: The paper shows that HER can be effectively parallelized using graph partitioning, enabling its application to larger datasets like NELL while maintaining performance and reducing training time.

Limitations and Future Work

  • Computational Complexity: While HER++ offers benefits, its complexity can be a concern. The authors suggest using graph partitioning and sampling techniques to address scalability.
  • Ablation Study on Edge Grouping: The paper notes that their current models do not support edge type grouping during learning, but their experimental variants (HER+) suggest this could be a promising direction for finding better-matched edge types in an end-to-end manner.
  • Interpretability: The authors suggest that distilling their models to meta-path based models could offer new avenues for interpreting classification results.
  • More Sophisticated Techniques: For dropout, they mention exploring techniques like DropMax as future work.

Summary updated

Abstract

Graph neural networks (GNNs) have been widely used in representation learning on graphs and achieved superior performance in tasks such as node classification. However, analyzing heterogeneous graph of different types of nodes and links still brings great challenges for injecting the heterogeneity into a graph neural network. A general remedy is to manually or automatically design meta-paths to transform a heterogeneous graph into a homogeneous graph, but this is suboptimal since the features from the first-order neighbors are not fully leveraged for training and inference. In this paper, we propose simple and effective graph neural networks for heterogeneous graph, excluding the use of meta-paths. Specifically, our models focus on relaxing the heterogeneity stress for model parameters by expanding model capacity of general GNNs in an effective way. Extensive experimental results on six real-world graphs not only show the superior performance of our proposed models over the state-of-the-arts, but also demonstrate the potentially good balance between reducing the heterogeneity stress and increasing the parameter size. Our code is freely available for reproducing our results.
BibTeX
@misc{park2020meta,
  author = {Shin-Woo Park and Byung Jun Bae and Jinyoung Yeo and Seung-won Hwang},
  title = {{Meta-path Free Semi-supervised Learning for Heterogeneous Networks}},
  year = {2020},
  eprint = {2010.08924},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2010.08924},
}
Figure