Handcraft n backdoor critical routine paths with random mask
-
pre-train with square pattern (intensity:1)
-
find backdoor routing (based on weight/activation value, top-k (k=0.05) in each layer) using backdoor samples (using training data)
-
manipulate weights in backdoor routing (1.05x)
-
using the mask with a
$\alpha$ intensity (test data)
Train clean model: python main.py
Train backdoor model: python train_attack.py
HBCRP attack: python HBCRP_attack_activation.py
square pattern CIFAR-10 VGG-11 ResNet