NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

On the Adversarial Robustness of Graph Neural Networks with Graph Reduction

Kerui Wu, Ka-Ho Chow, Wenqi Wei, Lei Yu

TL;DR

Graph reduction techniques like sparsification and coarsening are essential for scaling Graph Neural Networks (GNNs) to large datasets, but how do they affect security? This paper reveals a stark contrast: while graph sparsification can mitigate certain adversarial poisoning attacks by filtering out malicious edges, graph coarsening severely exacerbates vulnerabilities by baking adversarial noise directly into the graph's condensed structure.

What Problem Does This Paper Address?

Graph Neural Networks (GNNs) excel at analyzing networked data, from social networks to financial fraud systems. However, they struggle to scale to massive real-world graphs because their message-passing architecture requires aggregating information across multi-hop neighbors, creating massive computational bottlenecks.

To make training feasible on large datasets, engineers use graph reduction techniques. These generally fall into two categories:

  1. Sparsification: Pruning redundant or less important edges while keeping the node count intact.
  2. Coarsening: Grouping similar nodes together into "supernodes" to shrink the overall graph size.

At the same time, GNNs are notoriously sensitive to adversarial attacks. In a poisoning attack, an adversary injects malicious perturbations (like fake edges) into the training graph to degrade the final model's accuracy. While graph reduction successfully accelerates training, its interplay with adversarial robustness has been a black box. This paper systematically evaluates whether graph reduction acts as an accidental shield or an open door for attackers.

Methods

The authors conduct a massive empirical benchmark to evaluate GNN robustness under graph reduction across three dimensions:

  • Reduction Algorithms: They implement 4 sparsification methods (e.g., Local Degree, SCAN) and 6 coarsening methods (e.g., Heavy Edge Matching, Kron Reduction).
  • Adversarial Attacks: They test 7 state-of-the-art global poisoning attacks (including Mettack, PGD, and PRBCD) and 2 evasion attacks (attacks that occur during inference).
  • GNN Architectures: They evaluate standard models (GCN, GAT, GraphSAGE) alongside 3 robust defensive models designed to resist attacks (Robust GCN, GNNGuard, MedianGCN).

The core novelty lies in their component-level analysis of why these reduction methods succeed or fail, tracking the exact percentage of poisoned edges that get removed or merged during the reduction process.

Datasets

The evaluation relies on three standard node-classification benchmarks of varying scales:

  • Cora: A small citation network (~2,703 nodes, 10,556 edges).
  • Pubmed: A larger citation network (~19,717 nodes, 88,648 edges).
  • Coauthor CS (CS): A large academic collaboration graph (~18,333 nodes, 168,788 edges).

Key Insights and Ideas

1. Sparsification is an Accidental Filter

For topology-destructing attacks like Mettack, sparsification algorithms naturally remove upwards of 60% of the poisoned edges during the pruning phase. Because these attacks rely on malicious edges to mislead the GNN during training, stripping them out effectively sanitizes the dataset and restores model accuracy.

2. The Evasion Loophole for PGD

Surprisingly, sparsification fails to defend against the PGD attack. The authors discovered a fascinating reason: even though sparsification removes PGD's poisoned edges during training (resulting in a clean model), those same poisoned edges still exist in the test graph during inference. Because semi-supervised GNNs evaluate on the full graph, PGD effectively morphs from a training-time poisoning attack into an inference-time evasion attack, bypassing the defense.

3. Coarsening Spreads the Infection

Unlike sparsification, graph coarsening amplifies an attack's impact. When a poisoned edge connects two completely dissimilar nodes, coarsening algorithms are often tricked into merging them into the same supernode. This creates highly noisy supernode features and incorrect dominant labels, spreading the adversarial corruption across the condensed graph.

4. Robust GNNs Break Under Coarsening

Defensive GNNs like GNNGuard work by identifying and penalizing suspicious edges during training. However, once coarsening bakes those edge perturbations directly into the supernode structures, the defensive models can no longer "see" or eliminate the perturbations, rendering them ineffective.

Key Results

  • The Sparsification vs. Coarsening Divergence: As illustrated in the CS dataset experiments, reducing the graph via sparsification dramatically improves accuracy under a Mettack attack. Conversely, reducing the graph via coarsening causes a sharp performance drop across both PGD and Mettack attacks.
Sparsification vs Coarsening under PGD and Mettack
  • The Worst-Case Scenario: Under a Mettack attack on the Pubmed dataset, graph coarsening dropped the GCN's post-reduction accuracy to an average of 61.65%—a massive 16.41% drop compared to the poisoned model without any graph reduction.
  • The Best Defensive Pairing: Combining defensive architectures like GNNGuard with edge-pruning methods like the Local Degree algorithm emerged as the safest strategy, maintaining high accuracy while accelerating training.

Limitations and Future Work

  • The Aggressive Reduction Cliff: The authors note that regardless of the method used, if the reduction ratio drops below 0.3 (meaning more than 70% of nodes or edges are removed), classification accuracy plummets drastically even on clean data. Overly aggressive reduction must be avoided.
  • Inference-Time Vulnerabilities: Graph reduction during training has virtually zero impact on pure evasion attacks that occur entirely during inference.
  • Future Directions: The authors suggest that future research should focus on developing hybrid reduction approaches or designing entirely new, robustness-aware graph reduction algorithms that explicitly account for adversarial edge distributions.

Summary updated

BibTeX
@inproceedings{wu2025adversarial,
  author = {Kerui Wu and Ka-Ho Chow and Wenqi Wei and Lei Yu},
  title = {{On the Adversarial Robustness of Graph Neural Networks with Graph Reduction}},
  booktitle = {Esorics},
  year = {2025},
  doi = {10.1007/978-3-032-07884-1\_20},
}
Figure