GithubHelp home page GithubHelp logo

neo-gnns's Introduction

Neo-GNN - Official PyTorch Implementation

This repository provides the official PyTorch implementation for the following paper:

Neo-GNNs: Neighborhood Overlap-aware Graph Neural Networks for Link Prediction
Seongjun Yun, Seoyoon Kim, Junhyun Lee, Jaewoo Kang, Hyunwoo J. Kim
In NeurIPS 2021.
Paper

Abstract: Graph Neural Networks (GNNs) have been widely applied to various fields for learning over graph-structured data. They have shown significant improvements over traditional heuristic methods in various tasks such as node classification and graph classification. However, since GNNs heavily rely on smoothed node features rather than graph structure, they often show poor performance than simple heuristic methods in link prediction where the structural information, e.g., overlapped neighborhoods, degrees, and shortest paths, is crucial. To address this limitation, we propose Neighborhood Overlap-aware Graph Neural Networks (Neo-GNNs) that learn useful structural features from an adjacency matrix and estimate overlapped neighborhoods for link prediction. Our Neo-GNNs generalize neighborhood overlap-based heuristic methods and handle overlapped multi-hop neighborhoods. Our extensive experiments on Open Graph Benchmark datasets (OGB) demonstrate that Neo-GNNs consistently achieve state-of-the-art performance in link prediction.

Requirements

Latest combination: Python 3.8.8 + PyTorch 1.8.1 + PyTorch_Geometric 2.0.3 + OGB 1.3.2.

Install PyTorch

Install PyTorch_Geometric

Install OGB

We used the code of pytorch_indexing embedded in our project for sparse matrix computation that can be backpropagated.

GPU with more than 24GB memory. (We used GeForce RTX 3090 & Qudadro RTX 8000)

Usages

ogbl-collab

python main_collab.py

ogbl-ppa

python main_ppa.py

ogbl-ddi

python main_ddi.py

Reference

If you find the code useful, please cite our papers.

@inproceedings{yun2021neognns,
	title={Neo-{GNN}s: Neighborhood Overlap-aware Graph Neural Networks for Link Prediction},
	author={Seongjun Yun and Seoyoon Kim and Junhyun Lee and Jaewoo Kang and Hyunwoo J. Kim},
	booktitle={Advances in Neural Information Processing Systems},
	editor={A. Beygelzimer and Y. Dauphin and P. Liang and J. Wortman Vaughan},
	year={2021},
	url={https://openreview.net/forum?id=Ic9vRN3VpZ}
}

neo-gnns's People

Contributors

seongjunyun avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

neo-gnns's Issues

code

Hello
If possible, I also want the sample code. Thanks a lot

code

Hello,professor Yun,
I also want sample code, can you send it to me at your convenience?
Thank you very much!
Lynn China University of Petroleum

Code

HI
Checking if you have a sample code Neo GNN.
Thanks
Ajay

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.