How Attentive are Graph Attention Networks?

By Shaked Brody, Uri Alon, Eran Yahav. International Conference on Learning Representations, 2021

1,922 citations recorded by the source corpus.

Graph Attention Networks (GATs) are one of the most popular GNN architectures and are considered as the state-of-the-art architecture for representation learning with graphs. In GAT, every node attends to its neighbors given its own representation as the query. However, in this paper we show that GAT computes a very limited kind of attention: the ranking of the attention scores is unconditioned on the query node. We formally define this restricted kind of attention as static attention and distinguish it from a strictly more expressive dynamic attention. Because GATs use a static attention mechanism, there are simple graph problems that GAT cannot express: in a controlled problem, we show that static attention hinders GAT from even fitting the training data. To remove this limitation, we introduce a simple fix by modifying the order of operations and propose GATv2: a dynamic graph attention variant that is strictly more expressive than GAT. We perform an extensive evaluation and show that GATv2 outperforms GAT across 11 OGB and other benchmarks while we match their parametric costs. Our code is available at https://github.com/tech-srl/how_attentive_are_gats . GATv2 is available as part of the PyTorch Geometric library, the Deep Graph Library, and the TensorFlow GNN library.

Subfields: Artificial Intelligence, Computer Vision and Pattern Recognition

View Paper: https://www.semanticscholar.org/paper/ab30672c8c5e4787f6a5985f26a8f281f0db2fb8

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. Artem Babenko
  2. Michael Diskin
  3. Denis Kuznedelev
  4. Yi Liao
  5. Oleg Platonov
  6. Liudmila Prokhorenkova
  7. Tess E. Smidt
  8. Daniel Cohen-Or

In Computer Vision and Pattern Recognition

  1. Artem Babenko
  2. Denis Kuznedelev
  3. Yi Liao
  4. Tess E. Smidt
  5. Victor S. Lempitsky
  6. Jingdong Wang
  7. Yi Yang
  8. Qi Tian

Citations in the corpus