cs.LGOct 28, 2026

A Separation Principle for Adversarial Attacks and Defense of Graph Neural Networks

Authors: Farid Mafi, Saber Jafarpour, Mohammad Pirani

Organizations: University of Waterloo, Waterloo, ON, Canada · University of Colorado Boulder, Boulder, CO, USA · University of Ottawa, Ottawa, ON, Canada

Abstract

Adversarial attacks on graph neural networks (GNNs) have been studied as a model-centric optimization problem driven by gradients, learned policies, or meta-learning, with the graph treated as a passive substrate. This view overlooks a defining feature of GNNs: their predictions are produced by structured message passing along the graph, so their adversarial vulnerabilities are encoded as much in the geometry of the graph as in the learned weights. We develop a structure-driven framework for feature attacks in which the attack is derived from the spectral properties of the normalized adjacency operator. Its central result is a separation principle: under a natural relaxation of the attack objective, the optimal feature perturbation is rank one and factorizes into a graph-dependent component (degree-proportional spatial allocation, depending only on the graph) and a weight-dependent component (top singular vector of the composed weights, depending only on the weights). Node degree thus emerges as the fundamental graph quantity governing adversarial vulnerability to feature perturbations. The resulting attack, which we call SepAttack, requires no gradient computation, carries analytical guarantees, achieves competitive or superior performance against established baselines such as Nettack and IG-Attack with up to ∼70×{\sim}70\times speedup in the targeted setting, and transfers near-perfectly across architectures on continuous-feature graphs because its graph-dependent component is architecture-invariant by construction. We further derive a separation-principle adversarial training procedure (SepAT) directly from the closed-form worst-case attack and report robustness gains on binary-feature benchmarks.

Figures & tables

Appendix figures & tables4 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. GJDNet: Robust Graph Neural Networks via Joint Disentangled Learning Against Adversarial Attacks

    Jun 1, 2026Canyixing Cui, Tao Wu, Xingping Xian +3Disentangled Representation LearningGraph Neural Networks

  2. Kernel-Complexity Edge Sanitization for Training-Free Defense against Structural Graph Attacks

    Sep 9, 2026Yaning Jia, Shenyang Deng, Yaoqing Yang +3Graph Neural NetworksAdversarial Attacks

  3. TopFeaRe: Locating Critical State of Adversarial Resilience for Graphs Regarding Topology-Feature Entanglement

    Apr 15, 2026Xinxin Fan, Wenxiong Chen, Quanliang Jing +4Adversarial RobustnessAdversarial Attacks