Verifying Quantized GNNs With Readout Is Decidable But Highly Intractable
Pith reviewed 2026-05-18 08:48 UTC · model grok-4.3
The pith
Verification tasks for quantized graph neural networks with global readout are decidable but (co)NEXPTIME-complete.
A machine-rendered reading of the paper's core claim, the machinery that carries it, and where it could break.
Core claim
The authors provide a logical language for reasoning about quantized ACR-GNNs with global readout, prove that the language gives a faithful characterization of the networks' semantics, and use the characterization to establish that verification tasks for these networks are (co)NEXPTIME-complete.
What carries the argument
A logical language that supplies a complete characterization of the semantics of quantized ACR-GNNs with global readout.
If this is right
- Safety properties of quantized GNNs with readout can be checked algorithmically, yet the check may require exponential resources on worst-case inputs.
- Practical verification of large GNN-based systems will need approximation techniques or restrictions on network size or property language.
- Quantized ACR-GNN models remain attractive for deployment because experiments show they stay accurate and generalize well while using fewer resources.
Where Pith is reading between the lines
- The exponential complexity suggests that statistical or sampling-based verification methods may become necessary for real-world graph sizes.
- Similar logical characterizations could be attempted for other GNN architectures to classify which variants admit feasible verification.
- The result motivates the design of quantization schemes that simultaneously preserve accuracy and reduce the worst-case verification cost.
Load-bearing premise
The introduced logical language correctly and completely captures the semantics of quantized ACR-GNNs with global readout.
What would settle it
A concrete verification problem for a quantized ACR-GNN with readout whose solution lies outside NEXPTIME or coNEXPTIME, or an explicit counter-example showing that the logical language fails to capture some network behavior.
Figures
read the original abstract
We introduce a logical language for reasoning about quantized aggregate-combine graph neural networks with global readout (ACR-GNNs). We provide a logical characterization and use it to prove that verification tasks for quantized GNNs with readout are (co)NEXPTIME-complete. This result implies that the verification of quantized GNNs is computationally intractable, prompting substantial research efforts toward ensuring the safety of GNN-based systems. We also experimentally demonstrate that quantized ACR-GNN models are lightweight while maintaining good accuracy and generalization capabilities with respect to non-quantized models.
Editorial analysis
A structured set of objections, weighed in public.
Referee Report
Summary. The paper introduces a logical language for reasoning about quantized aggregate-combine graph neural networks with global readout (ACR-GNNs). It provides a logical characterization of these models and uses the characterization to prove that verification tasks for quantized GNNs with readout are (co)NEXPTIME-complete. The manuscript also reports experiments showing that quantized ACR-GNN models remain lightweight while preserving accuracy and generalization relative to non-quantized baselines.
Significance. If the logical characterization is faithful to the quantized ACR-GNN semantics, the (co)NEXPTIME-completeness result supplies a tight complexity bound that explains why verification remains intractable even after quantization, motivating further work on approximate or compositional verification techniques for GNN safety. The experimental section supplies supporting evidence that quantization can be applied without catastrophic loss of predictive performance.
major comments (2)
- [§4, Theorem 1] §4 (Logical Characterization), Theorem 1: the equivalence between the logic and quantized ACR-GNNs with readout is stated without an explicit argument that the finite quantization levels and global readout aggregation are encoded without omitting saturation or overflow cases; if any such case is missing, the complexity bounds apply only to the logic rather than the concrete model.
- [§5] §5 (Complexity Proof), reduction for NEXPTIME-hardness: the construction encodes the GNN computation into the logic, but the proof sketch does not bound the number of distinct quantized values that can arise from repeated aggregate-combine steps before readout; without this bound the reduction may produce an exponential blow-up not present in the original GNN.
minor comments (3)
- [§3 and §5] Notation for the readout function is introduced in §3 but reused without redefinition in the complexity section; a single consolidated definition would improve readability.
- [Experimental section] The experimental section reports accuracy on standard benchmarks but does not state the precise quantization bit-widths or the number of quantization levels used; these parameters should be listed in a table.
- [Introduction] A reference to prior decidability results for non-quantized GNNs is missing from the introduction; adding it would clarify the incremental contribution.
Simulated Author's Rebuttal
We thank the referee for the careful and constructive review of our manuscript. We address each major comment below, providing clarifications on the logical characterization and complexity reduction while indicating the revisions we will incorporate to make the arguments fully explicit.
read point-by-point responses
-
Referee: [§4, Theorem 1] §4 (Logical Characterization), Theorem 1: the equivalence between the logic and quantized ACR-GNNs with readout is stated without an explicit argument that the finite quantization levels and global readout aggregation are encoded without omitting saturation or overflow cases; if any such case is missing, the complexity bounds apply only to the logic rather than the concrete model.
Authors: We agree that an explicit discussion of saturation and overflow handling strengthens the presentation. In the semantics of quantized ACR-GNNs, both aggregate and combine functions operate over a fixed finite set of quantization levels; any operation exceeding the representable range saturates to the extremal value (e.g., max or min of the level set). The logical language mirrors this by restricting all terms and predicates to the same finite domain and by defining the readout aggregation as a direct sum (or other fixed aggregator) over node embeddings that already incorporate saturation. The proof of Theorem 1 proceeds by structural induction that preserves these bounded operations at every step. To address the concern directly, we will add a short subsection in §4 that spells out the encoding of saturation/overflow cases and confirms that the equivalence therefore holds for the concrete quantized model rather than an idealized version. revision: yes
-
Referee: [§5] §5 (Complexity Proof), reduction for NEXPTIME-hardness: the construction encodes the GNN computation into the logic, but the proof sketch does not bound the number of distinct quantized values that can arise from repeated aggregate-combine steps before readout; without this bound the reduction may produce an exponential blow-up not present in the original GNN.
Authors: The set of admissible values is fixed once and for all by the chosen quantization scheme (a constant, independent of graph size or depth). Consequently, every aggregate-combine step maps the finite domain into itself; no new distinct values are generated beyond the initial quantization levels. The reduction therefore constructs a formula whose size is polynomial in the size of the GNN parameters, the graph, and the fixed quantization bit-width. We acknowledge that the current sketch leaves this invariance implicit. In the revised version we will insert an explicit lemma stating that the value domain remains constant across layers and that the reduction incurs no exponential blow-up in the number of distinct constants. revision: yes
Circularity Check
No circularity; logical characterization is independent bridge to complexity result
full rationale
The paper introduces a logical language for quantized ACR-GNNs with readout, provides a logical characterization, and reduces verification to a decision problem in that logic to obtain the (co)NEXPTIME-completeness result. This follows the standard pattern of encoding a computational model into a logic and analyzing the logic's complexity; the characterization is presented as a proven equivalence rather than a definitional tautology. No self-definitional steps, fitted inputs renamed as predictions, or load-bearing self-citations appear in the provided abstract or description. The derivation remains self-contained against external benchmarks of complexity theory, with the fidelity of the encoding serving as a correctness assumption rather than a circular reduction.
Axiom & Free-Parameter Ledger
axioms (1)
- standard math Standard axioms and inference rules of first-order logic and the theory of computational complexity classes
Lean theorems connected to this paper
-
IndisputableMonolith/Foundation/RealityFromDistinction.leanreality_from_one_distinction unclear?
unclearRelation between the paper passage and the cited Recognition theorem.
We introduce a logical language for reasoning about quantized aggregate-combine graph neural networks with global readout (ACR-GNNs). We provide a logical characterization and use it to prove that verification tasks for quantized GNNs with readout are (co)NEXPTIME-complete.
-
IndisputableMonolith/Cost/FunctionalEquation.leanwashburn_uniqueness_aczel unclear?
unclearRelation between the paper passage and the cited Recognition theorem.
We introduce a quantized variant of Quantifier-Free Boolean algebra Presburger Arithmetic (QFBAPA) logic, denoted by QFBAPA𝕂, and prove that it is in NP as the original QFBAPA on integers. We then reduce the satisfiability problem of qL to the one of QFBAPA𝕂.
What do these tags mean?
- matches
- The paper's claim is directly supported by a theorem in the formal canon.
- supports
- The theorem supports part of the paper's argument, but the paper may add assumptions or extra steps.
- extends
- The paper goes beyond the formal theorem; the theorem is a base layer rather than the whole result.
- uses
- The paper appears to rely on the theorem as machinery.
- contradicts
- The paper's claim conflicts with a theorem or certificate in the canon.
- unclear
- Pith found a possible connection, but the passage is too broad, indirect, or ambiguous to say the theorem truly supports the claim.
Reference graph
Works this paper leans on
-
[1]
doi: https://doi.org/10.1016/j.drudis.2021.02.011
ISSN 1359-6446. doi: https://doi.org/10.1016/j.drudis.2021.02.011. URL https://www. sciencedirect.com/science/article/pii/S1359644621000787. Keyulu Xu, Weihua Hu, Jure Leskovec, and Stefanie Jegelka. How powerful are graph neural networks? In7th International Conference on Learning Representations, ICLR 2019, New Orleans, LA, USA, May 6-9, 2019. OpenRevie...
-
[2]
Letχbe a QFBAPA 𝕂 formula
-
[3]
For each set expression B appearing in some |B|, guess a non-negative integer number kB in𝕂
-
[4]
Letχ ′ be a (grounded) formula in which we replaced|B|byk B
-
[5]
Check that χ′ is true (can be done in poly-time since χ′ is a grounded formula, it is a Boolean formula on variable-free equations and inequations in𝕂)
-
[6]
We now build a standard QFBAPA formulaδ= V B constraint(B)where: constraint(B) = |B|=k B ifk B <∞ 𝕂 |B| ≥limitifk B = +∞𝕂 wherelimitis the maximum number that is considered as infinity in𝕂
-
[7]
Run a non-deterministic poly-time algorithm for the QFBAPA satisfiability on δ. Accepts if it accepts. Otherwise reject. The algorithm runs in poly-time. Guessing a number nB is in poly-time since it consists in guessing n bits (n in unary). Step 4 is just doing the computations in 𝕂. In Step 6, δ can be computed in poly-time. If χ is QFBAPA𝕂 satisfiable,...
work page 2000
-
[8]
We reduce the satisfiability problem in (modal)qL (restricted to graded modal logic + graded universal modality, because it is sufficient to encode the tiling problem) toVT3 in poly-time as follows. Let φ be a qL. We build in poly-time an ACR-GNN A that recognizes all pointed graphs. We haveφis satisfiable iff[[φ]]∩[[A]]̸=∅SoVT3 is NEXPTIME-hard
-
[9]
We reduce the validity problem of qL toVT2
The validity problem of qL (dual problem of the satisfiability problem, i.e., given a formula φ, is φ true in all pointed graphs G, u?) is coNEXPTIME-hard. We reduce the validity problem of qL toVT2. Let φ be a qL formula. We construct an ACR-GNN A that accepts all pointed graphs. We haveφis valid iff[[A]]⊆[[φ]]. SoVT2 is coNEXPTIME-hard
-
[10]
We reduce the validity problem of qL toVT1. Let ψ be a qL formula. (again restricted to graded modal logic + graded global modalities as for point 1). So following Barceló et al. (2020), we can construct in poly-time an ACR-GNN A that is equivalent to ψ (by Barceló et al. (2020)). We haveψis valid iff[[⊤]]⊆[[A]]. SoVT1 is coNEXPTIME-hard. 18 Theorem 14.Th...
work page 2020
-
[11]
For the lower bound, we reduce (propositional) SAT toVT’3 in poly-time as follows
NP upper bound is also obtained by guessing a graph with at most N vertices and then check. For the lower bound, we reduce (propositional) SAT toVT’3 in poly-time as follows. Let φ be a propositional formula. We build in poly-time an ACR-GNN A that recognizes all pointed graphs. We haveφis satisfiable iff[[φ]]∩[[A]]̸=∅SoVT’3 is NP-hard
-
[12]
coNP upper bound corresponds to a NP upper bound for the dual problem: guessing a graph with at most N vertices which is recognizes by A but in which φ does not hold. The validity problem of propositional logic (dual problem of the satisfiability problem, i.e., given a formula φ, is φ true for all valuations) is coNP-hard. We reduce the validity problem o...
-
[13]
coNP upper bound is obtained similarly. For the lower bound, we reduce the validity problem of propositional logic toVT’1. Let ψ be a propositional formula. So following Barceló et al. (2020), we can construct in poly-time an ACR-GNN A that is equivalent to ψ (by Barceló et al. (2020)). We haveψis valid iff[[⊤]]⊆[[A]]. SoVT’1 is coNP-hard. B PROTOTYPE VER...
work page 2020
discussion (0)
Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.