[Paper Review] How does over-squashing affect the power of GNNs?
This paper introduces a novel quantitative measure of over-squashing in Message Passing Neural Networks (MPNNs) by analyzing feature mixing between node pairs, linking it to graph topology via commute times. It proves that high commute times between nodes necessitate impractically deep or wide MPNNs to achieve sufficient feature interaction, establishing fundamental limits on MPNN expressivity for long-range tasks.
Graph Neural Networks (GNNs) are the state-of-the-art model for machine learning on graph-structured data. The most popular class of GNNs operate by exchanging information between adjacent nodes, and are known as Message Passing Neural Networks (MPNNs). Given their widespread use, understanding the expressive power of MPNNs is a key question. However, existing results typically consider settings with uninformative node features. In this paper, we provide a rigorous analysis to determine which function classes of node features can be learned by an MPNN of a given capacity. We do so by measuring the level of pairwise interactions between nodes that MPNNs allow for. This measure provides a novel quantitative characterization of the so-called over-squashing effect, which is observed to occur when a large volume of messages is aggregated into fixed-size vectors. Using our measure, we prove that, to guarantee sufficient communication between pairs of nodes, the capacity of the MPNN must be large enough, depending on properties of the input graph structure, such as commute times. For many relevant scenarios, our analysis results in impossibility statements in practice, showing that over-squashing hinders the expressive power of MPNNs. We validate our theoretical findings through extensive controlled experiments and ablation studies.
Motivation & Objective
- To understand how over-squashing limits the expressive power of MPNNs in learning functions involving long-range node interactions.
- To develop a quantitative measure of over-squashing that captures the extent of feature mixing between node pairs in MPNNs.
- To establish theoretical impossibility results for MPNNs of practical capacity when learning functions dependent on high-mixing features of nodes with large commute times.
- To extend the analysis to geometric graphs and equivariant MPNNs on point clouds, showing the theory applies beyond standard graphs.
- To validate the theory through controlled experiments measuring training error and over-squashing metrics across diverse MPNN architectures.
Proposed method
- Proposes a measure of feature mixing between node pairs, defined as the magnitude of interaction induced by an MPNN’s message-passing dynamics.
- Uses the MPNN’s Jacobian and spectral properties to relate feature mixing to the graph’s commute time between nodes.
- Derives lower bounds on MPNN depth and capacity required to achieve sufficient mixing between node pairs with high commute times.
- Introduces a normalized over-squashing measure, $\widetilde{\mathsf{OSQ}}$, to quantify the degree of information loss due to over-squashing.
- Employs the Moore-Penrose inverse of a modified Laplacian matrix to compute effective resistance and commute times efficiently.
- Validates theoretical predictions via ablation studies on synthetic ZINC datasets, measuring training MAE and $\widetilde{\mathsf{OSQ}}$ across GCN, GIN, GraphSAGE, and GatedGCN models.
Experimental results
Research questions
- RQ1How does over-squashing limit the ability of MPNNs to learn functions that require strong feature interaction between distant nodes?
- RQ2Can we quantify over-squashing in terms of the underlying graph topology, particularly commute times between node pairs?
- RQ3What is the minimum MPNN depth or capacity required to achieve sufficient mixing for node pairs with high commute times?
- RQ4Does the proposed over-squashing measure correlate with model performance on long-range tasks in practice?
- RQ5How does the theory extend to geometric graphs and equivariant MPNNs on point clouds?
Key findings
- MPNNs with bounded capacity cannot learn node-level functions that require high first- or second-order mixing of features from node pairs with large commute times.
- The required number of layers $m$ grows at least as $\frac{\tau(v,u)}{4c_2}$, where $\tau(v,u)$ is the commute time between nodes $v$ and $u$, showing a direct dependence on graph topology.
- Empirical results show that training MAE increases with higher commute time quantiles and decreases with more layers, confirming the theoretical trade-off.
- The over-squashing measure $\widetilde{\mathsf{OSQ}}$ increases with higher commute time quantiles and decreases with increasing MPNN depth, validating the theoretical predictions.
- The analysis holds for geometric graphs and extends to equivariant MPNNs on point clouds, demonstrating broad applicability beyond standard graphs.
- The study reveals fundamental limitations: for many real-world graphs with high-diameter or bottleneck structures, MPNNs of practical size cannot achieve sufficient feature mixing for long-range tasks.
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.