Countering adversarial perturbations in graphs using error correcting codes
Saif Eddin Jabari
TL;DR
This work addresses safeguarding graph-based inputs for GNNs against adversarial edge perturbations by introducing a sender-side repetition encoding $\mathbf{t} = \mathbf{s} \otimes \mathbf{1}_K$ with defender-added randomness and a receiver-side majority-voting decoder. The authors derive a probabilistic bound on the required number of repetitions $K$ to achieve a target reconstruction accuracy, prove an unbiased estimator for the decoding success probability, and provide a concentration guarantee via McDiarmid's inequality. Empirically, the method reliably reconstructs Erdős-Rényi graphs with relatively small $K$, while Barabási-Albert graphs (scale-free) demand larger $K$ due to topology, highlighting the impact of network structure on robustness. The approach complements randomized smoothing by enabling input correction under unknown attack strategies and suggests future topology-aware enhancements for scale-free networks.
Abstract
We consider the problem of a graph subjected to adversarial perturbations, such as those arising from cyber-attacks, where edges are covertly added or removed. The adversarial perturbations occur during the transmission of the graph between a sender and a receiver. To counteract potential perturbations, this study explores a repetition coding scheme with sender-assigned noise and majority voting on the receiver's end to rectify the graph's structure. The approach operates without prior knowledge of the attack's characteristics. We analytically derive a bound on the number of repetitions needed to satisfy probabilistic constraints on the quality of the reconstructed graph. The method can accurately and effectively decode Erdős-Rényi graphs that were subjected to non-random edge removal, namely, those connected to vertices with the highest eigenvector centrality, in addition to random addition and removal of edges by the attacker. The method is also effective against attacks on large scale-free graphs generated using the Barabási-Albert model but require a larger number of repetitions than needed to correct Erdős-Rényi graphs.
