TL;DR
Graph Neural Networks (GNNs) are powerful but vulnerable to adversarial attacks that subtly alter graph structures. This paper introduces ARGS, a novel method to create "adversarially robust graph lottery tickets" (ARGLTs) – sparse GNNs and graph structures that maintain high accuracy even when attacked. ARGS achieves this by optimizing a new loss function that considers graph homophily and leverages both true and pseudo labels from training and testing data.
What Problem Does This Paper Address?
Graph Neural Networks (GNNs) have become state-of-the-art for many graph-based tasks. However, their computational demands (latency, memory) limit their use on large graphs. "Graph Lottery Tickets" (GLTs) offer a solution by finding sparse sub-networks and graph structures that can achieve similar performance to dense models with significantly reduced computational cost. The problem this paper addresses is that existing GLTs are highly susceptible to adversarial attacks that subtly modify the graph structure (e.g., adding or removing a few edges). These attacks can drastically reduce a GNN's accuracy, negating the benefits of sparsity. The authors aim to create GLTs that are not only sparse and efficient but also robust against these adversarial perturbations.
Methods
The core contribution is the Adversarially Robust Graph Sparsification (ARGS) framework. ARGS builds upon existing graph sparsification techniques but introduces a novel, multi-component loss function designed to specifically combat adversarial structure attacks. Key aspects include:
- Iterative Pruning: ARGS iteratively prunes both the graph's adjacency matrix and the GNN's weights.
- Novel Loss Function: The loss function combines several terms:
- Homophily Loss ($L_{fs}$): Encourages the removal of edges connecting nodes with dissimilar features, leveraging the common property that connected nodes in many real-world graphs have similar attributes. This helps identify and remove adversarial edges that often connect disparate nodes.
- Train Node CE Loss ($L_o$): Standard cross-entropy loss on the labeled training nodes.
- Test Node CE Loss ($L_1$): A crucial addition, this term uses pseudo-labels generated by a simple MLP trained on the training data. This helps guide pruning around test nodes, which are often less directly affected by poisoning attacks but still crucial for overall performance.
- Self-Learning: The framework incorporates a self-learning mechanism by training the sparse GNN on both train and test nodes (using pseudo-labels for the latter) to improve robustness.
Datasets
The paper evaluates ARGS on several standard graph datasets:
- Cora
- Citeseer
- PubMed
- OGBN-ArXiv (for large-scale evaluation)
The attacks simulated include:
- Projected Gradient Descent (PGD)
- MetaAttack
- Meta-PGD
- PR-BCD (for large-scale graphs)
Key Insights and Ideas
- GLTs are Fragile: Standard GLTs, while efficient, are surprisingly vulnerable to adversarial structure perturbations, losing significant accuracy. This highlights a critical gap in current sparse GNN research.
- Homophily is a Powerful Signal: Leveraging the graph's inherent homophily property (connected nodes are similar) is key to identifying and removing adversarial edges that often violate this principle.
- Test Node Information is Crucial: Incorporating information from test nodes, even through pseudo-labels, significantly improves the robustness of the sparsification process, especially in later pruning stages.
- Unified Loss for Robustness and Sparsity: The proposed multi-component loss function effectively balances the need for adversarial robustness with achieving high levels of graph and model sparsity.
Key Results
- ARGS successfully finds Adversarially Robust Graph Lottery Tickets (ARGLTs) that are highly sparse.
- ARGLTs achieve competitive classification accuracy under various untargeted structure poisoning attacks (PGD, MetaAttack, Meta-PGD, PR-BCD).
- Compared to standard UGS (Unified Graph Sparsification), ARGS-generated GLTs show significantly improved robustness. For instance, on the Cora dataset under PGD attack, ARGLTs achieved similar accuracy with substantially higher graph and model sparsity (~2.4x and ~2.3x more, respectively).
- The method demonstrates effectiveness across different GNN architectures (GCN, GIN) and datasets, including large-scale ones like OGBN-ArXiv.
- Ablation studies confirm the importance of each component of the proposed loss function, particularly the homophily and test node CE loss terms.
Limitations and Future Work
- Homophily Assumption: The current ARGS framework relies on the homophily property of graphs. The authors acknowledge that future work should explore methods for graphs where this property does not hold (heterophily).
- Computational Cost: While ARGS aims to reduce inference cost, the training process itself, involving iterative pruning and adversarial simulation, can still be computationally intensive.
- Targeted Attacks: The paper focuses on untargeted poisoning attacks. Extending the robustness to targeted attacks would be a valuable future direction.
Summary updated