Graph-MVP: Multi-View Prototypical Contrastive Learning for Multiplex Graphs

Baoyu Jing, Yuejia Xiang, Xi Chen, Yu Chen, Hanghang Tong · DOI

Abstract

Graphs are powerful representations for relations among objects. A fundamental challenge for graph learning is training an effective Graph Neural Network (GNN) encoder without expensive labels. Contrastive Learning (CL) is a popular paradigm for this, but it faces two major issues: semantic errors from random topology-based augmentations and the difficulty of modeling multiplexity in real-world graphs. We propose X-GOAL, a multiplex heterogeneous graph prototypical contrastive learning framework. X-GOAL uses the GOAL framework for single-layer learning and an alignment regularization to jointly model different layers. Specifically, it captures node-level information via graph transformations and cluster-level information by pulling nodes within the same semantic cluster closer. We demonstrate X-GOAL's effectiveness on various real-world datasets.

Introduction

Graph Neural Networks (GNNs) have revolutionized relational data processing but typically require massive labeled datasets. Contrastive Learning (CL) has emerged as a powerful self-supervised alternative, training models by discriminating between "positive" and "negative" node pairs. However, current CL methods suffer from two significant gaps:

  1. Semantic Errors: Traditional CL relies on topological proximity. Semantically similar nodes that are distant in the graph may be incorrectly treated as negative pairs, leading the model to push them apart in the embedding space.
  2. Multiplexity: Real-world graphs often contain multiple types of relations (e.g., co-authorship vs. co-citation). Existing methods often struggle to integrate these "layers" efficiently, often relying on computationally expensive attention mechanisms.

Methodology: The X-GOAL Framework

The proposed X-GOAL (Multiplex Heterogeneous Graph Prototypical Contrastive Learning) framework addresses these challenges through two primary components.

The GOAL Framework

For each relation layer, the GOAL framework performs dual-level contrastive learning:

  • Node-Level Contrast: Positive views are created using graph transformations (dropout on attributes and adjacency matrices), while negatives are generated via feature shuffling.
  • Cluster-Level (Prototypical) Contrast: The model periodically employs K-means clustering to identify "prototypes" or latent semantic centers. Nodes are pulled toward their assigned cluster centers, ensuring that semantically similar nodes are grouped together even if they lack direct topological connections.
The GOAL framework workflow: from graph encoding to semantic clustering and parameter updating.

Alignment Regularization

To handle multiplexity, X-GOAL introduces a "nimble" alignment strategy. Instead of complex attention layers, it enforces consistency across different relation layers. A node’s embedding in one layer (e.g., "Author-Paper") is aligned with its embedding in another (e.g., "Paper-Conference"). This alignment occurs at both the node level and the cluster level, using KL-divergence to synchronize semantic distributions across the multiplex structure.

Experimental Results

X-GOAL was evaluated on four benchmark datasets: ACM, IMDB, DBLP, and Amazon.

Performance Benchmarks

X-GOAL consistently outperformed state-of-the-art self-supervised methods like HDMI and DMGI. For instance, on the Amazon dataset, X-GOAL achieved a Macro-F1 of 0.858, a significant improvement over HDMI's 0.808. In unsupervised tasks such as node clustering (NMI) and similarity search (Sim@5), X-GOAL showed marked improvements, particularly on the ACM and Amazon datasets, where NMI increased by up to 7%.

The Impact of Over-Clustering

A key insight from the study is the benefit of "over-clustering." The authors found that setting the number of clusters ($K$) significantly higher than the number of ground-truth classes yielded the best results. For example, using 30 clusters for a 3-class dataset allowed the model to capture fine-grained sub-communities.

Performance metrics (Macro-F1 and NMI) as a function of the number of clusters K, showing the benefits of over-clustering.

Conclusion

X-GOAL provides a robust framework for self-supervised learning on complex multiplex graphs. By moving beyond simple topology-based contrast and incorporating semantic prototypes, it reduces semantic errors and effectively integrates multi-relational data. While the periodic use of K-means introduces some overhead, the performance gains and theoretical grounding in Mutual Information maximization make it a compelling approach for modern graph representation learning. Future work may explore adaptive augmentation techniques and extensions to dynamic graphs.

Summary updated

Abstract

Graphs are powerful representations for relations among objects, which have attracted plenty of attention. A fundamental challenge for graph learning is how to train an effective Graph Neural Network (GNN) encoder without labels, which are expensive and time consuming to obtain. Contrastive Learning (CL) is one of the most popular paradigms to address this challenge, which trains GNNs by discriminating positive and negative node pairs. Despite the success of recent CL methods, there are still two under-explored problems. First, how to reduce the semantic error introduced by random topology based data augmentations. Traditional CL defines positive and negative node pairs via the node-level topological proximity, which is solely based on the graph topology regardless of the semantic information of node attributes, and thus some semantically similar nodes could be wrongly treated as negative pairs. Second, how to effectively model the multiplexity of the real-world graphs, where nodes are connected by various relations and each relation could form a homogeneous graph layer. To solve these problems, we propose a novel multiplex heterogeneous graph prototypical contrastive leaning (X-GOAL) framework to extract node embeddings. X-GOAL is comprised of two components: the GOAL framework, which learns node embeddings for each homogeneous graph layer, and an alignment regularization, which jointly models different layers by aligning layer-specific node embeddings. Specifically, the GOAL framework captures the node-level information by a succinct graph transformation technique, and captures the cluster-level information by pulling nodes within the same semantic cluster closer in the embedding space. The alignment regularization aligns embeddings across layers at both node and cluster levels. We evaluate X-GOAL on various real-world datasets and downstream tasks to demonstrate its effectiveness.
BibTeX
@inproceedings{jing2022graph,
  author = {Baoyu Jing and Yuejia Xiang and Xi Chen and Yu Chen and Hanghang Tong},
  title = {{Graph-MVP: Multi-View Prototypical Contrastive Learning for Multiplex Graphs}},
  booktitle = {ACM International Conference on Information and Knowledge Management},
  year = {2022},
  doi = {10.1145/3511808.3557490},
}
Figure