Code Monkey home page Code Monkey logo

gnn-substructure-counting's Introduction

GNN-Substructure-Counting

The official implementation of ''Can Graph Neural Networks Count Substructures?'' at NeurIPS 2020.

Authors: Zhengdao Chen (NYU), Lei Chen (NYU), Soledad Villar (JHU), Joan Bruna (NYU).

Dependencies

Core packages:

pytorch 1.5.0
dgl 0.4.3
torch-sparse 0.6.5
torch-scatter 2.0.4
ogb 1.1.1
scipy 1.2.1

Note that

  1. DGL released a massive update of APIs in 0.5, due to which the implementation is in need of modification accordingly if you would like to install a more recent version. We refer to an official API guidebook for 0.4.x [1] and an official blog revealing what's new in 0.5 release [2].

  2. Following the official instructions [3] to install torch-sparse according to versions of your pytorch and cuda. Note that torch-scatter is necessary althougth we do not explicitly import it in the implementation.

  3. Other packages with higher verisions should be compatible. If you are with any questions, please do not hesitate to email us via [email protected].

[1] https://docs.dgl.ai/en/0.4.x/api/python/graph.html
[2] https://www.dgl.ai/release/2020/08/26/release.html
[3] https://github.com/rusty1s/pytorch_sparse

For citation

@article{chen2020can,
  title={Can graph neural networks count substructures?},
  author={Chen, Zhengdao and Chen, Lei and Villar, Soledad and Bruna, Joan},
  journal={arXiv preprint arXiv:2002.04025},
  year={2020}
}

or

@inproceedings{NEURIPS2020_75877cb7,
 author = {Chen, Zhengdao and Chen, Lei and Villar, Soledad and Bruna, Joan},
 booktitle = {Advances in Neural Information Processing Systems},
 editor = {H. Larochelle and M. Ranzato and R. Hadsell and M. F. Balcan and H. Lin},
 pages = {10383--10395},
 publisher = {Curran Associates, Inc.},
 title = {Can Graph Neural Networks Count Substructures?},
 url = {https://proceedings.neurips.cc/paper/2020/file/75877cb75154206c4e65e76b88a12712-Paper.pdf},
 volume = {33},
 year = {2020}
}

gnn-substructure-counting's People

Contributors

leichen2018 avatar shrutimoy10 avatar

Watchers

James Cloos 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.