PAC-Bayesian Adversarially Robust Generalization Bounds for Graph Neural Network
Tan Sun, Junhong Lin
TL;DR
This work develops adversarially robust generalization bounds for graph neural networks within a PAC-Bayesian framework, focusing on two widely used architectures, GCN and MPGNN. By linking robust margin losses to a perturbed posterior over weights, the authors derive bounds that depend on the spectral norm of the diffusion matrix and weight norms while incorporating an adversarial budget $\epsilon$, and crucially avoid exponential dependence on the graph's maximum degree. For GCN, the robust bounds improve prior results in the standard setting by removing degree-based exponential factors, and for MPGNN they provide comparable tightness under weaker smoothness assumptions. Overall, the results offer principled guarantees for robust generalization under adversarial perturbations in graph classification and highlight the practical impact of diffusion topology and weight magnitudes on robustness.
Abstract
Graph neural networks (GNNs) have gained popularity for various graph-related tasks. However, similar to deep neural networks, GNNs are also vulnerable to adversarial attacks. Empirical studies have shown that adversarially robust generalization has a pivotal role in establishing effective defense algorithms against adversarial attacks. In this paper, we contribute by providing adversarially robust generalization bounds for two kinds of popular GNNs, graph convolutional network (GCN) and message passing graph neural network, using the PAC-Bayesian framework. Our result reveals that spectral norm of the diffusion matrix on the graph and spectral norm of the weights as well as the perturbation factor govern the robust generalization bounds of both models. Our bounds are nontrivial generalizations of the results developed in (Liao et al., 2020) from the standard setting to adversarial setting while avoiding exponential dependence of the maximum node degree. As corollaries, we derive better PAC-Bayesian robust generalization bounds for GCN in the standard setting, which improve the bounds in (Liao et al., 2020) by avoiding exponential dependence on the maximum node degree.
