Giter VIP home page Giter VIP logo

wsdm23-gsr's Introduction

WSDM23-GSR

An implementation of the GSR model proposed in Self-Supervised Graph Structure Refinement for Graph Neural Network in WSDM23. Please kindly note that this work is inspired by the great work GAuG, especially the adding and removing edges part.

Requirements

  • Python >=3.8.5
  • Pytorch == 1.8.1
  • DGL == 0.6.2
  • SciPy == 1.6.2
  • NetworkX==2.5.1

Usage

  • Step 1 : Unzip the data.zip file
  • Step 2: Run the experiments using the command below

to recover our results, specify "-l" option

python root_to_src_dir/src/models/GSR/trainGSR.py -dcora -l

Usage

Experiment Settings

  • dataset: The dataset to run on.
  • gpu: GPU id to use.
  • train_percentage:The train ratio, 0 for default split.
  • load_default_config: Whether load default config or use parsed config.
  • early_stop: Number of epoch for early stop.
  • seed: Training seed.

Model Settings

  • epochs: The maximum epoch to train in the fine-tuning process.
  • intra_weight: The weight of intra contrastive loss, $\alpha$ in the paper.
  • fsim_weight: The weight of feature similarity in estimating edge probability, $\beta$ in the paper.
  • add_ratio: Percentage of non-existing edge to add in the graph refinement process.
  • rm_ratio: Percentage of existing edge to remove in the graph refinement process.
  • fan_out: Number of neighbors to sample in first and second order subgraphs.
  • p_epochs: Number of pre-training epochs.
  • p_batch_size: The pre-training batch size.
  • prt_lr: The pre-training learning rate.

Citation

If you find our work useful, please consider citing our work:

@inproceeding{zhao2023gsr,
  title={Self-Supervised Graph Structure Refinement for Graph Neural Networks},
  author = {Jianan Zhao and Qianlong Wen and Mingxuan Ju and Chuxu Zhang and Yanfang Ye},
  booktitle = {WSDM},
  year      = {2023},
}

wsdm23-gsr's People

Contributors

andyjzhao avatar

Stargazers

冲冲冲哇 avatar  avatar  avatar  avatar Loh Ching Wah avatar CJY avatar april211 avatar Ethan Bei avatar Jieli Zhou avatar Wangyi avatar  avatar Flipped avatar Zhixun-Li avatar  avatar  avatar  avatar Clark Mingxuan Ju avatar

Watchers

 avatar  avatar

Forkers

april211

wsdm23-gsr's Issues

A question for dgl version

Dear author:
May I ask if I am using the cuda version which is 12.1, could u please tell me which dgl version do I need? because I tried all of the available version, and find none of them works.
Thx for ur patient.
4d8905fb94a1fa42e43b45dc047a707

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.