Are you sure you want to delete this task? Once this task is deleted, it cannot be recovered.
fengxun705612 c9eee9ebd9 | 1 year ago | |
---|---|---|
.. | ||
README.md | 1 year ago | |
gnngraph_dataset.py | 2 years ago | |
run_bench.sh | 2 years ago | |
run_distributed_bench.sh | 1 year ago | |
vc_appnp_datanet.py | 1 year ago | |
vc_appnp_datanet_func.py | 1 year ago | |
vc_distributed_graphsage_reddit.py | 1 year ago | |
vc_distributed_graphsage_reddit_func.py | 1 year ago | |
vc_gat_datanet.py | 1 year ago | |
vc_gat_datanet_func.py | 1 year ago | |
vc_gcn_datanet.py | 1 year ago | |
vc_gcn_datanet_func.py | 1 year ago |
Personalized propagation of neural predictions (PPNP), and its fast approximation (APPNP), use the relationship between graph convolutional networks (GCN) and PageRank to derive an improved propagation scheme based on personalized PageRank. It leverages a large, adjustable neighborhood for classification and can be easily combined with any neural network.
More detail about APPNP can be found in:
Klicpera J , Bojchevski A, S Günnemann. Predict then Propagate: Graph Neural Networks meet Personalized PageRank
Graph Attention Networks(GAT) was proposed in 2017 by Petar Veličković et al. By leveraging masked self-attentional layers to address shortcomings of prior graph based method, GAT achieved or matched state of the art performance on both transductive datasets like Cora and inductive dataset like PPI.
More detail about GAT can be found in:
Veličković, P., Cucurull, G., Casanova, A., Romero, A., Lio, P., & Bengio, Y. (2017). Graph attention networks. arXiv preprint arXiv:1710.10903.
This repository contains a implementation of APPNP, GAT and GCN based on MindSpore and GraphLearning
Graph Convolutional Networks (GCN) was proposed in 2016 and designed to do semi-supervised learning on graph-structured data. A scalable approach based on an efficient variant of convolutional neural networks which operate directly on graphs was presented. The model scales linearly in the number of graph edges and learns hidden layer representations that encode both local graph structure and features of nodes.
More detail about GCN can be found in:
Thomas N. Kipf, Max Welling. 2016. Semi-Supervised Classification with Graph Convolutional Networks. In ICLR 2016.
The experiment is based on CoraFull.npz, AmazonCoBuy_computers.npz, Coauthor_physics.npz, Coauthor_cs.npz, pubmed_with_mask.npz, cora_v2_with_mask.npz, citeseer_with_mask.npz.
bash run_bench.sh
Performance comparison
Dataset | corav2 | pubmed | citeseet | az_computer | az_photos |
---|---|---|---|---|---|
APPNP | 2.25 | 2.61 | 3.37 | 6.78 | 2.77 |
GAT | 1.57 | 2.96 | 2.34 | 8.65 | 5.03 |
GCN | 1.31 | 1.97 | 2.05 | 1.94 | 1.46 |
The parallel computing of Graphlearning is based on the MindSpore. Graphlearning adopts the data parallelism approach that distributes both data and computation across a collection of computation resources. It requires only a few lines of code modifications from training on a single device.
GraphSAGE is a general inductive framework that leverages node feature information (e.g., text attributes) to efficiently generate node embeddings for previously unseen data. Instead of training individual embeddings for each node, GraphSAGE learns a function that generates embeddings by sampling and aggregating features from a node's local neighborhood.
More detail about GraphSAGE can be found in:
Hamilton W L, Ying R, Leskovec J. Inductive representation learning on large graphs (Neural Information Processing Systems, 2017)
The experiment is based on reddit_with_mask.npz.
bash distributed_run.sh
Performance comparison
Dataset | |
---|---|
single GPU | 56 |
Multiple GPUs (4) | 13 |
MindSpore Graph Learning is an efficient and easy-to-use graph learning framework, which allows researchers and developers to implement graph models according to formula easily and train efficiently.
https://gitee.com/mindspore/graphlearning
Python Vue TypeScript Markdown Shell other
Dear OpenI User
Thank you for your continuous support to the Openl Qizhi Community AI Collaboration Platform. In order to protect your usage rights and ensure network security, we updated the Openl Qizhi Community AI Collaboration Platform Usage Agreement in January 2024. The updated agreement specifies that users are prohibited from using intranet penetration tools. After you click "Agree and continue", you can continue to use our services. Thank you for your cooperation and understanding.
For more agreement content, please refer to the《Openl Qizhi Community AI Collaboration Platform Usage Agreement》