[Paper Review] Defending Against Backdoor Attack on Graph Nerual Network by Explainability
This paper proposes the first explainability-driven defense against backdoor attacks on Graph Neural Networks (GNNs). By leveraging explainability scores (ES) to detect subgraphs with high influence—indicating triggers—it identifies and removes malicious substructures in input graphs, significantly reducing attack success rates across multiple datasets while preserving clean sample accuracy.
Backdoor attack is a powerful attack algorithm to deep learning model. Recently, GNN's vulnerability to backdoor attack has been proved especially on graph classification task. In this paper, we propose the first backdoor detection and defense method on GNN. Most backdoor attack depends on injecting small but influential trigger to the clean sample. For graph data, current backdoor attack focus on manipulating the graph structure to inject the trigger. We find that there are apparent differences between benign samples and malicious samples in some explanatory evaluation metrics, such as fidelity and infidelity. After identifying the malicious sample, the explainability of the GNN model can help us capture the most significant subgraph which is probably the trigger in a trojan graph. We use various dataset and different attack settings to prove the effectiveness of our defense method. The attack success rate all turns out to decrease considerably.
Motivation & Objective
- To address the lack of backdoor detection and defense mechanisms for GNNs, especially in graph classification tasks.
- To identify backdoor triggers in GNNs that are stealthy and structurally diverse, evading traditional detection methods.
- To develop a defense that is robust across various trigger patterns and graph structures without relying on prior knowledge of the trigger.
- To maintain high model accuracy on clean samples while effectively neutralizing backdoor attacks.
Proposed method
- Introduce an Explainability Score (ES) to quantify the influence of subgraphs on GNN predictions, distinguishing between benign and malicious subgraphs.
- Use gradient-based explanation methods to identify the most influential subgraph (potential trigger) in each input graph.
- Apply adaptive sparsity control to remove edges in high-ES subgraphs, effectively destroying the trigger structure.
- Set a threshold on the maximum ES value observed in the validation set to classify incoming samples as clean or malicious.
- Leverage fidelity and infidelity metrics in explainability to detect structural anomalies caused by backdoor triggers.
- Defend by transforming trojaned samples into clean ones through targeted edge removal, invalidating the backdoor.
Experimental results
Research questions
- RQ1Can explainability metrics such as fidelity and infidelity effectively differentiate between benign and backdoored graph samples?
- RQ2Can a single, trigger-agnostic defense mechanism detect and remove diverse backdoor triggers in GNNs?
- RQ3Does removing high-ES subgraphs using adaptive sparsity effectively neutralize backdoor attacks without degrading clean sample performance?
- RQ4How does model expressivity affect the detectability and success rate of backdoor attacks in GNNs?
- RQ5What are the limitations of the method in detecting backdoors in sparse graphs?
Key findings
- The proposed method achieves low false acceptance rate (FAR) and low false rejection rate (FRR) across three real-world graph datasets under various attack settings.
- Attack success rate (ASR) drops significantly after defense, especially when model expressivity is low, indicating that backdoor learning is sensitive to model capacity.
- When model parameters are small (e.g., 4611), ASR rises slowly and remains low even after high clean accuracy is achieved, suggesting early stopping can mitigate attacks.
- With higher model expressivity (e.g., 27973 parameters), ASR increases rapidly and correlates strongly with clean accuracy, indicating easier trigger learning.
- The method performs poorly on sparse graphs, where edge removal is more damaging and triggers are harder to isolate, as shown in the distribution of undetected malicious samples.
- Larger triggers accelerate ASR growth but reduce concealment, indicating a trade-off for attackers that may inform future defense strategies.
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.