Abstract
Graph Neural Networks (GNNs) have shown remarkable performance in various tasks. However, recent works reveal that GNNs are vulnerable to backdoor attacks. Generally, a backdoor attack poisons the graph by attaching backdoor triggers and the target class label to a set of nodes in the training graph. A GNN trained on the poisoned graph will then be misled to predict test nodes attached with triggers to the target class. Despite their effectiveness, our empirical analysis shows that triggers generated by existing methods tend to be out-of-distribution (OOD), which significantly differ from the clean data. Hence, these injected triggers can be easily detected and pruned with widely used outlier detection methods in real-world applications. Therefore, in this paper, we study a novel problem of unnoticeable graph backdoor attacks with in-distribution (ID) triggers. To generate ID triggers, we introduce an OOD detector in conjunction with an adversarial learning strategy to generate the attributes of the triggers within distribution. To ensure a high attack success rate with ID triggers, we introduce novel modules designed to enhance trigger memorization by the victim model trained on the poisoned graph. Extensive experiments on real-world datasets demonstrate the effectiveness of the proposed method in generating in-distribution triggers that can bypass various defense strategies while maintaining a high attack success rate.
Introduction
As Graph Neural Networks (GNNs) find increasing deployment in critical domains such as financial fraud detection and social network analysis, their security becomes paramount. Backdoor attacks represent a particularly insidious threat, where a model behaves normally on clean data but misclassifies inputs containing a specific "trigger" into a target class chosen by the adversary.
The primary limitation of current state-of-the-art (SOTA) graph backdoor attacks, such as GTA and UGBA, is their lack of stealth. These methods typically generate triggers that are statistically distinct from the underlying data distribution. Consequently, they are easily identified by standard Outlier Detection (OD) algorithms, which can prune the poisoned nodes before the model is even trained, rendering the attack ineffective.
DPGBA: Distribution-Preserving Graph Backdoor Attack
To address the "loudness" of existing attacks, we propose DPGBA. The core philosophy of DPGBA is to generate in-distribution (ID) triggers that are indistinguishable from clean nodes to automated defenders.
Adversarial Trigger Generation
DPGBA utilizes a bi-level optimization framework. We train a Trigger Generator (an MLP) in an adversarial fashion against an OOD Detector. The detector attempts to distinguish between clean node features and generated trigger features, while the generator learns to produce features that minimize the detector's accuracy. This "cat-and-mouse" game forces the trigger features to align with the statistical properties of the original graph.
Enhancing Trigger Memorization
Because ID triggers are designed to look like normal data, they are inherently harder for a model to distinguish as a "special" signal. To counteract this, DPGBA introduces a specialized loss function that encourages the surrogate GNN to map all poisoned nodes to a similar region in the embedding space. This reinforces the trigger as a dominant feature, ensuring high memorization by the victim model.
Difficulty-Based Weighting
The attack further optimizes effectiveness by assigning higher weights to "hard" nodes—those that the model correctly classifies despite the presence of the trigger. This adaptive strategy ensures the generator focuses on the most resilient parts of the dataset.
Visualizing Stealth
The fundamental difference between DPGBA and previous methods is best captured through the distribution of node features.
As shown in the PCA visualizations, methods like GTA and UGBA create isolated clusters of triggers (red dots) far removed from the clean data (blue dots). In contrast, DPGBA's triggers are embedded directly within the clean distribution, making them invisible to outlier detection.
Experimental Evaluation
We evaluated DPGBA on four benchmarks: Cora, Pubmed, Flickr, and OGB-arxiv.
Resilience to Defense
The most significant finding is DPGBA's performance under active defense. We tested against seven SOTA outlier detectors, including DOMINANT and GAAN.
- Baseline Performance: On the Pubmed dataset, most attacks achieve an Attack Success Rate (ASR) near 90% without defense.
- Under Defense: When outlier detection is applied, the ASR for GTA and UGBA drops to 0% as their triggers are successfully pruned. DPGBA, however, maintains an ASR of 91%, effectively bypassing all tested defenders.
Transferability
Triggers generated by DPGBA using a simple GCN surrogate model proved highly effective when transferred to other architectures, including GraphSAGE and GAT, demonstrating the robustness of the distribution-preserving approach.
Conclusion
DPGBA demonstrates that graph backdoor attacks do not need to be "loud" to be effective. By leveraging adversarial learning to preserve the data distribution, attackers can bypass sophisticated outlier detection systems. This work highlights a critical blind spot in current GNN defenses and underscores the need for more robust, distribution-aware security measures.
Summary updated