[Paper Review] Decidability of Graph Neural Networks via Logical Characterizations
This paper establishes logical characterizations of graph neural networks (GNNs) using decidable logics with Presburger quantifiers, enabling exact expressiveness comparisons and decidability of verification problems. It proves that GNNs with bounded activation functions—like truncated ReLU—can be precisely characterized by these logics, yielding PSPACE-complete verification complexity, while ReLU-based GNNs show undecidability for certain verification tasks.
We present results concerning the expressiveness and decidability of a popular graph learning formalism, graph neural networks (GNNs), exploiting connections with logic. We use a family of recently-discovered decidable logics involving "Presburger quantifiers". We show how to use these logics to measure the expressiveness of classes of GNNs, in some cases getting exact correspondences between the expressiveness of logics and GNNs. We also employ the logics, and the techniques used to analyze them, to obtain decision procedures for verification problems over GNNs. We complement this with undecidability results for static analysis problems involving the logics, as well as for GNN verification problems.
Motivation & Objective
- To provide a uniform logical characterization of GNNs beyond first-order logic, capturing all computable functions.
- To establish decidability of verification problems for GNNs with bounded activation functions using decidable Presburger logics.
- To extend results from undirected to directed graphs, showing logical characterizations remain robust under directionality.
- To analyze the impact of activation functions—particularly bounded (e.g., truncated ReLU) vs. unbounded (e.g., ReLU)—on expressiveness and decidability.
- To identify open problems in logical characterization and verification complexity for GNNs with unbounded features and general activation functions.
Proposed method
- Use of a family of decidable logics with Presburger quantifiers to characterize the expressiveness of GNNs.
- Construction of a GNN architecture that simulates the evaluation of formulas in these logics, using feature vectors and aggregation functions.
- Design of a tree-based structure T(t,a) to simulate formula evaluation inductively by star height, with feature vectors encoding truth values and intermediate results.
- Reduction of GNN verification problems to satisfiability problems in the underlying logic, leveraging decidability of the logic for verification.
- Application of proof techniques from logic—such as induction on star height and component-wise feature tracking—to analyze GNN behavior.
- Use of automata-theoretic and algebraic techniques (e.g., semi-linear sets) to model feature propagation and activation behavior in GNNs with unbounded values.
Experimental results
Research questions
- RQ1Can the full class of functions computable by GNNs with bounded activation functions be exactly characterized using decidable logics?
- RQ2What is the verification complexity of GNNs with local aggregation and truncated ReLU activations, and is it decidable?
- RQ3How do the expressiveness and decidability properties of GNNs change when moving from bounded to unbounded activation functions like ReLU?
- RQ4To what extent do logical characterizations and decidability results for GNNs depend on graph directionality or undirectedness?
- RQ5Can the techniques used for bounded GNNs be extended to GNNs with unbounded integer features, and what are the resulting complexity and decidability trade-offs?
Key findings
- GNNs with truncated ReLU activations and local aggregation are characterized by a decidable logic with Presburger quantifiers, enabling exact expressiveness analysis.
- The satisfiability problem for GNNs with truncated ReLU and local aggregation is PSPACE-complete, and NP-complete when the number of layers is fixed.
- Verification problems for GNNs with ReLU activations are undecidable in general, even for simple classification tasks.
- The logical characterization approach remains valid for directed graphs, and results extend to undirected graphs via structural equivalence.
- A logic containing formulas expressible by ReLU-based GNNs is identified, though an exact characterization remains open.
- Techniques from logic, particularly those for analyzing Presburger logics, can be directly ported to GNN verification, enabling decidability for bounded cases.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.