Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

GNNGuard: Defending Graph Neural Networks against Adversarial Attacks

About

Deep learning methods for graphs achieve remarkable performance across a variety of domains. However, recent findings indicate that small, unnoticeable perturbations of graph structure can catastrophically reduce performance of even the strongest and most popular Graph Neural Networks (GNNs). Here, we develop GNNGuard, a general algorithm to defend against a variety of training-time attacks that perturb the discrete graph structure. GNNGuard can be straight-forwardly incorporated into any GNN. Its core principle is to detect and quantify the relationship between the graph structure and node features, if one exists, and then exploit that relationship to mitigate negative effects of the attack.GNNGuard learns how to best assign higher weights to edges connecting similar nodes while pruning edges between unrelated nodes. The revised edges allow for robust propagation of neural messages in the underlying GNN. GNNGuard introduces two novel components, the neighbor importance estimation, and the layer-wise graph memory, and we show empirically that both components are necessary for a successful defense. Across five GNNs, three defense methods, and five datasets,including a challenging human disease graph, experiments show that GNNGuard outperforms existing defense approaches by 15.3% on average. Remarkably, GNNGuard can effectively restore state-of-the-art performance of GNNs in the face of various adversarial attacks, including targeted and non-targeted attacks, and can defend against attacks on heterophily graphs.

Xiang Zhang, Marinka Zitnik• 2020

Related benchmarks

TaskDatasetResultRank
Node ClassificationCiteseer
Accuracy72.4
804
Node ClassificationCiteseer (test)
Accuracy0.724
729
Node ClassificationCora-ML
Accuracy83.1
228
Node ClassificationCora ML original (test)
Accuracy83.1
84
Node ClassificationCiteseer original (test)
Accuracy72.4
84
Node ClassificationCora ML (test)
Accuracy (General)83.1
83
Node ClassificationCiteseer standard (test)
Accuracy (Clean)72.4
16
Node ClassificationCiteseer standard (test)
Node Classification Accuracy74.7
14
Node ClassificationCora Metattack (20% test)
Accuracy75.98
13
Node ClassificationCiteseer Metattack (20% test)
Accuracy68.57
13
Showing 10 of 15 rows

Other info

Follow for update