Skip to content

chendiqian/IPR-MPNN

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

258 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Probabilistic Graph Rewiring via Virtual Nodes

drawing

Reference implementation of our rewiring method as proposed in

Probabilistic Graph Rewiring via Virtual Nodes
Chendi Qian*, Andrei Manolache*, Christopher Morris, Mathias Niepert

*These authors contributed equally.
Co-senior authorship.

Environment setup

conda create -n NAME python=3.10
conda activate NAME

conda install pytorch==2.1.1 pytorch-cuda=11.8 -c pytorch -c nvidia
conda install openbabel fsspec rdkit -c conda-forge
pip install torch_geometric==2.4.0
pip install torch_scatter torch_sparse -f https://data.pyg.org/whl/torch-2.1.0+cu118.html
pip install multimethod wandb
pip install matplotlib seaborn ogb
pip install gdown

To replicate experiments

We provide yaml files under configs, run e.g. python run.py with PATH_TO_CONFIG

In case of issues or other questions, please contact chendi.qian@log.rwth-aachen.de

Known issue

If you are using a different version of PyTorch, you might have some error in the gradients produced by SIMPLE gradient estimator. You might want to check if SIMPLE gives nonzero gradients.

About

Implementation for paper "Probabilistic Graph Rewiring via Virtual Nodes", accepted at NeurIPS 2024

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages