Fundamental Limits in Formal Verification of Message-Passing Neural Networks
Preprint
Abstract
Output reachability and adversarial robustness are among the most relevant safety properties of neural networks. We show that in the context of Message Passing Neural Networks (MPNN), a common Graph Neural Network (GNN) model, formal verification is impossible. In particular, we show that output reachability of graph-classifier MPNN, working over graphs of unbounded size, non-trivial degree and sufficiently expressive node labels, cannot be verified formally: there is no algorithm that answers correctly (with yes or no), given an MPNN, whether there exists some valid input to the MPNN such that the corresponding output satisfies a given specification. However, we also show that output reachability and adversarial robustness of node-classifier MPNN can be verified formally when a limit on the degree of input graphs is given a priori. We discuss the implications of these results, for the purpose of obtaining a complete picture of the principle possibility to formally verify GNN, depending on the expressiveness of the involved GNN models and input-output specifications.Keywords
All Related Versions
This publication has 15 references indexed in Scilit:
- Reachability is NP-Complete Even for the Simplest Neural Networks2021
- The Logic of Graph Neural Networks2021
- A survey of safety and trustworthiness of deep neural networks: Verification, testing, adversarial attack and defence, and interpretabilityComputer Science Review, 2020
- Scalable attack on graph data by injecting vicious nodesData Mining and Knowledge Discovery, 2020
- A Comprehensive Survey on Graph Neural NetworksIEEE Transactions on Neural Networks and Learning Systems, 2020
- Graph neural networks: A review of methods and applicationsAI Open, 2020
- Indirect Adversarial Attacks via Poisoning Neighbors for Graph Convolutional Networks2019
- Adversarial Attacks on Neural Networks for Graph Data2018
- Reluplex: An Efficient SMT Solver for Verifying Deep Neural Networks2017
- A variant of a recursively unsolvable problemBulletin of the American Mathematical Society, 1946