Abstract
Graph Neural Networks (GNNs) are vulnerable to backdoor attacks, where adversaries implant malicious triggers to manipulate model predictions. Existing trigger generators are often simplistic in structure and overly reliant on specific features, confining them to a single graph learning paradigm, such as graph supervised learning, graph contrastive learning, or graph prompt learning. This specialized design results in poor transferability across paradigms. We propose Cross-Paradigm Graph Backdoor Attacks with Promptable Subgraph Triggers (CP-GBA), a new transferable graph backdoor attack that employs graph prompt learning (GPL) to train a set of universal subgraph triggers. CP-GBA distills a compact yet expressive trigger set and utilizes GPL to ensure effective generalization to diverse test-time paradigms. Extensive experiments show that CP-GBA achieves state-of-the-art attack success rates with significant efficiency gains.
Introduction
Graph Neural Networks (GNNs) have become essential in domains like financial fraud detection and social network analysis. However, they are susceptible to backdoor attacks, where an attacker implants a specific subgraph (trigger) into the training data. At inference time, the presence of this trigger in a target sample forces the model to output a malicious prediction.
A critical limitation of current attacks is their paradigm-specificity. Triggers designed for Graph Supervised Learning (GSL) often fail when the victim employs Graph Contrastive Learning (GCL) or Graph Prompt Learning (GPL) because different objectives map features into distinct latent spaces. CP-GBA addresses this by creating "universal" triggers that remain effective across these diverse learning paradigms.
Methodology
The CP-GBA framework consists of two main phases: Upstream Trigger Optimization and Downstream Attack Execution.
- Upstream (Trigger Distillation & Optimization): The process begins by distilling a Condensed Trigger Set ($\mathcal{T}$) from the target class. Using K-means clustering on subgraph embeddings, the method selects $K$ representative, feature-rich subgraphs to form a queryable repository. These triggers are then refined via bi-level optimization. The inner loop trains a surrogate classifier and graph prompts, while the outer loop updates the triggers to maximize transferability across latent representations. A stealthiness loss ensures the triggers blend into the original graph's feature distribution.
- Downstream (Attack Execution): During the attack, the adversary selects the most suitable trigger from the repository for a given target node based on cosine similarity. This rule-based selection ensures the trigger is both potent and naturally integrated into the node's neighborhood.
Experimental Evaluation and Results
The effectiveness of CP-GBA was evaluated on Cora, Pubmed, OGB-arxiv, and Facebook datasets against various defenses like edge pruning and outlier detection.
Key findings include:
- Superior Transferability: CP-GBA consistently outperformed state-of-the-art attacks like UGBA and GTA. On the Cora dataset under the GPL paradigm, CP-GBA achieved a 99% Attack Success Rate (ASR), significantly higher than competitors in cross-paradigm settings.
- Efficiency: By utilizing a pre-condensed repository, CP-GBA achieved an average 40.4% speedup in attack execution compared to adaptive generators.
- Robustness: The attack maintained high ASR (often >90%) even under advanced defense mechanisms like RIGBD.
Conclusion
CP-GBA introduces the first cross-paradigm graph backdoor attack by leveraging Graph Prompt Learning to optimize a repository of subgraph triggers. While currently requiring gray-box access to training data, it demonstrates remarkable transferability and efficiency. Future work will explore zero-data scenarios and cross-task attacks, such as moving from node classification to link prediction.
Summary updated