Logical Characterizations of GNNs with Mean Aggregation
Moritz Schönherr, Carsten Lutz
Abstract
We study the expressive power of graph neural networks (GNNs) with mean as the aggregation function, with the following results. In the non-uniform setting, such GNNs have exactly the same expressive power as ratio modal logic, which has modal operators expressing that at least a certain ratio of the successors of a vertex satisfies a specified property. In the uniform setting, the expressive power relative to MSO is exactly that of modal logic, and thus identical to the (absolute) expressive power of GNNs with max aggregation. The proof, however, depends on constructions that are not satisfactory from a practical perspective. This leads us to making the natural assumptions that combination functions are continuous and classification functions are thresholds. The resulting class of GNNs with mean aggregation turns out to be much less expressive: relative to MSO and in the uniform setting, it has the same expressive power as alternation-free modal logic. This is in contrast to the expressive power of GNNs with max and sum aggregation, which is not affected by these assumptions.
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.
4 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Logical Expressiveness of Graph Neural Networks with Hierarchical Node Individualization cites The Descriptive Complexity of Graph Neural Networks
- Logical Expressiveness of Graph Neural Networks with Hierarchical Node Individualization cites The Logical Expressiveness of Graph Neural Networks
- Expressive Power of Graph Transformers via Logic cites Logical characterizations of recurrent graph neural networks with reals and floats
- Expressive Power of Graph Transformers via Logic cites The Descriptive Complexity of Graph Neural Networks
- Expressive Power of Graph Transformers via Logic cites The Logical Expressiveness of 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 The Logical Expressiveness of Graph Neural Networks
- Sound Logical Explanations for Mean Aggregation Graph Neural Networks cites Logical characterizations of recurrent graph neural networks with reals and floats
- Sound Logical Explanations for Mean Aggregation Graph Neural Networks cites The Descriptive Complexity of Graph Neural Networks
- Sound Logical Explanations for Mean Aggregation Graph Neural Networks cites The Logical Expressiveness of Graph Neural Networks
- Aggregate-Combine-Readout GNNs Can Express Logical Classifiers Beyond the Logic C2 cites Logical characterizations of recurrent graph neural networks with reals and floats
- Aggregate-Combine-Readout GNNs Can Express Logical Classifiers Beyond the Logic C2 cites The Logical Expressiveness of Graph Neural Networks
Cited by top-tier papers4
- Logical Expressiveness of Graph Neural Networks with Hierarchical Node IndividualizationArie Soeteman, Balder ten CateNeurIPS 2025 · 3 citations
- Sound Logical Explanations for Mean Aggregation Graph Neural NetworksMatthew Morris, Ian HorrocksNeurIPS 2025 · 3 citations
- Aggregate-Combine-Readout GNNs Can Express Logical Classifiers Beyond the Logic C2Stan P. Hauke, Przemyslaw Andrzej WalegaAAAI 2026 · 3 citations
- Expressive Power of Graph Transformers via LogicVeeti Ahvonen, Maurice Funk, Damian Heiman, Antti Kuusisto et al.AAAI 2026
Builds on6
- Graph Neural Network-Based Anomaly Detection in Multivariate Time SeriesAilin Deng, Bryan HooiAAAI 2021 · 1,306 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
- The Descriptive Complexity of Graph Neural NetworksMartin GroheLICS 2023 · 7 citations
- Expressive Power of Graph Transformers via LogicVeeti Ahvonen, Maurice Funk, Damian Heiman, Antti Kuusisto et al.AAAI 2026
Related papers
- Are Targeted Messages More Effective?Martin Grohe, Eran RosenbluthLICS 2024
- Graph Neural Networks and Arithmetic CircuitsTimon Barlag, Vivian Holzapfel, Laura Strieker, Jonni Virtema et al.NeurIPS 2024 · 7 citations
- Almost Surely Asymptotically Constant Graph Neural NetworksSam Adam-Day, Michael Benedikt, Ismail Ilkan Ceylan, Ben FinkelshteinNeurIPS 2024 · 11 citations
- The Correspondence Between Bounded Graph Neural Networks and Fragments of First-Order LogicBernardo Cuenca Grau, Eva Feng, Przemyslaw Andrzej WalegaAAAI 2026 · 4 citations
- Enhancing Logical Expressiveness in Graph Neural Networks via Path-Neighbor AggregationHan Yu, Xiaojuan Zhao, Aiping Li, Kai Chen et al.AAAI 2026
