Exploiting Self-Refining Normal Graph Structures for Robust Defense against Unsupervised Adversarial Attacks

Bingdao Feng, Di Jin, Xiaobao Wang, Dongxiao He, Jingyi Cao, Zhen Wang

Introduction

Graph Neural Networks (GNNs) have become indispensable for modeling complex relational data, ranging from social networks to biological systems. However, their vulnerability to adversarial attacks—specifically structural poisoning—poses a significant security risk. In a poisoning attack, an adversary introduces subtle perturbations, such as fake edges, during the training phase to degrade the model's performance.

Overview of the attack and refinement process, showing how perturbed edges lead to corrupted representations and how refinement aims to restore the graph structure.

While supervised GNNs can leverage label information to detect anomalies, unsupervised models lack this ground-truth signal, making them particularly susceptible. Existing defenses often rely on edge pruning based on node similarity. However, sophisticated attackers can bypass these filters by creating edges that force nodes to appear similar through the GNN's message-passing mechanism, creating a "circular logic trap" for defenders.

Methodology: A Two-Stage Self-Refining Framework

To address these challenges, the authors propose a novel unsupervised framework that iteratively cleans the graph structure through two main stages: Anomaly Studying and Effective Representation Learning.

The complete two-stage framework: Anomaly Studying uses contrastive learning to score edges, while Effective Representation Learning uses Graph Pollution Degree (GPD) to iteratively refine the graph.

1. Anomaly Studying

Instead of relying on simple feature similarity, the model employs a contrastive learning approach (based on the CoLA framework). It assigns "anomaly scores" to edges by identifying connections that deviate from global structural patterns. By pruning the most anomalous edges, the framework generates a "rough graph"—a cleaner, albeit potentially incomplete, version of the original input.

2. Effective Representation Learning & Self-Refining

The core innovation lies in the Graph Pollution Degree (GPD) metric. GPD utilizes Mutual Information to quantify how much a specific set of edges "pollutes" the learned representations. The refinement process follows these steps:

  • Starting from the rough graph, the model attempts to re-integrate edges from the original attacked graph.
  • An edge is deemed "trustworthy" and retained only if its inclusion keeps the GPD below a predefined threshold ($\alpha$).
  • The model then fine-tunes its representations on this progressively purified graph.

This iterative "self-refining" loop allows the model to distinguish between legitimate structural information and adversarial noise without any human-labeled data.

Key Insights

  • The Similarity Trap: Traditional filters fail because adversarial edges are designed to increase the similarity between endpoints during GNN processing. This makes simple similarity-based pruning ineffective.
  • GPD as a Trust Signal: Using Mutual Information as a proxy for graph purity provides a robust training signal in unsupervised settings, effectively asking if new data enhances or degrades internal consistency.
  • Information Recovery: Unlike simple pruning, which often discards useful data, the two-stage approach allows the model to recover legitimate edges that might have been initially flagged as anomalous but are later found to be consistent with the refined representations.

Experimental Evaluation

The framework was evaluated on standard benchmarks (Cora, Citeseer, Pubmed, and Polblogs) against nine state-of-the-art defense models under various attack scenarios (PGD, MetaAttack, and random noise).

  • Performance: On the Cora dataset under a 5% PGD attack, the model achieved 77.3% accuracy, outperforming the best baseline (STRG) by nearly 2%.
  • Robustness: The model demonstrated superior resilience to high perturbation levels. At 40% perturbation on Citeseer, it maintained 53.1% accuracy, while most baselines dropped significantly lower.
  • Feature-less Graphs: The defense remained effective on the Polblogs dataset, which lacks node features and relies entirely on structural information, proving its versatility.

Conclusion and Future Work

This research presents a robust, unsupervised defense mechanism that breaks the circular dependency between graph structure and learned representations. While highly effective on homophilous graphs, future work is needed to adapt the framework for heterophilous structures. Additionally, extending the defense to cover node injection and backdoor attacks remains a critical area for further exploration.

Summary updated

BibTeX
@inproceedings{feng2025exploiting,
  author = {Bingdao Feng and Di Jin and Xiaobao Wang and Dongxiao He and Jingyi Cao and Zhen Wang},
  title = {{Exploiting Self-Refining Normal Graph Structures for Robust Defense against Unsupervised Adversarial Attacks}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2025},
  doi = {10.24963/ijcai.2025/311},
}
Figure