Lune

NeurIPS2024Top-tier venue

What do Graph Neural Networks learn? Insights from Tropical Geometry

Tuan Anh Pham, Vikas Garg

Abstract

Graph neural networks (GNNs) have been analyzed from multiple perspectives, including the WL-hierarchy, which exposes limits on their expressivity to distinguish graphs. However, characterizing the class of functions that they learn has remained unresolved. We address this fundamental question for message passing GNNs under ReLU activations, i.e., the de-facto choice for most GNNs. We first show that such GNNs learn tropical rational signomial maps or continuous piecewise linear functions, establishing an equivalence with feedforward networks (FNNs). We then elucidate the role of the choice of aggregation and update functions, and derive the first general upper and lower bounds on the geometric complexity (i.e., the number of linear regions), establishing new results for popular architectures such as GraphSAGE and GIN. We also introduce and theoretically analyze several new architectures to illuminate the relative merits of the feedforward and the message passing layers, and the tradeoffs involving depth and number of trainable parameters. Finally, we also characterize the decision boundary for node and graph classification tasks.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

1 top-tier paper has cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Graph Neural Networks with Learnable Structural and Positional Representations cites Rethinking Graph Transformers with Spectral Attention
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers1

  1. UltraLIF: Fully Differentiable Spiking Neural Networks via Ultradiscretization and Max-Plus AlgebraJose Marie Antonio MiñozaICML 2026

Builds on39

  1. Rethinking Graph Transformers with Spectral AttentionDevin Kreuzer, Dominique Beaini, William L. Hamilton, Vincent Létourneau et al.NeurIPS 2021 · 854 citations
  2. GemNet: Universal Directional Graph Neural Networks for MoleculesJohannes Gasteiger, Florian Becker, Stephan GünnemannNeurIPS 2021 · 665 citations
  3. Understanding over-squashing and bottlenecks on graphs via curvatureJake Topping, Francesco Di Giovanni, Benjamin Paul Chamberlain, Xiaowen Dong et al.ICLR 2022 · 628 citations
  4. Graph Neural Networks with Learnable Structural and Positional RepresentationsVijay Prakash Dwivedi, Anh Tuan Luu, Thomas Laurent, Yoshua Bengio et al.ICLR 2022 · 464 citations
  5. Can Graph Neural Networks Count Substructures?Zhengdao Chen, Lei Chen, Soledad Villar, Joan BrunaNeurIPS 2020 · 392 citations

Related papers

  1. Graph Neural Networks and Arithmetic CircuitsTimon Barlag, Vivian Holzapfel, Laura Strieker, Jonni Virtema et al.NeurIPS 2024 · 7 citations
  2. Minimax Sample Complexity of Graph Neural Networks: Lower Bounds and Structural EffectsAhmad Ghasemi, Hossein Pishro-NikICLR 2026
  3. Training One-Dimensional Graph Neural Networks is NP-HardRobert Ganian, Mathis Rocton, Simon WiethegerICLR 2025
  4. Let's Agree to Degree: Comparing Graph Convolutional Networks in the Message-Passing FrameworkFloris Geerts, Filip Mazowiecki, Guillermo A. PérezICML 2021 · 42 citations
  5. Towards Lower Bounds on the Depth of ReLU Neural NetworksChristoph Hertrich, Amitabh Basu, Marco Di Summa, Martin SkutellaNeurIPS 2021 · 70 citations
Dusk over the sea between two cliffs drawn in fine vertical lines