Graph Neural Networks (GNNs) are powerful tools for analyzing graph-structured data, but their scalability is a challenge. Graph reduction techniques (like sparsification and coarsening) are used to speed up GNNs on large graphs. This paper investigates how these reduction techniques affect GNNs' vulnerability to adversarial attacks.
TL;DR
This paper reveals that graph sparsification can mitigate some adversarial attacks on GNNs, while graph coarsening actually amplifies them. This is crucial for building robust and scalable GNN systems, as existing defenses may fail when combined with graph reduction.
What Problem Does This Paper Address?
Graph Neural Networks (GNNs) have become increasingly popular for learning from large-scale graph data across various domains. However, their scalability is a significant challenge, leading to the development of acceleration techniques like graph coarsening and sparsification. While GNNs are known to be vulnerable to adversarial attacks (where malicious perturbations are introduced to mislead the model), the impact of these acceleration techniques on GNN robustness against such attacks has been largely unexplored. This paper aims to fill this gap by empirically studying how graph reduction methods affect the performance of GNNs under various adversarial poisoning attacks.
Methods
The authors conducted an extensive empirical study to investigate the impact of graph reduction techniques on GNN robustness. They examined:
- Graph Reduction Methods:
- Sparsification: Four methods were used: Random Node Edge (RNE), Local Degree (LD), Local Similarity (LS), and SCAN. These methods aim to reduce the number of edges in the graph.
- Coarsening: Six methods were employed: Variation Neighborhoods (VN), Variation Cliques (VC), Variation Edges (VE), Heavy Edge Matching (HE), Algebraic JC (JC), and Kron Reduction (KRON). These methods merge nodes to create a smaller graph.
- Adversarial Attacks: Seven global poisoning attacks were implemented: DICE, NEA, PGD, Mettack, PRBCD, GraD, and STRG-heuristic. These attacks aim to degrade the overall performance of the GNN model.
- GNN Architectures: Standard GNN models like GCN, GAT, and GraphSAGE were used, along with three defensive GNN models: Robust GCN (RGCN), GNNGuard, and MedianGCN.
- Evaluation: The study compared the clean accuracy (ACC), poisoned accuracy (ACCp), and post-reduction accuracy (ACCr) of GNN models under different reduction ratios and attack strategies.
Datasets
The study utilized three commonly used datasets for GNN node classification:
- Cora: A small graph with approximately 2700 nodes.
- Pubmed: A medium-sized graph with approximately 19700 nodes.
- CS: A larger graph with approximately 18300 nodes.
Key Insights and Ideas
- Sparsification as a Defense: Graph sparsification can effectively mitigate certain poisoning attacks, particularly those that rely on adding new edges (like Mettack). By removing redundant edges, it can reduce the impact of these attacks during training.
- Coarsening Amplifies Attacks: Conversely, graph coarsening tends to worsen the effects of adversarial attacks. By merging nodes, it can create "supernodes" that inherit noisy or incorrect features and labels from poisoned edges, leading to a significant drop in classification accuracy.
- Defense Mechanisms are Compromised by Coarsening: Existing defensive GNN models, which often rely on identifying and removing suspicious edges, lose effectiveness when combined with graph coarsening. The coarsening process can obscure these suspicious edges within supernodes, making them harder to detect and mitigate.
- Evasion Attacks Remain a Threat: While sparsification helps against poisoning attacks during training, it has limited impact on evasion attacks that occur during inference.
Key Results
- Sparsification Mitigation: For attacks like Mettack, graph sparsification led to a significant increase in accuracy (ACCr) compared to the poisoned accuracy (ACCp). For example, in the CS dataset, Mettack's accuracy increased as the reduction ratio decreased.
- Coarsening Amplification: For Mettack, graph coarsening resulted in a substantial decrease in accuracy. In one case, the average ACCr was 61.65%, which was 16.41% lower than the accuracy without graph reduction.
- Defense Performance: When combined with graph sparsification, defensive GNNs like GNNGuard and MedianGCN maintained or even improved their defense capabilities. However, with graph coarsening, their performance degraded significantly. For instance, GNNGuard with HE coarsening saw its accuracy drop from ACCp (84.67%) to ACCr (48.01%).
- Reduction Ratio Matters: A significant drop in accuracy was observed when the reduction ratio fell below 0.3 for both sparsification and coarsening methods, suggesting that overly aggressive reductions should be avoided.
Limitations and Future Work
- Evasion Attacks: The paper notes that while sparsification helps against poisoning attacks during training, it has limited effectiveness against evasion attacks that occur during inference.
- Defensive Model Limitations: The study highlights that defensive models relying on edge elimination may not perform well with graph coarsening.
- Future Work: The authors suggest exploring hybrid graph reduction approaches or developing new reduction methods that explicitly consider adversarial robustness. They also recommend further investigation into the interaction between graph reduction and evasion attacks.
Summary updated