8000 GitHub - Yiyuan179/M3P-GCL: AAAI 2025, Beyond Homophily: Graph Contrastive Learning with Macro-Micro Message Passing
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

AAAI 2025, Beyond Homophily: Graph Contrastive Learning with Macro-Micro Message Passing

License

Notifications You must be signed in to change notification settings

Yiyuan179/M3P-GCL

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

M3P-GCL

PyTorch Implementation for "Beyond Homophily: Graph Contrastive Learning with Macro-Micro Message Passing ".

Description

We propose M3P-GCL to address the limitations of homophily assumption in current GCL frameworks by introducing an Aligned Priority-Supporting View Encoding (APS-VE) strategy for structural and attribute views at the macro-level, and an Adaptive Self-Propagation (ASP) strategy for self-loops at the micro-level. These innovations diversify the message passing mechanism, enabling M3P-GCL to improve performance in homophilous and non-homophilous graphs.

Figure: The overview of M3P-GCL framework.

Overview

  • .\model.py: M3P-GCL model implementation.
  • .\train.py: Model training.
  • .\run.sh: Reproduction script for experimental results across 7 datasets.

Requirements

numpy==1.26.2
scikit_learn==1.4.0
torch==2.0.1
torch-geometric==2.5.3

Code Reference

This model is developed based on JialuChenChina/ASP: The code of "Attribute and Structure preserving Graph Contrastive Learning" (AAAI 2023 oral).

About

AAAI 2025, Beyond Homophily: Graph Contrastive Learning with Macro-Micro Message Passing

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0