On the Correspondence Between Monotonic Max-Sum GNNs and Datalog
Not on the map. Why?
Abstract (arXiv)
Although there has been significant interest in applying machine learning techniques to structured data, the expressivity (i.e., a description of what can be learned) of such techniques is still poorly understood. In this paper, we study data transformations based on graph neural networks (GNNs). First, we note that the choice of how a dataset is encoded into a numeric form processable by a GNN can obscure the characterisation of a model's expressivity, and we argue that a canonical encoding provides an appropriate basis. Second, we study the expressivity of monotonic max-sum GNNs, which cover a subclass of GNNs with max and sum aggregation functions. We show that, for each such GNN, one can compute a Datalog program such that applying the GNN to any dataset produces the same facts as a single round of application of the program's rules to the dataset. Monotonic max-sum GNNs can sum an unbounded number of feature vectors which can result in arbitrarily large feature values, whereas rule application requires only a bounded number of constants. Hence, our result shows that the unbounded summation of monotonic max-sum GNNs does not increase their expressive power. Third, we sharpen our result to the subclass of monotonic max GNNs, which use only the max aggregation function, and identify a corresponding class of Datalog programs.
Key facts. Cited by 12 papers in the map (data through 7 Oct 2026). Builds on 13 of its 29 references that are in the map. First posted on arXiv 29 May 2023.
Builds on
13 of 29 references.
References · 13
- 2016Semi-Supervised Classification with Graph Convolutional Networkscited by 11,282
- 2017Modeling Relational Data with Graph Convolutional Networkscited by 1,684
- 2016Revisiting Semi-Supervised Learning with Graph Embeddingscited by 970
- 2018Weisfeiler and Leman Go Neural: Higher-order Graph Neural Networkscited by 878
- 2018Link Prediction Based on Graph Neural Networkscited by 829
- 2019Inductive Relation Prediction by Subgraph Reasoningcited by 237
- 2019DRUM: End-To-End Differentiable Rule Mining On Knowledge Graphscited by 173
- 2017End-to-End Differentiable Provingcited by 159
- 2019GMNN: Graph Markov Neural Networkscited by 82
- 2023A Theory of Link Prediction via Relational Weisfeiler-Leman on Knowledge Graphscited by 32
- 2018Logical Rule Induction and Theory Learning Using Neural Theorem Provingcited by 13
- 2018A Recurrent Graph Neural Network for Multi-Relational Datacited by 13
1 more
Built on by
Citing papers per year: 2024: 4; 2025: 5; 2026: 3.
12 papers.
- 2024Logical Characterizations of Recurrent Graph Neural Networks with Reals and Floatscited by 13
- 2024A Logic for Reasoning About Aggregate-Combine Graph Neural Networkscited by 9
- 2025Logical Characterizations of GNNs with Mean Aggregationcited by 6
- 2025The Correspondence Between Bounded Graph Neural Networks and Fragments of First-Order Logiccited by 5
- 2024Graph Neural Networks and Arithmetic Circuitscited by 3
- 2024Relational Graph Convolutional Networks Do Not Learn Sound Rulescited by 2
- 2025The Logical Expressiveness of Temporal GNNs via Two-Dimensional Product Logicscited by 2
- 2025Sound Logical Explanations for Mean Aggregation Graph Neural Networkscited by 1
- 2025Logical Expressivity and Explanations for Monotonic GNNs with Scoring Functionscited by 0
- 2026Unifying approach to uniform expressivity of graph neural networkscited by 0
- 2026Towards Understanding the Expressive Power of GNNs with Global Readoutcited by 0
- 2026Structural Preservation and the Logical Expressiveness of Graph Neural Networkscited by 0
- 2026Structural Preservation and the Logical Expressiveness of Graph Neural Networks16 Jun 2026
- 2026Towards Understanding the Expressive Power of GNNs with Global Readout23 Apr 2026
- 2026Unifying approach to uniform expressivity of graph neural networks20 Feb 2026
- 2025Sound Logical Explanations for Mean Aggregation Graph Neural Networks27 Oct 2025
- 2025Logical Expressivity and Explanations for Monotonic GNNs with Scoring Functions14 Aug 2025
- 2025Logical Characterizations of GNNs with Mean Aggregation24 Jul 2025
- 2025The Logical Expressiveness of Temporal GNNs via Two-Dimensional Product Logics17 May 2025
- 2025The Correspondence Between Bounded Graph Neural Networks and Fragments of First-Order Logic12 May 2025
- 2024Relational Graph Convolutional Networks Do Not Learn Sound Rules14 Aug 2024
- 2024Logical Characterizations of Recurrent Graph Neural Networks with Reals and Floats23 May 2024
- 2024A Logic for Reasoning About Aggregate-Combine Graph Neural Networks30 Apr 2024
- 2024Graph Neural Networks and Arithmetic Circuits27 Feb 2024