Repetition Makes Perfect: Recurrent Graph Neural Networks Match Message Passing Limit
Eran Rosenbluth, Martin Grohe
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 about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 8244fd60-bafa-4f0d-a110-8853a812928eBuilds 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
