[Paper Review] How hard is to distinguish graphs with graph neural networks?
This paper introduces communication capacity as a measure of information exchange in message-passing neural networks (MPNNs), showing that distinguishing graphs requires MPNN capacity to grow linearly for trees and quadratically for general connected graphs. Theoretical bounds, validated empirically across 12 tasks and 420 networks, reveal strong alignment between theoretical predictions and actual performance, offering tight, generalizable limits on MPNN expressivity beyond prior work.
A hallmark of graph neural networks is their ability to distinguish the isomorphism class of their inputs. This study derives hardness results for the classification variant of graph isomorphism in the message-passing model (MPNN). MPNN encompasses the majority of graph neural networks used today and is universal 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. The derived bounds concern both worst- and average-case behavior and apply to networks with/without unique features and adaptive architecture -- they are also up to two orders of magnitude tighter than those given by simpler arguments. An empirical study involving 12 graph classification tasks and 420 networks reveals strong alignment between actual performance and theoretical predictions.
Motivation & Objective
- To understand the fundamental limits of MPNNs in distinguishing graph isomorphism classes.
- To develop a general, tight measure of information exchange capacity in MPNNs that accounts for depth, width, message size, and global state.
- To establish hardness results for graph isomorphism classification that apply to both anonymous and non-anonymous MPNNs, including adaptive architectures.
- To bridge theory and practice by validating theoretical predictions with empirical results on 12 graph classification tasks.
Proposed method
- Introduces communication capacity as a measure of total information exchange during MPNN forward pass, dependent on depth, width, message size, and graph cut-structure.
- Applies communication complexity theory to derive lower bounds on the information needed to determine graph isomorphism classes.
- Uses a novel technique to derive bounds that hold not only in the worst case but also in expectation over input distributions.
- Empirically evaluates 420 MPNNs across 12 graph classification tasks to test alignment between theoretical capacity and actual performance.
- Derives inequalities relating communication capacity to error probability in isomorphism testing, using information-theoretic lemmas.
- Generalizes prior results by accounting for global state and adaptive architectures, making bounds applicable to modern MPNN variants.
Experimental results
Research questions
- RQ1What is the minimum communication capacity required for an MPNN to distinguish trees?
- RQ2What is the minimum communication capacity required for an MPNN to distinguish general connected graphs?
- RQ3How do theoretical bounds on MPNN capacity compare to empirical performance across diverse graph classification tasks?
- RQ4Can communication complexity theory provide tighter and more general bounds than previous approaches for MPNN expressivity?
- RQ5Does the required capacity grow linearly or quadratically with the number of nodes, and does this hold under average-case input distributions?
Key findings
- MPNNs require communication capacity growing linearly with the number of nodes to distinguish trees, with bounds valid for both worst-case and average-case inputs.
- For general connected graphs, MPNN capacity must grow quadratically with the number of nodes to ensure isomorphism distinction.
- The derived bounds are up to two orders of magnitude tighter than those from simpler arguments, such as depth-width product analysis.
- Empirical results show strong alignment between theoretical communication capacity predictions and actual test accuracy across 12 graph classification tasks and 420 trained networks.
- The framework applies universally to MPNNs with or without unique node features, global states, and adaptive architectures.
- The analysis reveals that capacity requirements are not only necessary in the worst case but also hold with high probability under natural input distributions.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.