The Polynomial Counting Capabilities of Message Passing Neural Networks
Not on the map. Why?
Abstract (arXiv)
The counting power of Message Passing Neural Networks (MPNN) has been the subject of many recent papers, showing that they can express logic that involves counting up to a threshold or more generally satisfy a linear arithmetic constraint. In this paper, we study the counting capabilities of MPNN beyond linear arithmetic, primarily utilising local and global mean aggregations. In particular, our goal is to tease out conditions required to express extensions of graded modal logic with polynomial counting constraints. We show that global polynomial counting constraints in node-labelled graphs can be checked using mean MPNN under mild assumptions. Checking local constraints is also possible, if we consider formulas with no nested modalities and additionally either (i) permit sum/max aggregations, or (ii) only restrict to regular graphs. We also show how formulas with nested modalities can be captured by mean MPNN over graphs with tree-like structures and similar assumptions.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 13 of its 24 references that are in the map. First posted on arXiv 11 May 2026.
Builds on
13 of 24 references.
References · 13
- 2017Graph Attention Networkscited by 8,923
- 2017Neural Message Passing for Quantum Chemistrycited by 3,487
- 2018Graph Neural Networks: A Review of Methods and Applicationscited by 1,576
- 2020Graph Neural Networks in Recommender Systems: A Surveycited by 494
- 2018Neural Relational Inference for Interacting Systemscited by 339
- 2019A Survey on Graph Kernelscited by 148
- 2021The Logic of Graph Neural Networkscited by 85
- 2020Molecular graph generation with Graph Neural Networkscited by 80
- 2023Tighter Bounds on the Expressivity of Transformer Encoderscited by 66
- 2023Logical Languages Accepted by Transformer Encoders with Hard Attentioncited by 38
- 2023Some Might Say All You Need Is Sumcited by 21
- 2024Logical Characterizations of Recurrent Graph Neural Networks with Reals and Floatscited by 13
1 more
- 2025Logical Characterizations of GNNs with Mean Aggregationcited by 6
Built on by
Not cited yet.