Heterogeneous Deep Graph Infomax

Yuxiang Ren, Bo Liu, Chao Huang, Peng Dai, Liefeng Bo, Jiawei ZhangarXiv 2019

Abstract: Graph representation learning is to learn universal node representations that preserve both node attributes and structural information. The derived node representations can be used to serve various downstream tasks, such as node classification and node clustering. When a graph is heterogeneous, the problem becomes more challenging than the homogeneous graph node learning problem. Inspired by the emerging information theoretic-based learning algorithm, in this paper we propose an unsupervised graph neural network Heterogeneous Deep Graph Infomax (HDGI) for heterogeneous graph representation learning. We use the meta-path structure to analyze the connections involving semantics in heterogeneous graphs and utilize graph convolution module and semantic-level attention mechanism to capture local representations. By maximizing local-global mutual information, HDGI effectively learns high-level node representations that can be utilized in downstream graph-related tasks. Experiment results show that HDGI remarkably outperforms state-of-the-art unsupervised graph representation learning methods on both classification and clustering tasks. By feeding the learned representations into a parametric model, such as logistic regression, we even achieve comparable performance in node classification tasks when comparing with state-of-the-art supervised end-to-end GNN models.

What Problem Does This Paper Address?

Most real-world data—from bibliographic networks to financial platforms—is heterogeneous, meaning it contains diverse types of entities (nodes) and relations (edges). While Graph Neural Networks (GNNs) have excelled at processing "homogeneous" graphs (where all nodes are the same type), heterogeneous graphs present a unique challenge: how do you integrate different semantic meanings (e.g., a "writer" relationship vs. a "subject" relationship) into a single, useful mathematical representation?

Illustration of heterogeneous graph components and meta-paths.

Existing unsupervised methods typically fall into two traps:

  1. Factorization-based models capture global structure but ignore local node attributes.
  2. Edge-based models (like random walks) capture local neighborhoods but fail to grasp the "big picture" of the graph.

The authors tackle the challenge of learning "universal" representations that are both locally detailed and globally aware, all while operating in an unsupervised setting where labels are scarce or non-existent.

Methods

HDGI introduces a multi-stage architecture that leverages Mutual Information (MI) maximization to learn high-quality node representations without labels.

The HDGI architecture overview, showing local/global encoders and the discriminator.
  • Meta-path Disassembly: The model breaks the complex heterogeneous graph into several homogeneous subgraphs based on "meta-paths" (e.g., in a movie database, a meta-path might be Movie-Actor-Movie).
  • Local Representation Encoder: For each meta-path, the model uses a GNN (either a Graph Convolutional Network or a Graph Attention Network) to learn node-level features.
  • Semantic-level Attention: Because not all meta-paths are equally important, HDGI uses an attention mechanism to automatically weight and fuse these different semantic views into a single local representation for each node.
  • Global Summary & Discriminator: A global encoder creates a "summary vector" of the entire graph. The "Infomax" magic happens here: a discriminator is trained to distinguish between real node-summary pairs and "fake" pairs (created by shuffling node features). By maximizing the mutual information between the local nodes and the global summary, the model forces the node embeddings to capture the overarching structure of the graph.

Datasets

The authors evaluated HDGI on three widely-used heterogeneous benchmarks:

  • ACM: A bibliographic network of papers, authors, and subjects.
  • DBLP: A computer science bibliography focused on authors, papers, conferences, and terms.
  • IMDB: A movie database linking movies, actors, and directors.

These datasets are standard in the field, but the authors specifically focused on how well the learned representations performed on downstream tasks like node classification and clustering.

Key Insights and Results

  • The Power of the "Global View": The core innovation is that a node's identity isn't just defined by its immediate neighbors, but by how it fits into the graph as a whole. Maximizing mutual information acts as a proxy for "understanding" the graph's context.
  • Unsupervised Superiority: Surprisingly, HDGI often outperformed supervised models like HAN. On the ACM dataset, HDGI achieved a 92.32% Micro-F1 score in node classification, rivaling the supervised HAN model (92.67%) and significantly beating other unsupervised baselines like DeepWalk (55.03%).
  • Robust Clustering: In clustering tasks, HDGI showed massive gains. On DBLP, it achieved a Normalized Mutual Information (NMI) of 60.76, compared to just 34.30 for the popular Metapath2vec algorithm.
  • Convolution vs. Attention: The paper finds that the GCN-based variant (HDGI-C) generally performs better than the GAT-based variant (HDGI-A), suggesting that graph convolution is better at capturing local network structures in this specific architecture.

Limitations and Future Work

While HDGI is powerful, the authors note a few areas for growth:

  • Global Encoder Design: While simple averaging worked best for their summary vector, designing more sophisticated global encoders for massive, multi-scale graphs remains an open question.
  • Meta-path Dependency: The model still relies on pre-defined meta-paths. Future iterations might benefit from automated meta-path discovery to handle even more complex or unfamiliar graph schemas.
  • Scalability: The memory overhead of processing multiple meta-paths simultaneously could be a bottleneck for exceptionally large-scale industrial graphs.

Summary updated

BibTeX
@misc{ren2019heterogeneous,
  author = {Yuxiang Ren and Bo Liu and Chao Huang and Peng Dai and Liefeng Bo and Jiawei Zhang},
  title = {{Heterogeneous Deep Graph Infomax}},
  year = {2019},
  eprint = {1911.08538},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1911.08538},
}
Figure