paper-with-me

홈 › Papers

On the Correspondence Between Monotonic Max-Sum GNNs and Datalog

2023-05-29 · David Tena Cucala, Bernardo Cuenca Grau, Boris Motik, Egor V. Kostylev

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.

📄 PDF Abstract BibTeX arXiv:2305.18015

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Logical Expressivity and Explanations for Monotonic GNNs with Scoring Functions

2025-08-14 · Matthew Morris, David J. Tena Cucala, Bernardo Cuenca Grau arxiv

Graph neural networks (GNNs) are often used for the task of link prediction: predicting missing binary facts in knowledge graphs (KGs). To address the lack of explainability of GNNs on KGs, recent works extract Datalog r…

Knowledge GraphsLink Prediction

Explainable GNN-Based Models over Knowledge Graphs

2021-09-29 · ICLR 2022 4 · David Jaime Tena Cucala, Bernardo Cuenca Grau, Egor V. Kostylev, Boris Motik

Graph Neural Networks (GNNs) are often used to realise learnable transformations of graph data. While effective in practice, GNNs make predictions via numeric manipulations in an embedding space, so their output cannot b…

Knowledge Graph CompletionKnowledge Graphs

Relational Graph Convolutional Networks Do Not Learn Sound Rules

2024-08-14 · KR 2024 11 · Matthew Morris, David J. Tena Cucala, Bernardo Cuenca Grau, Ian Horrocks

Graph neural networks (GNNs) are frequently used to predict missing facts in knowledge graphs (KGs). Motivated by the lack of explainability for the outputs of these models, recent work has aimed to explain their predict…

Knowledge Graphs

Polynomial Rewritings from Expressive Description Logics with Closed Predicates to Variants of Datalog

2019-12-16 · Shqiponja Ahmetaj, Magdalena Ortiz, Mantas Simkus

In many scenarios, complete and incomplete information coexist. For this reason, the knowledge representation and database communities have long shown interest in simultaneously supporting the closed- and the open-world …

Negation

On the Relationship between Shy and Warded Datalog+/-

2022-02-13 · Teodoro Baldazzi, Luigi Bellomarini, Marco Favorito, Emanuel Sallinger

Datalog^E is the extension of Datalog with existential quantification. While its high expressive power, underpinned by a simple syntax and the support for full recursion, renders it particularly suitable for modern appli…

Knowledge Graphs