Coder Social home page Coder Social logo

gnn_statistics's Introduction

On the choice of graph neural network architectures

Clément Vignac, Guillermo Ortiz-Jiménez, Pascal Frossard, On the choice of graph neural network architectures, ICASSP 2020

TensorFlow based benchmarking of graph neural networks on citation data.

This code is based on the GNN-benchmark library.

Installation

Follow the instructions of GNN-benchmark for installing the library.

Running experiments

Don't forget to turn MongoDB on before running the code.

Experiment 1a.

In this experiment we compare the performance of Graph Convolutional Networks and Simple Graph Convolutions on Cora, Pubmed and Citeseer when 50% of the nodes are observed. Different numbers of random features are used.

#!/usr/bin/env bash
python3 scripts/create_jobs.py -c config/experiment1a.conf.yaml --op search
python3 scripts/spawn_worker.py -c config/experiment1a.conf.yaml --gpu 0
python3 scripts/aggregate_results.py -c config/experiment1a.conf.yaml -o results/experiment1a/

To check that the code runs, you can reduce the number of splits in config/experiment1a.conf.yaml.

Experiment 1b.

In this experiment the number of features is fixed (at 300), but the proportion of observed nodes varies.

#!/usr/bin/env bash
python3 scripts/create_jobs.py -c config/experiment1b.conf.yaml --op search
python3 scripts/spawn_worker.py -c config/experiment1b.conf.yaml --gpu 0

Experiment 2

With 50% of observed nodes and 300 features, compare the performance of GCN, SGC, APPNP as well as non-linear version of them (APPNP and SGC).

#!/usr/bin/env bash
python3 scripts/create_jobs.py -c config/experiment2.conf.yaml --op fixed
python3 scripts/spawn_worker.py -c config/experiment2.conf.yaml --gpu 0
mkdir results/experiment2
python3 scripts/aggregate_results.py -c config/experiment2.conf.yaml -o results/experiment2/

Cite

Please cite our paper as well as GNN-benchmark if you use this code:

@article{vignac2019choice,
  title={On the choice of graph neural network architectures},
  author={Vignac, Cl{\'e}ment and Ortiz-Jim{\'e}nez, Guillermo and Frossard, Pascal},
  journal={arXiv preprint arXiv:1911.05384},
  year={2019}
}
@article{shchur2018pitfalls,
  title={Pitfalls of Graph Neural Network Evaluation},
  author={Shchur, Oleksandr and Mumme, Maximilian and Bojchevski, Aleksandar and G{\"u}nnemann, Stephan},
  journal={Relational Representation Learning Workshop, NeurIPS 2018},
  year={2018}
}

gnn_statistics's People

Contributors

cvignac avatar dependabot[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

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.