SkillAgentSearch skills...

GCMAE

The code for "Generative and Contrastive Paradigms Are Complementary for Graph Self-Supervised Learning"

Install / Use

/learn @wyx11112/GCMAE
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

<p> <img src="/img/framework.pdf" width="1000"> <br /> </p> The overview of GCMAE. <hr> <h1> Generative and Contrastive Paradigms Are Complementary for Graph Self-Supervised Learning </h1>

GCMAE is a self-supervised graph representation method, which unfies the contrastive learning and graph masked autoencoder. We conducted extensive experiments on various graph tasks, including node classification, link prediction, node clustering, and graph classification.

<h2>Dependencies </h2>
  • Python >= 3.7
  • Pytorch >= 1.9.0
  • dgl >= 0.7.2
  • pyyaml == 5.4.1
  • munkres
<h2>Quick Start </h2>

For quick start, you could run the scripts:

Node classification

# Run the code manually for node classification:
python main.py --dataset cora --device 0

Link prediction

# Run the code manually for link prediction:
python main_lp.py --dataset cora --device 0 

Node clustering

# Run the code manually for node clustering:
python main.py --dataset cora --task cls --device 0 

Graph classification

# Run the code manually for graph classification:
python main_graph.py --dataset IMDB-BINARY --device 0 

Run with --use_cfg in command to reproduce the reported results.

Related Skills

View on GitHub
GitHub Stars11
CategoryEducation
Updated4mo ago
Forks1

Languages

Python

Security Score

72/100

Audited on Nov 15, 2025

No findings