Abstract
As Graph Neural Networks (GNNs) become increasingly popular for learning from large-scale graph data across various domains, their susceptibility to adversarial attacks when using graph reduction techniques for scalability remains underexplored. In this paper, we present an extensive empirical study to investigate the impact of graph reduction techniques, specifically graph coarsening and sparsification, on the robustness of GNNs against adversarial attacks. Through extensive experiments involving multiple datasets and GNN architectures, we examine the effects of four sparsification and six coarsening methods on poisoning attacks. Our results indicate that, while graph sparsification can mitigate the effectiveness of certain poisoning attacks, such as Mettack, it has limited impact on others, like PGD. Conversely, graph coarsening tends to amplify the adversarial impact, significantly reducing classification accuracy as the reduction ratio decreases. Additionally, we provide a novel analysis of the causes driving these effects and examine how defensive GNN models perform under graph reduction, offering practical insights for designing robust GNNs within graph acceleration systems.
Introduction
Graph Neural Networks are powerful but computationally expensive on large-scale data. To solve the scalability bottleneck, "graph reduction" is used to create smaller, representative versions of a graph. At the same time, GNNs are notoriously sensitive to adversarial attacks—subtle perturbations (like adding or removing edges) designed to trick the model.
This study identifies a critical gap in current research: the interaction between scalability techniques and security. If an engineer uses graph reduction to speed up training, are they making their system more or less secure? We systematically investigate how graph coarsening and sparsification affect GNN robustness against both poisoning attacks (manipulating training data) and evasion attacks (manipulating test data).
Methodology
We conducted an extensive empirical study using a "black-box" attack setting, where the attacker lacks knowledge of the specific model architecture. Our evaluation framework included:
- Reduction Techniques: Four sparsification methods (removing redundant edges) and six coarsening methods (merging similar nodes into "supernodes").
- Adversarial Attacks: Seven global poisoning attacks (including Mettack and PGD) and two evasion attacks.
- Models: Three standard GNNs (GCN, GraphSAGE, GAT) and three state-of-the-art defensive models (RGCN, GNNGuard, MedianGCN).
- Datasets: Three standard benchmarks: Cora (~2,700 nodes), Pubmed (~19,700 nodes), and Coauthor CS (~18,300 nodes).
To understand the underlying mechanisms, we analyzed "perturbation edge removal ratios" and "label difference ratios" to track how many malicious changes survived the reduction process.
Analysis of Graph Reduction Effects
Sparsification as an Accidental Filter
Our findings reveal that sparsification methods often act as an accidental defense. These algorithms frequently remove over 60% of the edges added by attackers. Because many poisoning attacks, such as Mettack, rely on adding "noisy" edges to bridge unrelated communities, these edges appear redundant to sparsification algorithms and are pruned, effectively "cleaning" the graph.
As shown in the figure above, sparsification can bring accuracy back toward the clean baseline ($ACC_c$) for Mettack. However, its impact on PGD is more limited, as PGD perturbations are often less "redundant" in the eyes of sparsification algorithms.
The Coarsening Trap
In contrast to sparsification, graph coarsening significantly amplifies the impact of adversarial attacks. Coarsening merges nodes; if a poisoned node is merged with a clean node, the resulting "supernode" inherits the malicious features and incorrect label. This spreads the "poison" further, creating noisy representations that are harder for the GNN to learn from.
As the reduction ratio falls—meaning the graph is made smaller—the accuracy plummets far below the standard poisoned baseline. We observed a critical threshold at 0.3; robustness across nearly all methods tends to collapse when the graph is reduced to less than 30% of its original size.
Key Results and Defensive Fragility
- Mitigation Success: On the Pubmed dataset, a Mettack poisoning attack dropped GCN accuracy to 78.07%. Applying Local Degree (LD) sparsification restored accuracy to 86.27%, nearly matching the clean baseline of 86.15%.
- Exacerbation Failure: Conversely, applying Heavy Edge (HE) coarsening to the same poisoned Pubmed graph caused accuracy to plummet to 45.27%—a catastrophic drop significantly worse than the attack alone.
- Fragile Defenses: Defensive models like GNNGuard, designed to ignore suspicious edges, perform well with sparsification but fail under coarsening. This is because coarsening "bakes" suspicious edges into the supernode structure, making them invisible to defense mechanisms. GNNGuard's accuracy under a PGD attack on Pubmed dropped from 83.53% to 48.01% when combined with coarsening.
- Evasion Immunity: Since graph reduction is typically a training-time acceleration technique, it offers no protection against evasion attacks that occur during inference.
Conclusion and Future Work
While sparsification can provide a degree of accidental robustness against poisoning, graph reduction—particularly coarsening—poses a significant security risk to GNN deployments. Future research should focus on:
- Robustness-aware graph reduction: Developing algorithms that explicitly identify and prune adversarial perturbations during reduction.
- Hybrid reduction methods: Combining the scalability of coarsening with the filtering benefits of sparsification.
- Dynamic Graphs: Investigating how these dynamics evolve in graphs with changing topologies.
Summary updated