🤖 AI Summary
Formal verification of Graph Neural Networks (GNNs) remains challenging due to the lack of expressive yet decidable logical frameworks that precisely capture their structural aggregation and message-passing semantics.
Method: This paper establishes theoretical connections between GNNs, the Weisfeiler–Lehman test, and first-order logic, and introduces Counting Modal Logic (CML)—a novel modal logic featuring counting modalities constrained by linear inequalities. CML is built upon the quantifier-free fragment of Boolean algebra combined with Presburger arithmetic, ensuring both expressiveness and decidability. A tableau-based satisfiability checking algorithm is designed and implemented, proven to be PSPACE-complete.
Contribution/Results: This work provides the first compact, computationally tractable logical foundation for GNN verification. By faithfully encoding node-level neighborhood aggregation and relational updates, CML enables rigorous, automated formal reasoning about GNN behaviors—significantly advancing the practical applicability of formal verification in deep learning.
📝 Abstract
In these lecture notes, we first recall the connection between graph neural networks, Weisfeiler-Lehman tests and logics such as first-order logic and graded modal logic. We then present a modal logic in which counting modalities appear in linear inequalities in order to solve verification tasks on graph neural networks. We describe an algorithm for the satisfiability problem of that logic. It is inspired from the tableau method of vanilla modal logic, extended with reasoning in quantifier-free fragment Boolean algebra with Presburger arithmetic.