Giter Club home page Giter Club logo

gmpt's Introduction

GMPT

Official PyTorch implementation for Graph Matching based GNN Pre-Training [paper].

Yupeng Hou, Binbin Hu, Wayne Xin Zhao, Zhiqiang Zhang, Jun Zhou, Ji-Rong Wen. Neural Graph Matching for Pre-training Graph Neural Networks. SDM 2022.

Overview

Requirements

python              3.7.7
pytorch             1.7.1
torch-geometric     1.6.3
cudatoolkit         10.1
rdkit               2020.09.1.0

Quick Start

Fine-tune with pre-trained GMPT-CL model on Bio

bash scripts/bio.sh

Pre-train from scratch

bash scripts/bio.sh pretrain

Check the results

python result_analysis.py --mode bio

For more detailed and customized usage, e.g., change datasets, GNN types, pre-trained models et al., please kindly refer to bio.sh and chem.sh.

Datasets

Please refer to dataset-download to download Bio and Chem datasets.

Then the downloaded datasets should be moved to dataset/.

Pre-trained models

You can download the pre-trained GNN models from Google Drive and move them to bio_pretrain_model and chem_pretrain_model.

Acknowledgement

The implementation is reference to pretrain-gnns (backbone) and GraphCL (augmentation).

If you use this code for your research, please cite the following paper.

@inproceedings{hou2022gmpt,
  author = {Yupeng Hou and Binbin Hu and Wayne Xin Zhao and Zhiqiang Zhang and Jun Zhou and Ji-Rong Wen},
  title = {Neural Graph Matching for Pre-training Graph Neural Networks},
  booktitle = {{SDM}},
  year = {2022}
}

gmpt's People

Contributors

hyp1231 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Forkers

rucaibox

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.