Verifying Graph Neural Networks with Readout is Intractable
Artem Chernobrovkin, Marco Sälzer, François Schwarzentruber, Nicolas Troquard
TL;DR
The paper investigates the formal verification of quantized GNNs with global readout by introducing the modal quantized logic $q\mathcal{L}$ and proving that ACR-GNN verification tasks are (co)NEXPTIME-complete, establishing inherent intractability in general. To address practicality, it proves NP-bounded variants by bounding the number of vertices and develops a prototype verifier, showing feasibility at small scales. The work also demonstrates that quantized ACR-GNNs can achieve substantial size reductions (through dynamic PTQ) with minimal accuracy loss on synthetic and biological graphs, suggesting practicality for resource-constrained deployments. Collectively, these results delineate the theoretical limits of GNN verification while providing a concrete, quantifiable pathway to usable, quantized GNNs in constrained environments and guiding future research toward scalable verification techniques.
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.
