Skip to main content
QUICK REVIEW

[Paper Review] Jointly Attacking Graph Neural Network and its Explanations

Wenqi Fan, Wei Jin|arXiv (Cornell University)|Aug 7, 2021
Adversarial Robustness in Machine LearningComputer Science50 references6 citations
TL;DR

This paper proposes GEAttack, a novel adversarial attack framework that jointly compromises both Graph Neural Networks (GNNs) and their explanations (GnnExplainer and PGExplainer) by simultaneously evading detection and manipulating model predictions. The method uses a differentiable, end-to-end optimization process that balances attacking the GNN and bypassing the explainer, achieving 99.34% attack success rate and 4.65% precision on the CITESEER dataset while evading explanation-based detection.

ABSTRACT

Graph Neural Networks (GNNs) have boosted the performance for many graph-related tasks. Despite the great success, recent studies have shown that GNNs are highly vulnerable to adversarial attacks, where adversaries can mislead the GNNs' prediction by modifying graphs. On the other hand, the explanation of GNNs (GNNExplainer) provides a better understanding of a trained GNN model by generating a small subgraph and features that are most influential for its prediction. In this paper, we first perform empirical studies to validate that GNNExplainer can act as an inspection tool and have the potential to detect the adversarial perturbations for graphs. This finding motivates us to further initiate a new problem investigation: Whether a graph neural network and its explanations can be jointly attacked by modifying graphs with malicious desires? It is challenging to answer this question since the goals of adversarial attacks and bypassing the GNNExplainer essentially contradict each other. In this work, we give a confirmative answer to this question by proposing a novel attack framework (GEAttack), which can attack both a GNN model and its explanations by simultaneously exploiting their vulnerabilities. Extensive experiments on two explainers (GNNExplainer and PGExplainer) under various real-world datasets demonstrate the effectiveness of the proposed method.

Motivation & Objective

  • To investigate whether GNNs and their explanations can be jointly attacked through graph perturbations with malicious intent.
  • To address the inherent conflict between maximizing GNN attack success and minimizing detectability by GnnExplainer.
  • To develop a unified framework that simultaneously compromises both the GNN model and its explanation module.
  • To evaluate the effectiveness of the proposed method under multiple metrics, including attack success rate, precision, recall, F1, and NDCG.
  • To analyze the trade-off between attacking the GNN and evading explanation-based detection through a hyperparameter λ.

Proposed method

  • GEAttack formulates a joint optimization objective that combines GNN attack loss and GnnExplainer evasion loss using a differentiable relaxation of the subgraph selection process.
  • The method uses a gradient-based optimization to generate adversarial edges that maximize the GNN's misclassification while minimizing the likelihood of being selected in the explanation subgraph.
  • It introduces a hyperparameter λ to balance the trade-off between attacking the GNN (ASR) and evading the explainer (precision/recall/F1/NDCG).
  • The framework is applied end-to-end to real-world graph datasets, with adversarial edges added to target nodes to manipulate predictions.
  • The approach is evaluated on both GnnExplainer and PGExplainer, demonstrating robustness across different explanation methods.
  • The model is trained using a differentiable relaxation of the explanation subgraph selection, enabling backpropagation through the explanation module.

Experimental results

Research questions

  • RQ1Can adversarial perturbations be crafted to simultaneously fool a GNN model and evade detection by GnnExplainer?
  • RQ2What is the trade-off between maximizing GNN attack success and minimizing detectability by explanation methods?
  • RQ3How effective is GEAttack in jointly compromising both the GNN and its explanation compared to existing baselines?
  • RQ4How does the hyperparameter λ influence the balance between attacking the GNN and evading the explainer?
  • RQ5Can the proposed method successfully evade explanation-based inspection tools while maintaining high attack success on the GNN?

Key findings

  • GEAttack achieves a 99.34% attack success rate (ASR) and 99.34% targeted attack success rate (ASR-T) on the CITESEER dataset, outperforming all baselines.
  • On CITESEER, GEAttack achieves a precision of 4.65% and F1 of 7.47% when attacking PGExplainer, indicating effective evasion of explanation detection.
  • The method maintains 100% ASR-T when λ = 20, but performance drops to 95% at λ = 50, demonstrating a clear trade-off between attack strength and evasion.
  • The F1 and NDCG scores for explanation detection remain stable for λ > 50, suggesting that higher λ values enhance evasion capability.
  • GEAttack significantly outperforms FGA, Nettack, and IG-Attack in both attack success and evasion metrics, especially on the F1 and NDCG scores.
  • Empirical studies confirm that GnnExplainer can detect adversarial edges when they are influential, validating its role as an inspection tool and motivating the need for joint attacks.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.