Skip to main content
QUICK REVIEW

[Paper Review] What graph neural networks cannot learn: depth vs width

Andreas Loukas|arXiv (Cornell University)|Jul 6, 2019
Advanced Graph Neural NetworksComputer Science54 references23 citations
TL;DR

This paper establishes that message-passing graph neural networks (GNNs) are Turing universal under sufficient depth, width, node attribute expressiveness, and layer capacity, but cannot solve fundamental graph problems—such as cycle detection, shortest path, or minimum vertex cover—unless the product of depth and width exceeds polynomial bounds in graph size. The key contribution is a novel lower-bound technique repurposing distributed computing results to prove that GNNs lose significant expressive power when depth and width are restricted.

ABSTRACT

This paper studies the expressive power of graph neural networks falling within the message-passing framework (GNNmp). Two results are presented. First, GNNmp are shown to be Turing universal under sufficient conditions on their depth, width, node attributes, and layer expressiveness. Second, it is discovered that GNNmp can lose a significant portion of their power when their depth and width is restricted. The proposed impossibility statements stem from a new technique that enables the repurposing of seminal results from distributed computing and leads to lower bounds for an array of decision, optimization, and estimation problems involving graphs. Strikingly, several of these problems are deemed impossible unless the product of a GNNmp's depth and width exceeds a polynomial of the graph size; this dependence remains significant even for tasks that appear simple or when considering approximation.

Motivation & Objective

  • To determine the theoretical limits of message-passing GNNs in learning complex graph-theoretic functions.
  • To identify conditions under which GNNs achieve Turing universality, enabling computation of any computable function on graphs.
  • To analyze how restricting depth and width affects GNNs' ability to solve decision, optimization, and estimation problems on graphs.
  • To establish lower bounds on the necessary depth-width product (dw) for solving various graph problems, showing that even simple tasks require super-constant capacity.
  • To investigate the role of node attributes in enabling or hindering GNN expressivity, particularly in distinguishing nodes and generalizing across graphs.

Proposed method

  • Repurposes seminal results from distributed computing, particularly the LOCAL model, to derive lower bounds on GNN capacity.
  • Establishes equivalence between GNNs and the LOCAL model under sufficient conditions, proving Turing universality when depth, width, node uniqueness, and layer expressiveness are adequate.
  • Derives impossibility results by analyzing the radius of information propagation in GNNs, linking it to distributed computing lower bounds.
  • Uses a novel technique to translate lower bounds from distributed algorithms into constraints on GNN depth and width for solving specific graph problems.
  • Empirically validates theoretical predictions using controlled experiments on 4-cycle classification, varying depth, width, and node attribute types.
  • Normalizes depth and width by critical capacity to reveal a phase transition in test accuracy, indicating exchangeability between depth and width when capacity is sufficient.

Experimental results

Research questions

  • RQ1Under what conditions can message-passing GNNs compute any function computable by a Turing machine?
  • RQ2What is the minimum depth-width product (dw) required for a GNN to solve fundamental graph problems such as cycle detection or shortest path?
  • RQ3How does the use of discriminative node attributes—such as unique IDs—impact a GNN’s ability to generalize across graphs and solve otherwise impossible tasks?
  • RQ4Is there a phase transition in GNN performance when the depth-width product crosses a critical threshold, and is this threshold independent of the individual depth and width values?
  • RQ5To what extent can depth and width be exchanged in GNN design without affecting performance, given a fixed capacity (dw)?

Key findings

  • GNNs are Turing universal if they have sufficient depth, width, node attribute expressiveness, and layer capacity, enabling them to compute any computable function on graphs.
  • For cycle detection in odd-length cycles, a depth-width product of $ dw = \tilde{\Omega}(n / \log n) $ is necessary, indicating a strong dependence on graph size.
  • For problems like minimum vertex cover and maximum independent set, $ dw = \tilde{\Omega}(n^2 / \log^2 n) $ is required when width is constant, showing a significant capacity bottleneck.
  • Even for approximation tasks such as $ \frac{3}{2} $-approximation of the diameter, $ dw = \tilde{\Omega}(\sqrt{n} / \log n) $ is necessary, highlighting that approximation does not reduce the required capacity.
  • Empirical results confirm that test accuracy correlates strongly with $ dw $, with a sharp phase transition above the critical capacity threshold, and networks with $ dw < \text{critical} $ fail regardless of depth or width distribution.
  • GNNs with unique node IDs achieve 100% test accuracy on 4-cycle classification for $ n \leq 16 $, but accuracy drops below 80% for $ n = 40 $, even with the most powerful architectures, confirming theoretical limits.

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.