Recurrent Graph Neural Networks and Their Connections to Bisimulation and Logic
Maximilian Pflueger, David Tena Cucala, Egor V. Kostylev
Abstract
The success of Graph Neural Networks (GNNs) in practice has motivated extensive research on their theoretical properties. This includes recent results that characterise node classifiers expressible by GNNs in terms of first order logic. Most of the analysis, however, has been focused on GNNs with fixed number of message-passing iterations (i.e., layers), which cannot realise many simple classifiers such as reachability of a node with a given label. In this paper, we start to fill this gap and study the foundations of GNNs that can perform more than a fixed number of message-passing iterations. We first formalise two generalisations of the basic GNNs: recurrent GNNs (RecGNNs), which repeatedly apply message-passing iterations until the node classifications become stable, and graph-size GNNs (GSGNNs), which exploit a built-in function of the input graph size to decide the number of message-passings. We then formally prove that GNN classifiers are strictly less expressive than RecGNN ones, and RecGNN classifiers are strictly less expressive than GSGNN ones. To get this result, we identify novel semantic characterisations of the three formalisms in terms of suitable variants of bisimulation, which we believe have their own value for our understanding of GNNs. Finally, we prove syntactic logical characterisations of RecGNNs and GSGNNs analogous to the logical characterisation of plain GNNs, where we connect the two formalisms to monadic monotone fixpoint logic-a generalisation of first-order logic that supports recursion.
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 644d78ba-b182-4cff-8a24-97161d92c364Cited by top-tier papers7
- Logical characterizations of recurrent graph neural networks with reals and floatsVeeti Ahvonen, Damian Heiman, Antti Kuusisto, Carsten LutzNeurIPS 2024 · 19 citations
- Graph Neural Networks and Arithmetic CircuitsTimon Barlag, Vivian Holzapfel, Laura Strieker, Jonni Virtema et al.NeurIPS 2024 · 7 citations
- The Descriptive Complexity of Graph Neural NetworksMartin GroheLICS 2023 · 7 citations
- The Correspondence Between Bounded Graph Neural Networks and Fragments of First-Order LogicBernardo Cuenca Grau, Eva Feng, Przemyslaw Andrzej WalegaAAAI 2026 · 4 citations
- Sound Logical Explanations for Mean Aggregation Graph Neural NetworksMatthew Morris, Ian HorrocksNeurIPS 2025 · 3 citations
Builds on4
- What graph neural networks cannot learn: depth vs widthAndreas LoukasICLR 2020 · 336 citations
- Explainable GNN-Based Models over Knowledge GraphsDavid Jaime Tena Cucala, Bernardo Cuenca Grau, Egor V. Kostylev, Boris MotikICLR 2022 · 36 citations
- The Logical Expressiveness of Graph Neural NetworksPablo Barceló, Egor V. Kostylev, Mikaël Monet, Jorge Pérez et al.ICLR 2020 · 17 citations
- The Descriptive Complexity of Graph Neural NetworksMartin GroheLICS 2023 · 7 citations
Related papers
- Are Targeted Messages More Effective?Martin Grohe, Eran RosenbluthLICS 2024
- The Logical Expressiveness of Temporal GNNs via Two-Dimensional Product LogicsMarco Sälzer, Przemyslaw Andrzej Walega, Martin LangeNeurIPS 2025 · 3 citations
- Logical Characterizations of GNNs with Mean AggregationMoritz Schönherr, Carsten LutzAAAI 2026 · 7 citations
- Is uniform expressivity too restrictive? Towards efficient expressivity of GNNsSammy Khalife, Josué Tonelli-CuetoICLR 2025
- Aggregate-Combine-Readout GNNs Can Express Logical Classifiers Beyond the Logic C2Stan P. Hauke, Przemyslaw Andrzej WalegaAAAI 2026 · 3 citations
