Skip to content
/ CrossBA Public

Official Implementation of "Cross-Context Backdoor Attacks against Graph Prompt Learning"

Notifications You must be signed in to change notification settings

xtLyu/CrossBA

Repository files navigation

CrossBA

This is the official implementation of "Cross-Context Backdoor Attacks against Graph Prompt Learning"

We will further review the code and update the resources in the future.

ProG

python attack_to_pretrain_distribution.py --dataset CiteSeer --gnn_type TransformerConv --usage_par prompt --attack_type ours --makeTE trigger_graph --reg_param_trigger_n 0.05 --reg_param_trigger_f 0.05 --reg_param_gnn 0.5 --num_trigger_node 3 --defense_mode none --sim_thre 0 &

GraphPrompt

python graphprompt_distribution.py --dataset CiteSeer --gnn_type TransformerConv --usage_par www23 --attack_type ours --makeTE trigger_graph --reg_param_trigger_n 0.05 --reg_param_trigger_f 0.05 --reg_param_gnn 0.5 --num_trigger_node 3 --defense_mode none --sim_thre 0 &

About

Official Implementation of "Cross-Context Backdoor Attacks against Graph Prompt Learning"

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages