Many works show that node-level predictions of Graph Neural Networks (GNNs) are unrobust to small, often termed adversarial, changes to the graph structure. However, because manual inspection of a graph is difficult, it is unclear if the studied perturbations always preserve a core assumption of adversarial examples: that of unchanged semantic content. To address this problem, we introduce a more principled notion of an adversarial graph, which is aware of semantic content change. Using Contextual Stochastic Block Models (CSBMs) and real-world graphs, our results uncover: $i)$ for a majority of nodes the prevalent perturbation models include a large fraction of perturbed graphs violating the unchanged semantics assumption; $ii)$ surprisingly, all assessed GNNs show over-robustness - that is robustness beyond the point of semantic change. We find this to be a complementary phenomenon to adversarial examples and show that including the label-structure of the training graph into the inference process of GNNs significantly reduces over-robustness, while having a positive effect on test accuracy and adversarial robustness. Theoretically, leveraging our new semantics-aware notion of robustness, we prove that there is no robustness-accuracy tradeoff for inductively classifying a newly added node.
翻译:许多作品表明,图神经网络(GNN)的节点级预测对图结构的小改变通常被称为敌对性改变缺乏鲁棒性。然而,由于人工检查图表很困难,因此不清楚研究的扰动是否始终保留敌对示例的核心假设:未更改语义内容。为解决这个问题,我们引入了一个更为基本的敌对图概念,即意识到语义内容的变化。在使用上下文随机块模型(CSBM)和真实世界图形的过程中,我们的结果揭示: i) 对于大多数节点,主要扰动模型包括大量扰动图违反未更改语义的假设; ii) 令人惊讶的是,所有评估的GNN都显示出超鲁棒性-即超出语义变化点的鲁棒性。我们发现这是对抗示例的补充现象,并证明将训练图的标签结构包括在GNN的推断过程中可以显著降低过度鲁棒性,同时对测试准确性和对抗鲁棒性有积极影响。从理论上讲,利用我们新的语义感知的鲁棒性概念,我们证明了在归纳分类新添加的节点时不存在鲁棒性-准确性权衡。