On the Correspondence Between Monotonic Max-Sum GNNs and Datalog
David Tena Cucala, Bernardo Cuenca Grau, Boris Motik, Egor V. Kostylev

TL;DR
This paper establishes a formal correspondence between monotonic max-sum GNNs and Datalog programs, clarifying the expressivity of these neural networks and their relation to logical rule-based systems.
Contribution
It demonstrates that monotonic max-sum GNNs can be exactly characterized by Datalog programs, revealing their expressive limits and equivalence to rule-based reasoning.
Findings
Monotonic max-sum GNNs correspond to single-round Datalog programs.
Unbounded summation in GNNs does not increase expressivity.
Max-only GNNs relate to a specific class of Datalog programs.
Abstract
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…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAdvanced Graph Neural Networks · Explainable Artificial Intelligence (XAI) · Machine Learning and Data Classification
