TasksSotADatasetsPapersMethodsSubmitAbout
Papers With Code 2

A community resource for machine learning research: papers, code, benchmarks, and state-of-the-art results.

Explore

Notable BenchmarksAll SotADatasetsPapersMethods

Community

Submit ResultsAbout

Data sourced from the PWC Archive (CC-BY-SA 4.0). Built by the community, for the community.

Papers/Do We Need Anisotropic Graph Neural Networks?

Do We Need Anisotropic Graph Neural Networks?

Shyam A. Tailor, Felix L. Opolka, Pietro Liò, Nicholas D. Lane

2021-04-03
PaperPDFCode(official)Code(official)

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. 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.

Results

TaskDatasetMetricValueModel
Graph Property Predictionogbg-molhivNumber of params317265EGC-M (No Edge Features)
Graph Property Predictionogbg-molhivNumber of params317013EGC-S (No Edge Features)
Graph Property Predictionogbg-code2Number of params10986002EGC-M (No Edge Features)
Graph Property Predictionogbg-code2Number of params10992050PNA (No Edge Features)
Graph Property Predictionogbg-code2Number of params10971506MPNN-Max (No Edge Features)
Graph Property Predictionogbg-code2Number of params11156530EGC-S (No Edge Features)
Node Property Predictionogbn-arxivNumber of params100648EGC-S (100k)
Node Property Predictionogbn-arxivNumber of params99464EGC-M (100k)