Source-linked AI summary
Heterogeneous Deep Graph Infomax
Yuxiang Ren, Bo Liu, Chao Huang, Peng Dai, Liefeng Bo, Jiawei Zhang
TL;DR
Heterogeneous graphs make it challenging to learn node representations that preserve both attributes and structure, especially when labels are unavailable. HDGI uses meta-paths, graph convolution, and semantic-level attention, trained by maximizing local-global mutual information. The authors report strong classification and clustering performance, including competitiveness with supervised GNNs in node classification.
Problem
Heterogeneous graphs combine diverse node and edge types with semantic relations, complicating representation learning that must preserve both node attributes and structure.
Source: §I · pp. 1–2Method
HDGI uses meta-path-based graph convolution and semantic-level attention, maximizing local-global mutual information to learn unsupervised node representations.
Source: §I · p. 2Results
HDGI representations are effective for classification and clustering and can outperform state-of-the-art supervised GNN models that use labels.
Source: §I · p. 2Takeaways & Limitations
The learned representations support downstream node classification and clustering, with reported node-classification performance competitive with supervised methods.
Source: §VI · p. 8The best global encoder for heterogeneous graphs of different scales and structures remains an open question.
Source: 4) Different global representation… · p. 8
Abstract
from arXiv · showhide
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.
I. INTRODUCTION
Unsupervised graph representation learning seeks node representations that preserve attributes and structure when labels are unavailable. HDGI models heterogeneous relation semantics with meta-paths and attention, and its learned representations perform well on classification and clustering.
I. INTRODUCTION
- Unsupervised graph representation learning aims to preserve node attributes and graph topology in low-dimensional representations when labeled data are unavailable.These representations can be used with conventional sample-based machine-learning algorithms.Source: §I · p. 1
- Heterogeneous graphs combine multiple node and edge types whose diverse connections convey semantics that homogeneous-graph models may struggle to handle.The bibliographic example includes Author, Paper, and Subject nodes, with Write and Belong-to edges.Source: §I · p. 2
- HDGI uses meta-paths, graph convolution, semantic-level attention, and local-global mutual information maximization to learn unsupervised heterogeneous-graph representations.It fuses node attributes into representations while learning graph-level structural information.Source: §I · p. 2
- The paper presents HDGI as the first model applying mutual-information maximization to heterogeneous-graph representation learning.It frames the approach as an unsupervised graph neural network using meta-path attention.Source: §I · p. 2
- HDGI representations are effective for node classification and clustering and can outperform state-of-the-art supervised GNNs that use labels.The introduction reports this comparison without providing metric values.Source: §I · p. 2
A. Graph representation learning
Prior graph representation methods address structural information in different ways, while heterogeneous graphs add relation-type semantics. This paper formulates a target-node representation task and uses meta-path adjacency to encode semantic connections.
A. Graph representation learning
- Homogeneous-graph representation methods include random-walk embeddings, local-global structure objectives, asymmetric-transitivity preservation, and matrix factorization, but do not address heterogeneity.For heterogeneous graphs, metapath2vec, HIN2Vec, HAN, SHNE, and HGAT use meta-paths, attention, or joint structural and semantic learning.Source: A. Graph representation learning · p. 2
B. Graph neural network
- GNNs learn node features by aggregating neighborhood information, and DGI extends this approach with mutual-information maximization but applies only to homogeneous graphs.HDGI is presented as extending mutual-information-based GNNs to heterogeneous graphs.Source: B. Graph neural network · pp. 2–3
C. Mutual information
- Mutual-information methods include DIM for computer vision, DGI for graph node representations, and a method for graph-level representations.Source: C. Mutual information · p. 3
III. PROBLEM FORMULATION
- The learning task seeks low-dimensional representations that combine graph structure and node attributes for a selected target-node type.The representations support downstream tasks such as node classification and clustering.Source: §III · p. 3
- A meta-path specifies composite relations between node types; this paper uses symmetric, undirected meta-paths to represent closeness among target-type nodes.PAP denotes papers written by the same author, while PSP denotes papers belonging to the same subject.Source: §III · p. 3
- For each meta-path, an adjacency matrix records whether target-type nodes are connected by a path instance, providing input for HDGI's attention-based integration.Source: §III · p. 3
IV. HDGI METHODOLOGY
HDGI builds local node representations from meta-path-specific adjacency matrices, then aggregates them with semantic-level attention. A global encoder produces a graph summary, and a discriminator maximizes mutual information between that summary and positive nodes.
A. HDGI Architecture Overview
- HDGI takes target-node features and a meta-path set, from which it calculates meta-path-based adjacency matrices.Source: A. HDGI Architecture Overview · p. 3
- The local encoder learns node representations separately from each meta-path adjacency matrix, then aggregates them through semantic-level attention.Source: A. HDGI Architecture Overview · p. 3, Figure 2 · p. 4
- A global encoder derives a graph summary from node representations, while a negative-sample generator and discriminator support mutual-information maximization between positive nodes and the summary.The model is optimized end to end by backpropagation.Source: A. HDGI Architecture Overview · p. 4, Figure 2 · p. 4
B. Meta-path based local representation encoder
The local encoder first learns node representations separately under each meta-path adjacency, then aggregates them across meta-paths with semantic-level attention.
1) Meta-path specific node representation learning:
- Meta-path-specific encoding treats each adjacency matrix as a homogeneous graph and combines its relational structure with initial node features.Source: 1) Meta-path specific node… · p. 4
- GCN is one node-level encoder, using graph convolution with a filter parameter matrix not shared across meta-path adjacencies.Source: 1) Meta-path specific node… · p. 4
- GAT is the alternative, aggregating neighbor information including self-neighbors with K attention heads and normalized per-head coefficients.Source: 1) Meta-path specific node… · p. 4
B. Meta-path based local representation encoder
- The resulting meta-path-specific node representations are aggregated into heterogeneous graph node representations.Source: 1) Meta-path specific node… · p. 4
2) Heterogeneous graph node representation learning:
Semantic-level attention learns how much each meta-path contributes, then combines the meta-path-specific representations into the final heterogeneous graph representation.
2) Heterogeneous graph node representation learning:
- A semantic attention layer learns weights for combining meta-path-specific representations into a more general node representation.Source: 2) Heterogeneous graph node… · p. 5
- The learned meta-path weights are normalized with softmax, and their weighted representations form the final graph node representation.Source: 2) Heterogeneous graph node… · p. 5
- Unlike HAN’s label-guided classification loss, HDGI’s binary cross-entropy guides attention weights by whether a node belongs to the original graph, avoiding known-label bias.Source: 2) Heterogeneous graph node… · p. 5
C. Global Representation Encoder
The global representation encoder produces a graph-level summary from node representations using one of three candidate aggregation functions.
C. Global Representation Encoder
- The averaging encoder takes the mean of node representations as the graph-level summary vector.Source: C. Global Representation Encoder · p. 5
- The pooling encoder transforms each node vector through a fully connected layer and applies elementwise max pooling to summarize the node set.Source: C. Global Representation Encoder · p. 5
- The Set2vec candidate uses an LSTM on a random permutation of node neighbors to summarize information from an unordered set.Source: C. Global Representation Encoder · p. 5
D. HDGI Learning
HDGI trains a discriminator to distinguish local-global node-summary pairs from negative pairs, using binary cross-entropy to maximize mutual information.
1) Mutual information based discriminator:
- A neural discriminator estimates mutual information by distinguishing samples from the joint distribution from samples drawn from the product of marginals.Source: 1) Mutual information based… · p. 5
- A node from the original graph paired with the graph summary is positive, while a generated fake node paired with that summary is negative.Source: 1) Mutual information based… · p. 5
- Binary cross-entropy maximizes local-global mutual information, encouraging the encoder to capture information from globally relevant locations.Source: 1) Mutual information based… · pp. 5–6
2) Negative samples generator:
HDGI corrupts negative samples by shuffling node features while keeping meta-path adjacency intact. The evaluation covers three heterogeneous datasets: DBLP, ACM, and IMDB.
2) Negative samples generator:
- The sampler shuffles rows of the initial feature matrix while keeping meta-path adjacency matrices unchanged, corrupting node-level connections.The paper motivates this choice as preserving structural information in generated negative samples.Source: 2) Negative samples generator · p. 6
V. EVALUATION
- HDGI is evaluated against state-of-the-art competitive methods on three real-world heterogeneous graphs.The evaluation section introduces datasets and settings before reporting model comparisons.Source: §V · p. 6
A. Datasets
- DBLP uses author nodes labeled across four research areas, profile bag-of-words features, and the APA, APCPA, and APTPA meta-paths.Source: A. Datasets · p. 6
- ACM uses paper nodes in three subject classes, keyword TF-IDF features, and the PAP and PSP meta-paths.Source: A. Datasets · p. 6
- IMDB uses movie nodes in three genres, TF-IDF-encoded movie features, and the MAM, MDM, and MKM meta-paths.Source: A. Datasets · p. 6
B. Experiment Setup
The experiments assess learned representations on node classification and clustering, comparing HDGI with feature-only, homogeneous-graph, and heterogeneous-graph baselines.
B. Experiment Setup
- Representation quality is evaluated on both node classification and node clustering tasks.Source: B. Experiment Setup · p. 6
1) Compared Baselines:
- Baselines include raw features, Metapath2vec, DeepWalk, DeepWalk with raw features, and DGI.Metapath2vec is tested across meta-paths with its best result reported; homogeneous methods are evaluated using meta-path-based adjacency matrices.Source: 1) Compared Baselines · pp. 6–7
- HDGI-C uses graph convolution for local representations, while HDGI-A uses graph attention for local representations.Source: 1) Compared Baselines · p. 7
- Heterogeneous-graph comparators include RGCN and HAN, while homogeneous-graph comparators include GAT and GCN.RGCN's classification loss is calculated on target-type nodes; supervised methods produce end-to-end classification results, unlike unsupervised methods that use a trained simple classifier.Source: 1) Compared Baselines · p. 7
2) Reproducibility:
HDGI performs strongly in node classification and learns effective representations for clustering; the experiments also specify implementation settings for reproducibility.
2) Reproducibility:
- HDGI is implemented in PyTorch and optimized with Adam, using 512-dimensional HDGI-C representations and 64-dimensional HDGI-A representations with four attention heads.Both variants use an 8-dimensional q vector; experiments run on four GTX-1080ti GPUs.Source: 2) Reproducibility · p. 7
1) Node classification task:
- HDGI-C outperforms the other unsupervised methods, HDGI performs better than homogeneous GCN and GAT, and HDGI is competitive with heterogeneous HAN in node classification.Source: 1) Node classification task · p. 7
2) Node clustering task:
- Node clustering results support HDGI's effectiveness when representations account for graph structure, semantic information, and node-independent content.K-Means uses the number of target-node classes as K, without labels, and clustering is repeated 10 times for average NMI and ARI.Source: 2) Node clustering task · p. 7
3) HDGI-A vs HDGI-C:
HDGI-C outperforms HDGI-A across node-classification experiments, while clustering results also support the explanation that convolution captures broader hierarchical structure. Simple averaging performs best among global encoders, but only subtly, leaving encoder choice for larger, more complex graphs open.
3) HDGI-A vs HDGI-C:
- HDGI-C outperforms HDGI-A in all node-classification experiments, and clustering results also verify the broader-structure analysis.Source: 3) HDGI-A vs HDGI-C · pp. 7–8
- Graph convolution may capture local structure better because hierarchical dependencies let it reach beyond attention’s direct-neighbor limit.Source: 3) HDGI-A vs HDGI-C · pp. 7–8
4) Different global representation encoder functions:
- Simple averaging is the best global encoder on node classification, but its advantage over alternatives is subtle.Source: 4) Different global representation… · p. 8, Figure 4 · p. 8
- For larger, more complex heterogeneous graphs, a specified and sophisticated global encoder may perform better; encoder design across graph scales and structures remains open.Source: 4) Different global representation… · p. 8
VI. CONCLUSION
- HDGI combines convolution-style GNNs, semantic-level attention, meta-paths, and local-global mutual-information maximization to learn heterogeneous-node representations.Source: §VI · p. 8
- Across three heterogeneous graphs, learned representations work for node classification and clustering, and are competitive with supervised methods in node classification.Source: §VI · p. 8
- The authors identify mutual-information maximization as a promising direction for unsupervised representation learning.Source: §VI · p. 9