Repetition Makes Perfect: Recurrent Graph Neural Networks Match Message Passing Limit
Abstract
We precisely characterize the expressivity of computable Recurrent Graph Neural Networks (recurrent GNNs). We prove that recurrent GNNs with finite-precision parameters, sum aggregation, and ReLU activation, can compute any graph algorithm that respects the natural message-passing invariance induced by the Color Refinement (or Weisfeiler-Leman) algorithm. While it is well known that the expressive power of GNNs is limited by this invariance [Morris et al., AAAI 2019; Xu et al., ICLR 2019], we establish that recurrent GNNs can actually match this limit. This is in contrast to non-recurrent GNNs, which have the power of Weisfeiler-Leman only in a very weak, "non-uniform", sense where each graph size requires a different GNN to compute with. Our construction introduces only a polynomial overhead in both time and space. Furthermore, we show that by incorporating random initialization, for connected graphs recurrent GNNs can express all graph algorithms. In particular, any polynomial-time graph algorithm can be emulated on connected graphs in polynomial time by a recurrent GNN with random initialization.
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.
Lineage
- On dimensionality of feature vectors in MPNNs cites Exponentially Improving the Complexity of Simulating the Weisfeiler-Lehman Test with Graph Neural Networks
- Logical characterizations of recurrent graph neural networks with reals and floats cites The Descriptive Complexity of Graph Neural Networks
- Logical characterizations of recurrent graph neural networks with reals and floats cites The Logical Expressiveness of Graph Neural Networks
- The Descriptive Complexity of Graph Neural Networks cites Exponentially Improving the Complexity of Simulating the Weisfeiler-Lehman Test with Graph Neural Networks
- The Descriptive Complexity of Graph Neural Networks cites The Logical Expressiveness of Graph Neural Networks
- Exponentially Improving the Complexity of Simulating the Weisfeiler-Lehman Test with Graph Neural Networks cites The Logical Expressiveness of Graph Neural Networks
Builds on6
- Exponentially Improving the Complexity of Simulating the Weisfeiler-Lehman Test with Graph Neural NetworksAnders Aamand, Justin Y. Chen, Piotr Indyk, Shyam Narayanan et al.NeurIPS 2022 · 27 citations
- Logical characterizations of recurrent graph neural networks with reals and floatsVeeti Ahvonen, Damian Heiman, Antti Kuusisto, Carsten LutzNeurIPS 2024 · 19 citations
- The Logical Expressiveness of Graph Neural NetworksPablo Barceló, Egor V. Kostylev, Mikaël Monet, Jorge Pérez et al.ICLR 2020 · 17 citations
- On dimensionality of feature vectors in MPNNsCésar Bravo, Alexander Kozachinskiy, Cristobal RojasICML 2024 · 8 citations
- The Descriptive Complexity of Graph Neural NetworksMartin GroheLICS 2023 · 7 citations
Related papers
- Expressive Power of Temporal Message PassingPrzemyslaw Andrzej Walega, Michael RawsonAAAI 2025 · 5 citations
- On Local Limits of Sparse Random Graphs: Color Convergence and the Refined Configuration ModelAlexander Pluska, Sagar MalhotraNeurIPS 2025
- Let's Agree to Degree: Comparing Graph Convolutional Networks in the Message-Passing FrameworkFloris Geerts, Filip Mazowiecki, Guillermo A. PérezICML 2021 · 42 citations
- Equivariant Polynomials for Graph Neural NetworksOmri Puny, Derek Lim, Bobak Toussi Kiani, Haggai Maron et al.ICML 2023 · 41 citations
- Path Neural Networks: Expressive and Accurate Graph Neural NetworksGaspard Michel, Giannis Nikolentzos, Johannes F. Lutzeyer, Michalis VazirgiannisICML 2023 · 45 citations
