Skip to content
How Powerful are Graph Neural Networks?
Branch: master
Clone or download
Latest commit ef08517 Feb 28, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
models remove cache Dec 28, 2018 refactored Dec 28, 2018
requirements.txt requirements added Dec 28, 2018 remove val Dec 28, 2018

How Powerful are Graph Neural Networks?

This repository is the official PyTorch implementation of the experiments in the following paper:

Keyulu Xu*, Weihua Hu*, Jure Leskovec, Stefanie Jegelka. How Powerful are Graph Neural Networks? ICLR 2019.

arXiv OpenReview

If you make use of the code/experiment or GIN algorithm in your work, please cite our paper (Bibtex below).

title={How Powerful are Graph Neural Networks?},
author={Keyulu Xu and Weihua Hu and Jure Leskovec and Stefanie Jegelka},
booktitle={International Conference on Learning Representations},


Install PyTorch following the instuctions on the [official website] ( The code has been tested over PyTorch 0.4.1 and 1.0.0 versions.

Then install the other dependencies.

pip install -r requirements.txt

Test run

Unzip the dataset file


and run


Default parameters are not the best performing-hyper-parameters. Hyper-parameters need to be specified through the commandline arguments. Please refer to our paper for the details of how we set the hyper-parameters.


python --help

to learn hyper-parameters to be specified.

You can’t perform that action at this time.