Do We Need Anisotropic Graph Neural Networks?

Shyam A. Tailor, Felix L. Opolka, Pietro Liò, Nicholas D. Lane
4/3/2021
48 citations
cs.LG
gnn

Official code: shyam196/egc (33 stars, Python, last commit 2022-03-28). Most starred: pyg-team/pytorch_geometric, a community implementation (24,148 stars, Python, MIT, PyTorch, last commit 2026-10-06, 732× the official stars). 1 more implementation below.

Abstract

Common wisdom in the graph neural network (GNN) community dictates that anisotropic models -- in which messages sent between nodes are a function of both the source and target node -- are required to achieve state-of-the-art performance. Benchmarks to date have demonstrated that these models perform better than comparable isotropic models -- where messages are a function of the source node only.

Show full abstract

In this work we provide empirical evidence challenging this narrative: we propose an isotropic GNN, which we call Efficient Graph Convolution (EGC), that consistently outperforms comparable anisotropic models, including the popular GAT or PNA architectures by using spatially-varying adaptive filters. In addition to raising important questions for the GNN community, our work has significant real-world implications for efficiency. EGC achieves higher model accuracy, with lower memory consumption and latency, along with characteristics suited to accelerator implementation, while being a drop-in replacement for existing architectures. As an isotropic model, it requires memory proportional to the number of vertices in the graph ($\mathcal{O}(V)$); in contrast, anisotropic models require memory proportional to the number of edges ($\mathcal{O}(E)$). We demonstrate that EGC outperforms existing approaches across 6 large and diverse benchmark datasets, and conclude by discussing questions that our work raise for the community going forward. Code and pretrained models for our experiments are provided at https://github.com/shyam196/egc.

View on arXivView PDF

Code Implementations(2)

Code implementations of this paper
RepositoryTypeStarsLanguageLicenseLast commit
shyam196/egcOfficial33Python–2022-03-28
pyg-team/pytorch_geometricCommunity24,148PythonMIT2026-10-06
shyam196/egcOfficial100%

"Do We Need Anisotropic Graph Neural Networks?" at ICLR 2022

333Python, ShellApr 3, 20214 years ago
PyTorchMIT

Graph Neural Network Library for PyTorch

24,1484,107Python, JinjaOct 6, 20171 months agoMIT
deep-learninggeometric-deep-learninggraph-convolutional-networksgraph-neural-networkspytorch

Similar Papers

Cite this paper

@article{tailor2021need,
  title  = {Do We Need Anisotropic Graph Neural Networks?},
  author = {Shyam A. Tailor and Felix L. Opolka and Pietro Liò and Nicholas D. Lane},
  year   = {2021},
  eprint = {2104.01481},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2104.01481}
}

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/2104.01481.svg)](https://codeofpaper.com/paper/2104.01481)

Discussion