February 17, 2020

308 words 2 mins read

dsgiitr/graph_nets

dsgiitr/graph_nets

PyTorch Implementation and Explanation of Graph Representation Learning papers involving DeepWalk, GCN, GraphSAGE, ChebNet & GAT.

repo name dsgiitr/graph_nets
repo link https://github.com/dsgiitr/graph_nets
homepage
language Jupyter Notebook
size (curr.) 12511 kB
stars (curr.) 184
created 2019-08-07
license

This repo is a supplement to our blog series Explained: Graph Representation Learning. The following major papers and corresponding blogs have been covered as part of the series and we look to add blogs on a few other significant works in the field.

Clone the git repository :

git clone https://github.com/dsgiitr/graph_nets.git

Python 3 with Pytorch 1.3.0 are the primary requirements. The requirements.txt file contains a listing of other dependencies. To install all the requirements, run the following:

pip install -r requirements.txt

Unsupervised online learning approach, inspired from word2vec in NLP, but, here the goal is to generate node embeddings.

GCNs draw on the idea of Convolution Neural Networks re-defining them for the non-euclidean data domain. They are convolutional, because filter parameters are typically shared over all locations in the graph unlike typical GNNs.

Previous approaches are transductive and don’t naturally generalize to unseen nodes. GraphSAGE is an inductive framework leveraging node feature information to efficiently generate node embeddings.

ChebNet is a formulation of CNNs in the context of spectral graph theory.

GAT is able to attend over their neighborhoods’ features, implicitly specifying different weights to different nodes in a neighborhood, without requiring any kind of costly matrix operation or depending on knowing the graph structure upfront.

comments powered by Disqus