Kernel-Complexity Edge Sanitization for Training-Free Defense against Structural Graph Attacks
Yaning Jia, Shenyang Deng, Yaoqing Yang, Chiyu Ma, Wenxuan Xu, Soroush Vosoughi
Abstract
Graph Neural Networks (GNNs) have achieved remarkable success across diverse applications, yet they remain highly vulnerable to adversarial attacks that maliciously perturb graph structure. Existing defenses often lack rigorous theoretical grounding, rely on attack-specific heuristics, or require costly retraining procedures such as adversarial training. To address these limitations, we propose Kernel-Complexity Edge Sanitization (KCES), a training-free and model-agnostic framework for defending against structural attacks. KCES is built upon Graph Kernel Complexity (GKC), a principled metric derived from the graph Gram matrix that appears in a generalization upper bound on the GNN test error. From this bound, we define an edge-specific KC score that quantifies each edge's structural influence via its induced change in GKC. KCES then identifies and prunes high-KC edges, which are empirically enriched with adversarial perturbations under structural attacks, to mitigate their harmful impact. Computationally efficient and scalable, KCES operates as a lightweight preprocessing step without retraining and can be seamlessly integrated with existing defenses. Extensive experiments demonstrate that KCES consistently outperforms representative robust baselines across diverse attack settings and scales effectively to large graphs. Supported by theoretical analysis and extensive empirical validation, KCES provides a principled and efficient framework for securing GNNs. Our code is available at https://github.com/karpning/KCScore.
Create a lesson
Metadata
- Categories
- cs.LG, cs.AI
- Comments
- 12 pages. Accepted at the 35th ACM International Conference on Information and Knowledge Management (CIKM 2026)
Related papers
Sampling via Decision-Flow: Training-Free Extraction of Improved Latent Reasoning Paths in Large Language Models
Shared title terminologycs.LGZhendong Mi, Shaoyi Huang
Zero-shot rib design: merging training-free generative prior with topology optimization
Shared title terminologycs.LGYongmin Kwon, Namwoo Kang
Training-Free Task Vectors for LLM Behavioral Control
Shared title terminologycs.LGGabriel J. Perin, Lucas Boscaini, André Araujo et al.
CSDD: Class-wise Shapley Contribution Dispersion for Free-Rider Defense in Federated Classification
Shared title terminologycs.LGXiaodong Guo, Ruiyun Zheng, Yinan Sun et al.
LILA: Data-Free Structured Pruning of LLMs via Latent Spectral Geometry
Shared title terminologycs.LGSankar Behera, Dhruv Singh, Anshika Agnihotri et al.
Adversarial Training for Tabular Credit Scoring: A Multi-Attack Robustness Evaluation in P2P Lending
Shared title terminologycs.LGGijs A. F. Niewzwaag, Marijn G. S. Veth, Manuele Massei et al.