NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Multi-view Self-supervised Heterogeneous Graph Embedding

Jianan Zhao, Qianlong Wen, Shiyu Sun, Yanfang Ye, Chuxu Zhang

Abstract

Real-world graphs are inherently heterogeneous, containing multiple types of nodes and edges. Most graph self-supervised learning (SSL) methods treat these graphs as homogeneous, failing to capture complex semantic relationships. This paper introduces MVSE (Multi-View Self-supervised Heterogeneous Graph Embedding), a novel framework that utilizes meta-paths to generate multiple semantic "views" of a graph. By explicitly modeling correlations between different semantic relationships through intra-view and inter-view contrastive learning, MVSE learns superior node embeddings. Evaluations on benchmark datasets show that MVSE significantly outperforms existing methods, particularly in scenarios with sparse labels.

Introduction

Graph Neural Networks (GNNs) typically require extensive labeled data, which is often unavailable in real-world scenarios. While Self-Supervised Learning (SSL) has emerged to mitigate this by extracting signals from unlabeled structures, existing methods like DGI or GCC are primarily designed for homogeneous graphs. Heterogeneous Information Networks (HINs), such as bibliographic or movie databases, contain diverse node and edge types. Applying homogeneous SSL to HINs results in the loss of specific semantic nuances. Furthermore, existing heterogeneous methods often overlook the correlations between different relationship types (e.g., how co-authorship might correlate with co-venue publishing). MVSE addresses these gaps by treating meta-paths as distinct semantic views and learning from their interactions.

Methodology

The MVSE framework treats different meta-paths as distinct semantic views. The architecture is divided into three primary components: semantic subgraph sampling, context encoding, and multi-view contrastive learning.

The MVSE framework architecture, showing semantic subgraph sampling, context encoding, and multi-view contrastive learning.

1. Semantic Subgraph Sampling

To overcome the limitations of standard Random Walk with Restart (RWR) in capturing high-order neighbors in HINs, MVSE employs a meta-path constrained fixed-depth random walk. Standard RWR often suffers from exponential decay in sampling probability for distant nodes. By constraining the walk to specific meta-paths, the model ensures that semantically relevant, distant neighbors are included in the sampled subgraphs $S_i^{P_j}$.

2. Heterogeneous Context Encoding

Recognizing that different meta-paths represent distinct feature spaces, MVSE utilizes semantic-specific encoders $f_{P_j}(\cdot)$ based on Graph Isomorphism Networks (GINs). Using a shared encoder across all views was found to degrade performance, as different semantic contexts require dedicated parameters to be properly encoded.

3. Multi-view Contrastive Learning

This core component optimizes two distinct contrastive losses:

  • Intra-view Contrast: This uses the Momentum Contrast (MoCo) framework to contrast node embeddings within the same meta-path view, helping the model distinguish nodes based on specific semantic contexts.
  • Inter-view Contrast: This introduces a decoder $g^{j,k}(\cdot)$ to translate node embeddings from one view into another (e.g., predicting co-authorship features from co-venue features). A contrastive loss is applied to these cross-view translations, forcing the model to capture the underlying correlations between different semantic contexts.

Experiments and Results

MVSE was evaluated on three benchmark datasets: DBLP (citation network), ACM (citation network), and IMDB (movie database).

Node Classification

MVSE achieved state-of-the-art results, especially under label-sparse conditions. On the DBLP dataset with only 1% labeled data, MVSE reached a 90.46% Micro-F1 score. This significantly outperformed the next best SSL method, DGI (87.73%), and crushed standard supervised GCNs, which only achieved 72.63%.

In link prediction tasks, MVSE consistently outperformed all baselines across all datasets and meta-path types. For instance, predicting Author-Paper-Author links on DBLP yielded an 88.09% F1 score, compared to 86.84% for GPT-GNN.

Ablation Studies

Ablation experiments confirmed that the inter-view contrastive loss is a key driver of performance. Removing this component led to a noticeable drop in accuracy, proving that modeling the correlation between different meta-paths is highly effective for learning robust embeddings.

Discussion and Conclusion

The primary innovation of MVSE lies in explicitly modeling inter-view correlations, which provides a deeper understanding of node relationships in heterogeneous graphs. The transition to meta-path-constrained walks effectively addresses the sampling decay inherent in standard RWR.

However, the model has limitations. It currently relies on manually defined meta-paths, which may not scale to extremely complex graphs where optimal paths are not obvious. Additionally, maintaining separate encoders and decoders for every view introduces computational and memory overhead. Future work could explore automated meta-path discovery and more memory-efficient cross-view attention mechanisms to enhance scalability.

Summary updated

BibTeX
@inproceedings{zhao2021multi,
  author = {Jianan Zhao and Qianlong Wen and Shiyu Sun and Yanfang Ye and Chuxu Zhang},
  title = {{Multi-view Self-supervised Heterogeneous Graph Embedding}},
  booktitle = {ECML/PKDD},
  year = {2021},
  doi = {10.1007/978-3-030-86520-7\_20},
}
Figure