How to Find Your Friendly Neighborhood: Graph Attention Design with Self-Supervision

Dongkwan Kim, Alice Oh
4/11/2022
331 citations
cs.LGcs.AIcs.SI
gnncontrastive-ssl

Official code: dongkwan-kim/SuperGAT (159 stars, Python, last commit 2023-04-07).

Abstract

Attention mechanism in graph neural networks is designed to assign larger weights to important neighbor nodes for better representation. However, what graph attention learns is not understood well, particularly when graphs are noisy.

Show full abstract

In this paper, we propose a self-supervised graph attention network (SuperGAT), an improved graph attention model for noisy graphs. Specifically, we exploit two attention forms compatible with a self-supervised task to predict edges, whose presence and absence contain the inherent information about the importance of the relationships between nodes. By encoding edges, SuperGAT learns more expressive attention in distinguishing mislinked neighbors. We find two graph characteristics influence the effectiveness of attention forms and self-supervision: homophily and average degree. Thus, our recipe provides guidance on which attention design to use when those two graph characteristics are known. Our experiment on 17 real-world datasets demonstrates that our recipe generalizes across 15 datasets of them, and our models designed by recipe show improved performance over baselines.

View on arXivView PDF

Code Implementations(1)

[ICLR 2021] How to Find Your Friendly Neighborhood: Graph Attention Design with Self-Supervision

15925Python, ShellJul 23, 20193 years ago
graph-neural-networkgraph-neural-networks

Similar Papers

Cite this paper

@article{kim2022find,
  title  = {How to Find Your Friendly Neighborhood: Graph Attention Design with Self-Supervision},
  author = {Dongkwan Kim and Alice Oh},
  year   = {2022},
  eprint = {2204.04879},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2204.04879}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2204.04879.svg)](https://codeofpaper.com/paper/2204.04879)

Discussion