[Paper Review] Black-box Gradient Attack on Graph Neural Networks: Deeper Insights in Graph-based Attack and Defense
This paper proposes the Black-Box Gradient Attack (BBGA), the first gradient-based black-box attack on graph neural networks that does not require access to training data, model parameters, or query-based feedback. By leveraging spectral clustering to generate pseudo-labels and a k-fold greedy strategy, BBGA achieves even perturbation distribution across graphs, outperforming existing methods in misclassification rates without relying on the training set.
Graph Neural Networks (GNNs) have received significant attention due to their state-of-the-art performance on various graph representation learning tasks. However, recent studies reveal that GNNs are vulnerable to adversarial attacks, i.e. an attacker is able to fool the GNNs by perturbing the graph structure or node features deliberately. While being able to successfully decrease the performance of GNNs, most existing attacking algorithms require access to either the model parameters or the training data, which is not practical in the real world. In this paper, we develop deeper insights into the Mettack algorithm, which is a representative grey-box attacking method, and then we propose a gradient-based black-box attacking algorithm. Firstly, we show that the Mettack algorithm will perturb the edges unevenly, thus the attack will be highly dependent on a specific training set. As a result, a simple yet useful strategy to defense against Mettack is to train the GNN with the validation set. Secondly, to overcome the drawbacks, we propose the Black-Box Gradient Attack (BBGA) algorithm. Extensive experiments demonstrate that out proposed method is able to achieve stable attack performance without accessing the training sets of the GNNs. Further results shows that our proposed method is also applicable when attacking against various defense methods.
Motivation & Objective
- To investigate the limitations of existing grey-box attacks like Mettack, which rely heavily on training set information and produce uneven perturbations.
- To develop a black-box attack method that operates without access to model parameters, training data, or query-based feedback, enabling practical adversarial attacks.
- To design a surrogate model training strategy using pseudo-labels derived from spectral clustering to enable gradient-based optimization in black-box settings.
- To evaluate the robustness of BBGA against multiple defense mechanisms, including GCN-Jaccard, R-GCN, and Pro-GNN.
- To provide deeper insights into the vulnerability of GNNs by analyzing the spatial distribution of adversarial perturbations and their dependence on training data.
Proposed method
- Utilizes spectral clustering with a fixed gamma parameter (γ = 0.001) to group nodes into k clusters, enabling the creation of pseudo-labels without ground-truth labels.
- Applies a k-fold greedy strategy to select partitions for meta-gradient computation, ensuring diverse and effective perturbation directions across the graph.
- Employs a surrogate model trained on pseudo-labeled data to approximate gradients for structural perturbations, enabling gradient-based optimization in the absence of true labels.
- Introduces a filtering mechanism to exclude low-variance node-pairs in the gradient update process, improving attack efficiency and stability.
- Uses a meta-gradient update rule that combines multiple partitions' gradients to guide edge modifications, ensuring even distribution of perturbations.
- Employs a perturbation rate control mechanism with T=100 iterations and η=0.01 to balance attack strength and model generalization.
Experimental results
Research questions
- RQ1How do existing grey-box attacks like Mettack distribute perturbations across the graph, and what are the implications of their unevenness?
- RQ2Can a gradient-based black-box attack be developed without access to training data, model parameters, or query-based feedback?
- RQ3Does the use of pseudo-labels from spectral clustering enable effective surrogate model training for black-box attacks?
- RQ4How does the proposed BBGA method perform against various defense mechanisms such as GCN-Jaccard, R-GCN, and Pro-GNN?
- RQ5What is the impact of key hyperparameters like k (number of partitions) and filtering low-variance edges on attack performance?
Key findings
- The Mettack attack produces uneven perturbations that are denser near the training set, making it highly dependent on the specific training split.
- Training GNNs on the validation set alone significantly improves robustness against Mettack, demonstrating a simple yet effective defense strategy.
- BBGA achieves a 20% higher misclassification rate than baseline methods in several experimental settings when attacking the original GCN model.
- BBGA outperforms all baselines in attacking both clean and defended models, including R-GCN and Pro-GNN, across Cora, Citeseer, and Cora-ML datasets.
- Ablation studies show that both the k-fold greedy selection and the filtering of low-variance node-pairs are critical for high attack performance.
- Parameter analysis reveals that attack performance increases with k up to a point, and k=5 offers the best trade-off between performance and training time.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.