Formal Verification of Graph Convolutional Networks with Uncertain Node Features and Uncertain Graph Structure
Tobias Ladner, Michael Eichelbeck, Matthias Althoff
TL;DR
This work tackles the problem of formally verifying graph convolutional networks under joint uncertainty in node features and graph structure across multiple message-passing steps. It introduces matrix polynomial zonotopes to preserve non-convex dependencies and enable sound, scalable verification, including exact enclosure of graph layers and handling of uncertain edges through a matrix-zonotope framework. The approach achieves polynomial-time complexity in the number of uncertain inputs and edges and is validated on Enzymes, Proteins, and Cora, with subgraph verification significantly boosting scalability. The results demonstrate robust verification capabilities in safety-critical contexts and offer a path toward broader applicability and hardware-accelerated implementations.
Abstract
Graph neural networks are becoming increasingly popular in the field of machine learning due to their unique ability to process data structured in graphs. They have also been applied in safety-critical environments where perturbations inherently occur. However, these perturbations require us to formally verify neural networks before their deployment in safety-critical environments as neural networks are prone to adversarial attacks. While there exists research on the formal verification of neural networks, there is no work verifying the robustness of generic graph convolutional network architectures with uncertainty in the node features and in the graph structure over multiple message-passing steps. This work addresses this research gap by explicitly preserving the non-convex dependencies of all elements in the underlying computations through reachability analysis with (matrix) polynomial zonotopes. We demonstrate our approach on three popular benchmark datasets.
