tech-srl/how_attentive_are_gats
소개
Code for the paper "How Attentive are Graph Attention Networks?" (ICLR'2022)
시스템 및 인프라측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- +1
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalHow Attentive are Graph Attention Networks?
This repository is the official implementation of How Attentive are Graph Attention Networks?.
January 2022: the paper was accepted to ICLR'2022 !

Using GATv2
GATv2 is now available as part of PyTorch Geometric library!
from torch_geometric.nn.conv.gatv2_conv import GATv2Conv
https://pytorch-geometric.readthedocs.io/en/latest/modules/nn.html#torch_geometric.nn.conv.GATv2Conv
and also is in this main directory.
GATv2 is now available as part of DGL library!
from dgl.nn.pytorch import GATv2Conv
https://docs.dgl.ai/en/latest/api/python/nn.pytorch.html#gatv2conv
and also in this repository.
GATv2 is now available as part of Google's TensorFlow GNN library!
from tensorflow_gnn.graph.keras.layers.gat_v2 import GATv2Convolution
Code Structure
Since our experiments (Section 4) are based on different frameworks, this repository is divided into several sub-projects:
- The subdirectory
arxiv_mag_products_collab_citation2_noisecontains the needed files to reproduce the results of Node-Prediction, Link-Prediction, and Robustness to Noise (Tables 2a, 3 and Figure 4). - The subdirectory
proteinscontains the needed files to reproduce the results of ogbn-proteins in Node-Prediction (Table 2b). - The subdirectory
dictionary_lookupcontains the need files to reproduce the results of the DictionaryLookup benchmark (Figure 3). - The subdirectory
tf-gnn-samplescontains the needed files to reproduce the results of the VarMisuse and QM9 datasets (Table 1 and Table 4).
Requirements
Each subdirectory contains its own requirements and dependencies.
Generally, all subdirectories depend on PyTorch 1.7.1 and PyTorch Geometric version 1.7.0 (proteins depends on DGL version 0.6.0).
The subdirectory tf-gnn-samples (VarMisuse and QM9) depends on TensorFlow 1.13.
Hardware
In general, all experiments can run on either GPU or CPU.
Citation
How Attentive are Graph Attention Networks?
@inproceedings{
brody2022how,
title={How Attentive are Graph Attention Networks? },
author={Shaked Brody and Uri Alon and Eran Yahav},
booktitle={International Conference on Learning Representations},
year={2022},
url={https://openreview.net/forum?id=F72ximsx7C1}
}
관련 프로젝트 살펴보기
불러오는 중…