Mitigating the Structural Bias in Graph Adversarial Defenses

Junyuan Fang, Huimin Liu, Han Yang, Jiajing Wu, Zibin Zheng +1 more
4/29/2025
cs.LGcs.AIcs.CR

No official code found. Best implementation: alexfanjn/De2GNN (0 stars, GPL-3.0, last commit 2025-07-08).

Abstract

In recent years, graph neural networks (GNNs) have shown great potential in addressing various graph structure-related downstream tasks. However, recent studies have found that current GNNs are susceptible to malicious adversarial attacks. Given the inevitable presence of adversarial attacks in the real world, a variety of defense methods have been proposed to counter these attacks and enhance the robustness of GNNs. Despite the commendable performance of these defense methods, we have observed that they tend to exhibit a structural bias in terms of their defense capability on nodes with low degree (i.e., tail nodes), which is similar to the structural bias of traditional GNNs on nodes with low degree in the clean graph. Therefore, in this work, we propose a defense strategy by including hetero-homo augmented graph construction, $k$NN augmented graph construction, and multi-view node-wise attention modules to mitigate the structural bias of GNNs against adversarial attacks. Notably, the hetero-homo augmented graph consists of removing heterophilic links (i.e., links connecting nodes with dissimilar features) globally and adding homophilic links (i.e., links connecting nodes with similar features) for nodes with low degree. To further enhance the defense capability, an attention mechanism is adopted to adaptively combine the representations from the above two kinds of graph views. We conduct extensive experiments to demonstrate the defense and debiasing effect of the proposed strategy on benchmark datasets.

View on arXivView PDF

Code Implementations(1)

alexfanjn/De2GNNCommunity100%
GPL-3.0

The relevant codes for "Mitigating the Structural Bias in Graph Adversarial Defense".

00PythonMar 18, 20241 years agoGPL-3.0

Similar Papers

Cite this paper

@article{fang2025mitigating,
  title  = {Mitigating the Structural Bias in Graph Adversarial Defenses},
  author = {Junyuan Fang and Huimin Liu and Han Yang and Jiajing Wu and Zibin Zheng and Chi K. Tse},
  year   = {2025},
  eprint = {2504.20848},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2504.20848v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2504.20848.svg)](https://codeofpaper.com/paper/2504.20848)

Discussion