English

Exponentially Improving the Complexity of Simulating the Weisfeiler-Lehman Test with Graph Neural Networks

Machine Learning 2022-12-22 v2 Machine Learning

Abstract

Recent work shows that the expressive power of Graph Neural Networks (GNNs) in distinguishing non-isomorphic graphs is exactly the same as that of the Weisfeiler-Lehman (WL) graph test. In particular, they show that the WL test can be simulated by GNNs. However, those simulations involve neural networks for the 'combine' function of size polynomial or even exponential in the number of graph nodes nn, as well as feature vectors of length linear in nn. We present an improved simulation of the WL test on GNNs with \emph{exponentially} lower complexity. In particular, the neural network implementing the combine function in each node has only a polylogarithmic number of parameters in nn, and the feature vectors exchanged by the nodes of GNN consists of only O(logn)O(\log n) bits. We also give logarithmic lower bounds for the feature vector length and the size of the neural networks, showing the (near)-optimality of our construction.

Keywords

Cite

@article{arxiv.2211.03232,
  title  = {Exponentially Improving the Complexity of Simulating the Weisfeiler-Lehman Test with Graph Neural Networks},
  author = {Anders Aamand and Justin Y. Chen and Piotr Indyk and Shyam Narayanan and Ronitt Rubinfeld and Nicholas Schiefer and Sandeep Silwal and Tal Wagner},
  journal= {arXiv preprint arXiv:2211.03232},
  year   = {2022}
}

Comments

22 pages,5 figures, published at NeurIPS 2022. Updated funding statements