Implementation of FSGNN

Related tags

Deep Learning FSGNN
Overview

FSGNN

Implementation of FSGNN. For more details, please refer to our paper Experiments were conducted with following setup:
Pytorch: 1.6.0
Python: 3.8.5
Cuda: 10.2.89 Trained on NVIDIA V100 GPU.

Summary of results

Dataset 3-hop Accuracy(%) 8-hop Accuracy(%) 16-hop Accuracy(%) 32-hop Accuracy(%)
Cora 87.73 87.93 87.91 87.83
Citeseer 77.19 77.40 77.46 77.46
Pubmed 89.73 89.75 89.60 89.63
Chameleon 78.14 78.27 78.36 78.53
Wisconsin 88.43 87.84 88.04 88.24
Texas 87.30 87.30 86.76 86.76
Cornell 87.03 87.84 86.76 88.11
Squirrel 73.48 74.10 73.95 74.15
Actor 35.67 35.75 35.25 35.22
Actor(no-norm) 37.63 37.75 37.67 37.62

To run node classification on different hops:

3-hop : ./run_classification_3_hop.sh

8-hop : ./run_classification_8_hop.sh

16-hop : ./run_classification_16_hop.sh

32-hop : ./run_classification_32_hop.sh

In addition, we include model accuracy of Actor dataset without using hop-normalization, as model shows higher accuracy in this setting.

Some more interesting results coming soon!

ogbn-papers100M (large-scale dataset)

Improved model than mentioned in paper with extra FC layer. Please run python process_large.py in folder named large_data first to create data splits.

Then run ./run_ogbn_papers.sh to train the model.

Accuracy shown below is average over five runs with random seeds 0-4.

Dataset 4-hop Accuracy (%)
ogbn-papers100M 68.07

(Results may vary slightly with a different platform, e.g. use of different GPU. In such case, for best performance, some hyperparameter search may be required. Please refer to PyTorch documentation for more details.)

Datasets and parts of preprocessing code were taken from Geom-GCN and GCNII repositories. We thank the authors of these papers for sharing their code.

You might also like...
Implementation of Geometric Vector Perceptron, a simple circuit for 3d rotation equivariance for learning over large biomolecules, in Pytorch. Idea proposed and accepted at ICLR 2021
Implementation of Geometric Vector Perceptron, a simple circuit for 3d rotation equivariance for learning over large biomolecules, in Pytorch. Idea proposed and accepted at ICLR 2021

Geometric Vector Perceptron Implementation of Geometric Vector Perceptron, a simple circuit with 3d rotation equivariance for learning over large biom

Official implementation of AAAI-21 paper
Official implementation of AAAI-21 paper "Label Confusion Learning to Enhance Text Classification Models"

Description: This is the official implementation of our AAAI-21 accepted paper Label Confusion Learning to Enhance Text Classification Models. The str

Official PyTorch implementation for paper Context Matters: Graph-based Self-supervised Representation Learning for Medical Images
Official PyTorch implementation for paper Context Matters: Graph-based Self-supervised Representation Learning for Medical Images

Context Matters: Graph-based Self-supervised Representation Learning for Medical Images Official PyTorch implementation for paper Context Matters: Gra

PyTorch implementation of
PyTorch implementation of "Conformer: Convolution-augmented Transformer for Speech Recognition" (INTERSPEECH 2020)

PyTorch implementation of Conformer: Convolution-augmented Transformer for Speech Recognition. Transformer models are good at capturing content-based

An essential implementation of BYOL in PyTorch + PyTorch Lightning
An essential implementation of BYOL in PyTorch + PyTorch Lightning

Essential BYOL A simple and complete implementation of Bootstrap your own latent: A new approach to self-supervised Learning in PyTorch + PyTorch Ligh

The official implementation of NeMo: Neural Mesh Models of Contrastive Features for Robust 3D Pose Estimation [ICLR-2021].  https://arxiv.org/pdf/2101.12378.pdf
The official implementation of NeMo: Neural Mesh Models of Contrastive Features for Robust 3D Pose Estimation [ICLR-2021]. https://arxiv.org/pdf/2101.12378.pdf

NeMo: Neural Mesh Models of Contrastive Features for Robust 3D Pose Estimation [ICLR-2021] Release Notes The offical PyTorch implementation of NeMo, p

A PyTorch re-implementation of the paper 'Exploring Simple Siamese Representation Learning'. Reproduced the 67.8% Top1 Acc on ImageNet.

Exploring simple siamese representation learning This is a PyTorch re-implementation of the SimSiam paper on ImageNet dataset. The results match that

