A Logic for Reasoning about Aggregate-Combine Graph Neural Networks

A Logic for Reasoning about Aggregate-Combine Graph Neural Networks

Pierre Nunn, Marco Sälzer, François Schwarzentruber, Nicolas Troquard

Proceedings of the Thirty-Third International Joint Conference on Artificial Intelligence
Main Track. Pages 3532-3540. https://doi.org/10.24963/ijcai.2024/391

We propose a modal logic in which counting modalities appear in linear inequalities. We show that each formula can be transformed into an equivalent graph neural network (GNN). We also show that a broad class of GNNs can be transformed efficiently into a formula, thus significantly improving upon the literature about the logical expressiveness of GNNs. We also show that the satisfiability problem is PSPACE-complete. These results bring together the promise of using standard logical methods for reasoning about GNNs and their properties, particularly in applications such as GNN querying, equivalence checking, etc. We prove that such natural problems can be solved in polynomial space.
Keywords:
Knowledge Representation and Reasoning: KRR: Learning and reasoning
Machine Learning: ML: Explainable/Interpretable machine learning
Machine Learning: ML: Learning theory