Empowering Dual-Level Graph Self-Supervised Pretraining with Motif Discovery

Pengwei Yan, Kaisong Song, Zhuoren Jiang, Yangyang Kang, Tianqianjin Lin, Changlong Sun, Xiaozhong Liu

Introduction

Self-supervised learning (SSL) has fundamentally transformed fields like Natural Language Processing and Computer Vision by enabling models to learn from vast amounts of unlabeled data. However, applying these successes to graph-structured data remains a significant challenge. Current graph pretraining methods often struggle to capture high-order topological patterns or rely heavily on human-defined motifs, which limits their generalizability.

To address these issues, we present DGPM (Dual-level Graph self-supervised Pretraining with Motif discovery). DGPM is a novel framework that allows graph neural networks (GNNs) to autonomously discover significant structural patterns, or motifs, without human intervention. By integrating node-level feature reconstruction with a subgraph-level discovery task and a cross-level matching mechanism, DGPM achieves state-of-the-art performance across 15 diverse datasets in social and molecular domains.

The Bottlenecks of Graph SSL

The authors identify three primary limitations in existing graph pretraining paradigms:

  1. Limited Topology Learning: Most models focus on immediate neighbors or simple local structures, failing to capture higher-order "big picture" patterns essential for understanding complex graphs.
  2. Human Knowledge Dependency: Methods that utilize motifs typically require experts to pre-define them (e.g., functional groups in chemistry). This dependency makes models rigid and difficult to transfer to domains where motifs are not well-understood.
  3. Incompetent Multi-Level Interactions: Node-level and graph-level information are often learned in isolation, missing the intrinsic relationship between individual nodes and the larger structures they inhabit.

The DGPM Framework

DGPM overcomes these bottlenecks by operating on two levels simultaneously, bridged by a cross-level interaction task.

Detailed architecture of the dual-level pretraining and cross-level matching mechanism.

Dual-Level Pretraining

  • Node-Level Task: Utilizing a masked graph auto-encoder, the model masks specific node features and attempts to reconstruct them. This forces the encoder to capture local attribute information and node-specific characteristics.
  • Subgraph-Level Task: This is the core innovation of DGPM. Instead of relying on a library of known motifs, the framework uses an EdgePool module to autonomously cluster nodes into subgraphs. To ensure these clusters are structurally meaningful, the Wasserstein Weisfeiler Lehman (WWL) graph kernel is employed as a similarity metric to guide the learning of motif representations.

Cross-Level Matching

To unify these levels, a discriminator performs a "node-motif affiliation" task. It predicts whether a specific node belongs to a discovered motif, forcing the model to learn the hierarchical relationship between local nodes and global topological structures.

Experimental Evaluation

The researchers validated DGPM on 15 benchmark datasets, spanning social networks (e.g., IMDB, REDDIT) and bioinformatics (e.g., MUTAG, PROTEINS). For transfer learning, the model was pretrained on ZINC15 (250k unlabeled molecules) and fine-tuned on eight molecular property prediction benchmarks.

Key Results

  • Graph Classification: DGPM outperformed all unsupervised state-of-the-art (SOTA) methods, with an average improvement of 6.79% and gains of up to 28.12% on specific benchmarks.
  • Transfer Learning: In molecular property prediction, DGPM surpassed SOTA methods on 6 out of 8 tasks, achieving up to a 25% improvement.
  • Robustness: The model demonstrated high generalizability, performing consistently well across both small biological graphs and large-scale social networks.

Qualitative Analysis: Autonomous Motif Discovery

A key strength of DGPM is its ability to "rediscover" significant structures without prior knowledge.

Visualization of autonomously discovered motifs in social networks, including cliques and structure holes.

As shown in the figure above, the model successfully identified social structures like "cliques" and "structural holes." In molecular domains, it autonomously discovered chemically significant functional groups like benzene rings. This confirms that the WWL kernel and EdgePool mechanism effectively guide the model toward learning meaningful topology.

Conclusion and Future Work

DGPM represents a significant step toward truly autonomous graph self-supervised learning. By eliminating the need for pre-defined motifs and fostering multi-level interactions, it provides a robust and generalizable framework for graph representation learning. Future research will focus on extending DGPM to heterogeneous graphs with multiple node and edge types and automating the tuning of motif scales to further enhance its autonomy.

Summary updated

BibTeX
@inproceedings{yan2024empowering,
  author = {Pengwei Yan and Kaisong Song and Zhuoren Jiang and Yangyang Kang and Tianqianjin Lin and Changlong Sun and Xiaozhong Liu},
  title = {{Empowering Dual-Level Graph Self-Supervised Pretraining with Motif Discovery}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2024},
  doi = {10.1609/aaai.v38i8.28774},
}
Figure