PyTorch implementation of
PyTorch implementation of "A Full-Band and Sub-Band Fusion Model for Real-Time Single-Channel Speech Enhancement."

FullSubNet This Git repository for the official PyTorch implementation of "A Full-Band and Sub-Band Fusion Model for Real-Time Single-Channel Speech E

Pytorch implementation of PCT: Point Cloud Transformer

PCT: Point Cloud Transformer This is a Pytorch implementation of PCT: Point Cloud Transformer.

Comments
  • chameleon datasets   runing error

    chameleon datasets runing error

    I encountered a running problem. When I ran the chameleons dataset, "valueerror: integers to negative integer powers are not allowed." In line 87 of "process. Py". Is this my personal problem? And how to solve this problem. Thank you very much for your reply!

    Dataset: chameleon Dropout:0.5, layer_norm: True w_att:0.0005, w_fc2:0.0005, w_fc1:0.0005, lr_fc:0.02, lr_att:0.02 E:\python_project\FSGNN\process.py:143: FutureWarning: adjacency_matrix will return a scipy.sparse array instead of a matrix in Networkx 3.0. adj = nx.adjacency_matrix(G, sorted(G.nodes())) Traceback (most recent call last): File "E:/python_project/FSGNN/node_class.py", line 161, in accuracy_data = train(datastr,splitstr) File "E:/python_project/FSGNN/node_class.py", line 91, in train adj, adj_i, features, labels, idx_train, idx_val, idx_test, num_features, num_labels = full_load_data(datastr,splitstr) File "E:\python_project\FSGNN\process.py", line 148, in full_load_data features = preprocess_features(features) File "E:\python_project\FSGNN\process.py", line 87, in preprocess_features r_inv = np.power(rowsum, -1).flatten() ValueError: Integers to negative integer powers are not allowed.

    opened by shikexuan666 4
Owner
null
Numenta Platform for Intelligent Computing is an implementation of Hierarchical Temporal Memory (HTM), a theory of intelligence based strictly on the neuroscience of the neocortex.

NuPIC Numenta Platform for Intelligent Computing The Numenta Platform for Intelligent Computing (NuPIC) is a machine intelligence platform that implem

Numenta 6.3k Dec 30, 2022
PyTorch implementation of neural style transfer algorithm

neural-style-pt This is a PyTorch implementation of the paper A Neural Algorithm of Artistic Style by Leon A. Gatys, Alexander S. Ecker, and Matthias

null 770 Jan 2, 2023
PyTorch implementation of DeepDream algorithm

neural-dream This is a PyTorch implementation of DeepDream. The code is based on neural-style-pt. Here we DeepDream a photograph of the Golden Gate Br

null 121 Nov 5, 2022
The project is an official implementation of our CVPR2019 paper "Deep High-Resolution Representation Learning for Human Pose Estimation"

Deep High-Resolution Representation Learning for Human Pose Estimation (CVPR 2019) News [2020/07/05] A very nice blog from Towards Data Science introd

Leo Xiao 3.9k Jan 5, 2023
Image-to-Image Translation with Conditional Adversarial Networks (Pix2pix) implementation in keras

pix2pix-keras Pix2pix implementation in keras. Original paper: Image-to-Image Translation with Conditional Adversarial Networks (pix2pix) Paper Author

William Falcon 141 Dec 30, 2022
Python implementation of cover trees, near-drop-in replacement for scipy.spatial.kdtree

This is a Python implementation of cover trees, a data structure for finding nearest neighbors in a general metric space (e.g., a 3D box with periodic

Patrick Varilly 28 Nov 25, 2022
Home repository for the Regularized Greedy Forest (RGF) library. It includes original implementation from the paper and multithreaded one written in C++, along with various language-specific wrappers.

Regularized Greedy Forest Regularized Greedy Forest (RGF) is a tree ensemble machine learning method described in this paper. RGF can deliver better r

RGF-team 364 Dec 28, 2022
Implementation of Restricted Boltzmann Machine (RBM) and its variants in Tensorflow

xRBM Library Implementation of Restricted Boltzmann Machine (RBM) and its variants in Tensorflow Installation Using pip: pip install xrbm Examples Tut

Omid Alemi 55 Dec 29, 2022
A fast Evolution Strategy implementation in Python

Evostra: Evolution Strategy for Python Evolution Strategy (ES) is an optimization technique based on ideas of adaptation and evolution. You can learn

Mika 251 Dec 8, 2022
🌳 A Python-inspired implementation of the Optimum-Path Forest classifier.

OPFython: A Python-Inspired Optimum-Path Forest Classifier Welcome to OPFython. Note that this implementation relies purely on the standard LibOPF. Th

Gustavo Rosa 30 Jan 4, 2023