mlsanityData to 7 Oct 2026

Krait: A Backdoor Attack Against Graph Prompt Tuning

arXiv 2407.13068 ↗First posted 18 Jul 2024cs.LG cs.CRcited by 2

On the map: LLM safety and security → Backdoor and data poisoning attacks

Abstract (arXiv)

Graph prompt tuning has emerged as a promising paradigm to effectively transfer general graph knowledge from pre-trained models to various downstream tasks, particularly in few-shot contexts. However, its susceptibility to backdoor attacks, where adversaries insert triggers to manipulate outcomes, raises a critical concern. We conduct the first study to investigate such vulnerability, revealing that backdoors can disguise benign graph prompts, thus evading detection. We introduce Krait, a novel graph prompt backdoor. Specifically, we propose a simple yet effective model-agnostic metric called label non-uniformity homophily to select poisoned candidates, significantly reducing computational complexity. To accommodate diverse attack scenarios and advanced attack types, we design three customizable trigger generation methods to craft prompts as triggers. We propose a novel centroid similarity-based loss function to optimize prompt tuning for attack effectiveness and stealthiness. Experiments on four real-world graphs demonstrate that Krait can efficiently embed triggers to merely 0.15% to 2% of training nodes, achieving high attack success rates without sacrificing clean accuracy. Notably, in one-to-one and all-to-one attacks, Krait can achieve 100% attack success rates by poisoning as few as 2 and 22 nodes, respectively. Our experiments further show that Krait remains potent across different transfer cases, attack types, and graph neural network backbones. Additionally, Krait can be successfully extended to the black-box setting, posing more severe threats. Finally, we analyze why Krait can evade both classical and state-of-the-art defenses, and provide practical insights for detecting and mitigating this class of attacks.

Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Placed in Backdoor and data poisoning attacks, one of 12 directions in LLM safety and security. Builds on 34 of its 52 references that are in the map. First posted on arXiv 18 Jul 2024.

Builds on

34 of 52 references.

Closest ancestors · 2

Same direction, newest first

  1. 2024Universal Vulnerabilities in Large Language Models: Backdoor Attacks for In-context Learning11 Jan
  2. 2023Prompt as Triggers for Backdoor Attack: Examining the Vulnerability in Language Models2 May

Other references · 32

  1. 2016Semi-Supervised Classification with Graph Convolutional Networkscited by 11,282
  2. 2017Graph Attention Networkscited by 8,854
  3. 2020Graph Contrastive Learning with Augmentationscited by 1,203
  4. 2018Pitfalls of Graph Neural Network Evaluationcited by 994
  5. 2016Revisiting Semi-Supervised Learning with Graph Embeddingscited by 970
  6. 2019Graph Neural Networks for Social Recommendationcited by 711
  7. 2020Masked Label Prediction: Unified Message Passing Model for Semi-Supervised Classificationcited by 500
  8. 2020GNNGuard: Defending Graph Neural Networks against Adversarial Attackscited by 195
  9. 2023Large Language Models on Graphs: A Comprehensive Surveycited by 190
  10. 2022Rethinking Graph Neural Networks for Anomaly Detectioncited by 185
  11. 2021Is Homophily a Necessity for Graph Neural Networks?cited by 182
  12. 2023GraphPrompt: Unifying Pre-Training and Downstream Tasks for Graph Neural Networkscited by 166
20 more
  1. 2023All in One: Multi-task Prompting for Graph Neural Networkscited by 147
  2. 2020Backdoor Attacks to Graph Neural Networkscited by 126
  3. 2020Graph Backdoorcited by 112
  4. 2022Universal Prompt Tuning for Graph Neural Networkscited by 100
  5. 2023PRODIGY: Enabling In-context Learning Over Graphscited by 97
  6. 2021Graph Representation Learning in Biomedicinecited by 79
  7. 2022Understanding and Improving Graph Injection Attack by Promoting Unnoticeabilitycited by 62
  8. 2023Graph Prompt Learning: A Comprehensive Survey and Beyondcited by 61
  9. 2023Virtual Node Tuning for Few-shot Node Classificationcited by 46
  10. 2023Unnoticeable Backdoor Attacks on Graph Neural Networkscited by 45
  11. 2021Explainability-based Backdoor Attacks Against Graph Neural Networkscited by 42
  12. 2022Marksman Backdoor: Backdoor Attacks with Arbitrary Target Classcited by 32
  13. 2023On Generalized Degree Fairness in Graph Neural Networkscited by 28
  14. 2023Class-Imbalanced Learning on Graphs: A Surveycited by 24
  15. 2022Transferable Graph Backdoor Attackcited by 19
  16. 2024A Simple and Yet Fairly Effective Defense for Graph Neural Networkscited by 12
  17. 2023Leveraging Label Non-Uniformity for Node Classification in Graph Neural Networkscited by 11
  18. 2023Contrastive Graph Prompt-tuning for Cross-domain Recommendationcited by 9
  19. 2023MMGPL: Multimodal Medical Data Analysis with Graph Prompt Learningcited by 7
  20. 2016Fast Deterministic Selectioncited by 3

Built on by

Cited by year

Citing papers per year: 2024: 2.

2 papers.