Skip to main content
QUICK REVIEW

[Paper Review] How hard is graph isomorphism for graph neural networks

Andreas Loukas|arXiv (Cornell University)|May 13, 2020
Advanced Memory and Neural ComputingEngineering3 references2 citations
TL;DR

This paper establishes fundamental hardness limits for graph isomorphism in message-passing neural networks (MPNNs), showing that communication capacity must grow linearly for trees and quadratically for general connected graphs to distinguish isomorphism classes. The theoretical bounds align strongly with empirical performance across 420 networks and 12 tasks.

ABSTRACT

A hallmark of graph neural networks is their ability to distinguish the isomorphism class of their inputs. This study derives the first hardness results for graph isomorphism in the message-passing model (MPNN). MPNN encompasses the majority of graph neural networks used today and is universal in the limit when nodes are given unique features. The analysis relies on the introduced measure of communication capacity. Capacity measures how much information the nodes of a network can exchange during the forward pass and depends on the depth, message-size, global state, and width of the architecture. It is shown that the capacity of MPNN needs to grow linearly with the number of nodes so that a network can distinguish trees and quadratically for general connected graphs. Crucially, the derived bounds are applicable not only to worst-case instances but over a portion of all inputs. An empirical study involving 12 tasks of varying difficulty and 420 networks reveals strong alignment between actual performance and theoretical predictions.

Motivation & Objective

  • To understand the theoretical limits of graph neural networks (GNNs) in solving graph isomorphism, a fundamental problem in graph representation learning.
  • To identify the minimum communication capacity required for MPNNs to distinguish isomorphism classes in graphs.
  • To analyze whether theoretical bounds on capacity hold not only in worst-case scenarios but also over a significant portion of input graphs.
  • To validate theoretical predictions through a large-scale empirical study across diverse graph learning tasks.

Proposed method

  • Introducing a new measure called communication capacity, defined as the total information exchange between nodes during the forward pass in MPNNs.
  • Deriving theoretical lower bounds on communication capacity required for MPNNs to distinguish isomorphism classes in trees and general connected graphs.
  • Formalizing capacity as a function of network depth, message size, global state, and width, showing it must scale linearly for trees and quadratically for general graphs.
  • Applying the capacity model to analyze MPNNs in the universal message-passing framework with unique node features.
  • Conducting an empirical evaluation across 12 diverse graph learning tasks using 420 distinct MPNN architectures to test alignment with theoretical predictions.
  • Measuring performance across architectures with varying depth, width, message size, and global state to validate capacity-based predictions.

Experimental results

Research questions

  • RQ1What is the minimum communication capacity required for MPNNs to correctly distinguish isomorphism classes in trees?
  • RQ2How does the required communication capacity scale for general connected graphs compared to trees?
  • RQ3Do theoretical capacity bounds hold not only in worst-case scenarios but also over a representative portion of input graphs?
  • RQ4To what extent does the predicted communication capacity correlate with actual MPNN performance across diverse graph learning tasks?

Key findings

  • Communication capacity must grow linearly with the number of nodes to enable MPNNs to distinguish isomorphism classes in trees.
  • For general connected graphs, communication capacity must grow quadratically with the number of nodes to achieve isomorphism distinction.
  • The theoretical capacity bounds are not limited to worst-case instances but apply to a significant portion of input graphs.
  • Empirical results across 12 tasks and 420 networks show strong alignment between predicted and observed MPNN performance based on communication capacity.
  • The study confirms that MPNNs' ability to solve graph isomorphism is fundamentally constrained by their communication capacity, not just architectural depth or width alone.
  • The capacity-based theoretical framework provides a predictive model for MPNN performance on isomorphism-related tasks.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.