LAMP: Learnable Meta-Path Guided Adversarial Contrastive Learning for Heterogeneous Graphs

Siqing Li, Jin-Duk Park, Wei Huang, Xin Cao, Won-Yong Shin, Zhiqiang XuarXiv 2024 · DOI

Abstract

Heterogeneous Information Networks (HINs) offer a rich representation of complex data but present significant challenges in model selection, particularly regarding meta-paths. Current Heterogeneous Graph Contrastive Learning (HGCL) methods are highly sensitive to the choice of meta-paths, often requiring manual tuning that fails to generalize across datasets. We present LAMP (Learnable Meta-Path), a self-supervised framework that integrates multiple meta-path views into a unified structure and employs adversarial edge pruning. LAMP achieves state-of-the-art performance and demonstrates exceptional robustness across diverse datasets without the need for task-specific labels.

Introduction

Heterogeneous Information Networks (HINs), which contain multiple types of nodes and edges, are essential for modeling complex systems like bibliographic databases or knowledge graphs. Navigating these networks typically involves meta-paths—sequences of node and edge types that capture specific semantic relationships. However, existing HGCL models suffer from a "Goldilocks" problem: performance is highly sensitive to meta-path selection, no single set of paths works universally, and adding more paths often introduces detrimental noise and redundancy.

Methodology

LAMP shifts the paradigm from manual meta-path selection to learning from an integrated architectural view.

Integrated Sub-graph View

Instead of processing meta-paths in isolation, LAMP merges them into a single unified graph. Each edge is augmented with a "one-hot-like" encoding to preserve the identity of its constituent meta-paths, allowing the model to perceive overlapping relationships and maintain topological stability.

Integrated view of heterogeneous graphs, meta-path neighbor graphs, and the resulting high-order graph used by LAMP.

Learnable Meta-path Guided Augmentation (LMA)

To manage the density resulting from graph integration, LAMP utilizes Learnable Meta-path Guided Augmentation (LMA). This adversarial strategy prunes edges using a differentiable Gumbel-Max reparameterization, forcing the model to focus on the most salient structural features while acting as a regularizer against noise.

Adversarial Contrastive Learning

The framework operates as a min-max game where the LMA "augmenter" prunes edges to maximize the divergence between the meta-path view and the local network schema, while a shared HGNN encoder seeks to identify commonalities. This "tug-of-war" forces the model to capture essential high-order structural information.

Key Results

LAMP was evaluated on the Heterogeneous Graph Benchmark (HGB), including DBLP, IMDB, ACM, and Freebase datasets, outperforming existing unsupervised state-of-the-art models like HeCo and X-GOAL.

Unmatched Robustness

Most notably, LAMP exhibited remarkable stability. In tests across 26 different meta-path combinations, LAMP's performance variance was significantly lower than its competitors. While models like HeCo showed a standard deviation of 11.70%, LAMP maintained a standard deviation of only 2.07%.

Comparison of performance stability (Standard Deviation and Max-Min Gap) across different models, highlighting LAMP's superior robustness.

As illustrated in the figure above, the gap between maximum and minimum performance is drastically reduced in LAMP, proving that the model is far less sensitive to the initial choice of meta-path pools than traditional methods.

Conclusion

LAMP effectively addresses the instability of meta-path-based learning in heterogeneous graphs. By integrating views and employing adversarial pruning, it provides a robust, high-performance solution for unsupervised node representation learning. Future research will explore further reducing the reliance on predefined candidate pools to move toward fully meta-path-free architectures.

Summary updated

BibTeX
@misc{li2024lamp,
  author = {Siqing Li and Jin-Duk Park and Wei Huang and Xin Cao and Won-Yong Shin and Zhiqiang Xu},
  title = {{LAMP: Learnable Meta-Path Guided Adversarial Contrastive Learning for Heterogeneous Graphs}},
  year = {2024},
  eprint = {2409.06323},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2409.06323},
}
Figure