A Logic for Reasoning About Aggregate-Combine Graph Neural Networks

Pierre Nunn, Marco Sälzer, François Schwarzentruber, Nicolas Troquard
4/30/2024
cs.AIcs.LGcs.LO

No confident code implementation found for this paper. 1 possible match can be shown below.

Abstract

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.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 1 weaker match is hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{nunn2024logic,
  title  = {A Logic for Reasoning About Aggregate-Combine Graph Neural Networks},
  author = {Pierre Nunn and Marco Sälzer and François Schwarzentruber and Nicolas Troquard},
  year   = {2024},
  eprint = {2405.00205},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2405.00205v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2405.00205.svg)](https://codeofpaper.com/paper/2405.00205)

Discussion