https://github.com/mengliu1998/deepergnn
Official PyTorch implementation of "Towards Deeper Graph Neural Networks" [KDD2020]
https://github.com/mengliu1998/deepergnn
geometric-deep-learning graph-neural-networks node-classification semi-supervised-learning
Last synced: 10 months ago
JSON representation
Official PyTorch implementation of "Towards Deeper Graph Neural Networks" [KDD2020]
- Host: GitHub
- URL: https://github.com/mengliu1998/deepergnn
- Owner: mengliu1998
- License: gpl-3.0
- Created: 2020-06-01T06:10:26.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-10-11T04:01:57.000Z (over 3 years ago)
- Last Synced: 2025-04-05T02:33:41.085Z (11 months ago)
- Topics: geometric-deep-learning, graph-neural-networks, node-classification, semi-supervised-learning
- Language: Python
- Homepage: https://arxiv.org/abs/2007.09296
- Size: 72.3 KB
- Stars: 156
- Watchers: 5
- Forks: 32
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Towards Deeper Graph Neural Networks
This repository is an official PyTorch implementation of DAGNN in "Towards Deeper Graph Neural Networks" (KDD2020). Our implementation is mainly based on [PyTorch Geometric](https://pytorch-geometric.readthedocs.io/en/latest/), a geometric deep learning extension library for PyTorch.
For more insights, (empirical and theoretical) analysis, and discussions about deeper graph neural networks, please refer to our paper.
[Meng Liu](https://mengliu1998.github.io), [Hongyang Gao](https://faculty.sites.iastate.edu/hygao/), and [Shuiwang Ji](http://people.tamu.edu/~sji/). [Towards Deeper Graph Neural Networks](https://www.kdd.org/kdd2020/accepted-papers/view/towards-deeper-graph-neural-networks).

**Other unofficial implementations**:
* An implementation in DGL [[PyTorch]](https://github.com/dmlc/dgl/tree/master/examples/pytorch/dagnn)
* An implementation in GraphGallery [[PyTorch]](https://github.com/EdisonLeeeee/GraphGallery/tree/master/examples)
## Reference
```
@inproceedings{liu2020towards,
title={Towards Deeper Graph Neural Networks},
author={Liu, Meng and Gao, Hongyang and Ji, Shuiwang},
booktitle={Proceedings of the 26th ACM SIGKDD International Conference on Knowledge Discovery \& Data Mining},
year={2020},
organization={ACM}
}
```
## Requirements
* PyTorch
* PyTorch Geometric >= 1.3.1
* NetworkX
* tqdm
Note that the versions of PyTorch and PyTorch Geometric should be compatible and PyTorch Geometric is related to other packages, which need to be installed in advance. It would be easy by following the [installation instruction](https://pytorch-geometric.readthedocs.io/en/latest/notes/installation.html#).
~~PyTorch Geometric 1.3.1 was used in this code. If you have a newer version installed already, you may encounter an error about "GCNConv.norm" when running this code. Refer to this [issue](https://github.com/mengliu1998/DeeperGNN/issues/2) for a possible solution.~~ (2020.8.12 update: This issue has been solved in the current code. Now, our code works for PyTorch Geometric >= 1.3.1.)
## Run
* To evaluate DAGNN on [OGB](https://ogb.stanford.edu) dataset [ogbn-arxiv](https://ogb.stanford.edu/docs/leader_nodeprop/#ogbn-arxiv), run
```linux
CUDA_VISIBLE_DEVICES=0 python main_ogbnarxiv.py
```
|**Dataset**|**#Para**|**Validation**|**Test**|
|-----------|--------------|---------------|----------------|
|ogbn-arxiv|43857|72.90±0.11|72.09±0.25|
* To reproduce our results in Table 2 and 3, run
```linux
bash run.sh
```

