Rethinking the Trigger-injecting Position in Graph Backdoor Attack

Jing Xu, Gorka Abad, Stjepan Picek · DOI

Abstract

Backdoor attacks pose a significant security risk to Graph Neural Networks (GNNs), where malicious triggers cause models to misclassify specific inputs while maintaining normal performance on clean data. Traditional GNN backdoor attacks often inject triggers into random feature positions. This study investigates whether the importance of the features being overwritten influences attack effectiveness. By utilizing GNNExplainer to identify feature importance, we compare the Most Important Area Strategy (MIAS) and the Least Important Area Strategy (LIAS). Our findings reveal that LIAS consistently outperforms MIAS by avoiding "feature conflict," achieving higher Attack Success Rates (ASR) with minimal impact on clean accuracy.

1. Introduction

Graph Neural Networks (GNNs) have become the standard for processing non-Euclidean data, such as social networks and citation graphs. However, their vulnerability to backdoor attacks—where a model is trained to respond to a specific trigger pattern—remains a critical concern. Unlike image-based backdoor attacks that can rely on fixed spatial coordinates (e.g., a pixel patch in the corner), graphs lack a rigid structure, leading many researchers to adopt random feature injection strategies.

This paper challenges the assumption that injection position is secondary. We explore the relationship between feature importance and trigger efficacy, asking whether an attacker should target the features a model relies on most or those it largely ignores.

2. Methodology

The core of our approach involves using GNNExplainer, an explainability tool that identifies which node features are most influential for a GNN's predictions. We propose two distinct strategies for trigger injection:

  1. Most Important Area Strategy (MIAS): The attacker identifies the top $n$ features that contribute most significantly to a clean model's classification and replaces them with the trigger pattern.
  2. Least Important Area Strategy (LIAS): The attacker targets the $n$ features that the clean model considers least relevant, effectively placing the trigger in the "background" of the node's feature space.

To evaluate the internal mechanics of these attacks, we introduce the Recall Score (RS). This metric quantifies the overlap between the features modified by the attacker (the target mask) and the features the backdoored model utilizes during a poisoned prediction (the predicted mask). A high RS indicates that the model has successfully learned to prioritize the trigger over original node features.

3. Experimental Setup

We evaluated our strategies on two benchmark citation datasets:

  • Cora: 2,708 nodes, 1,433 features.
  • CiteSeer: 3,327 nodes, 3,703 features.

In these datasets, features represent the presence of specific words in publications. We tested the attacks against two widely used architectures: Graph Convolutional Networks (GCN) and Graph Attention Networks (GAT).

4. Key Results

4.1 Attack Success Rate (ASR)

The experimental results demonstrate a clear advantage for LIAS. On the Cora dataset using a GCN, LIAS achieved an ASR of 98.65%, significantly higher than the 90.08% achieved by MIAS. While GAT models showed high vulnerability to both strategies (ranging from 97% to 99%), LIAS maintained a consistent performance edge.

4.2 Clean Accuracy Drop (CAD)

A critical requirement for a successful backdoor is stealth. Both MIAS and LIAS proved highly stealthy, with the Clean Accuracy Drop (CAD) remaining below 1% across all tests. This ensures the poisoned model remains indistinguishable from a clean model during standard inference tasks.

4.3 Recall Analysis

The Recall Score analysis confirmed that successfully poisoned samples exhibited high RS values. This validates that the backdoored models were indeed focusing on the injected triggers rather than the original node features to make malicious predictions.

5. Discussion: Why LIAS Outperforms MIAS

The superiority of LIAS can be attributed to the Feature Conflict phenomenon. In MIAS, the trigger competes with the node's original, highly influential features. If these original features are sufficiently strong, the model may still correctly classify the node despite the presence of the trigger, causing the attack to fail.

Conversely, LIAS utilizes "empty space" in the model's decision-making process. By injecting triggers into previously ignored dimensions, the attacker avoids conflict with established classification logic. The model learns to associate these "silent" features exclusively with the malicious target label, leading to a more robust and effective backdoor.

6. Conclusion and Future Work

This research demonstrates that the position of trigger injection is a vital factor in GNN backdoor attacks. By leveraging explainability tools like GNNExplainer, attackers can optimize their strategies to bypass model logic more effectively.

Future research should investigate whether these insights extend to graph-level classification, where triggers may involve structural changes rather than node feature modifications. Additionally, these findings suggest that monitoring feature importance during training could serve as a potential defense mechanism to detect anomalous shifts indicating a backdoor injection.

Summary updated

BibTeX
@inproceedings{xu2023rethinking,
  author = {Jing Xu and Gorka Abad and Stjepan Picek},
  title = {{Rethinking the Trigger-injecting Position in Graph Backdoor Attack}},
  booktitle = {IJCNN},
  year = {2023},
  doi = {10.1109/ijcnn54540.2023.10191949},
}
Figure