Skip to content

JeffffffFu/TC-UMIA

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TC-UMIA

This repository is the official implementation of the paper:

Revisiting Privacy Leakage in Machine Unlearning: Membership Inference Beyond the Forgotten Set

Installation

You can install all requirements with:

pip install -r requirements.txt
  1. Training target and shadow models.
python main.py --pre_train both --U_method retrain --dataset_name cifar10 --net_name resnet18 --num_epochs 50 --proportion_of_group_unlearn 0.02 --trials 3 --observations 5  --device cuda:0
python main.py --pre_train both --U_method retrain --dataset_name cifar100 --net_name resnet18 --num_epochs 50 --proportion_of_group_unlearn 0.02 --trials 3 --observations 5  --device cuda:0
python main.py --pre_train both --U_method retrain --dataset_name tinyimagenet --net_name resnet18 --num_epochs 50 --proportion_of_group_unlearn 0.02 --trials 3 --observations 5  --device cuda:0
python main.py --pre_train both --U_method retrain --dataset_name cinic10 --net_name resnet18 --num_epochs 50 --proportion_of_group_unlearn 0.02 --trials 3  --observations 5  --device cuda:0
  1. TC_UMIA
python main.py --attack_method TC_MIA --U_method retrain --dataset_name cifar10 --net_name resnet18  --trials 3 --proportion_of_group_unlearn 0.02 --observations 5 --device cuda:0
python main.py --attack_method TC_MIA --U_method retrain --dataset_name cifar10 --net_name resnet18  --trials 3 --proportion_of_group_unlearn 0.02 --observations 5 --device cuda:0
python main.py --attack_method TC_MIA --U_method retrain --dataset_name cifar10 --net_name resnet18  --trials 3 --proportion_of_group_unlearn 0.02 --observations 5 --device cuda:0
python main.py --attack_method TC_MIA --U_method retrain --dataset_name cifar10 --net_name resnet18  --trials 3 --proportion_of_group_unlearn 0.02 --observations 5 --device cuda:0

2.1 U_leak (baseline)

python main.py --attack_method U_Leak --U_method retrain --dataset_name cifar10 --net_name resnet18  --trials 3 --proportion_of_group_unlearn 0.02 --observations 5 --device cuda:0
python main.py --attack_method U_Leak --U_method retrain --dataset_name cifar10 --net_name resnet18  --trials 3 --proportion_of_group_unlearn 0.02 --observations 5 --device cuda:0
python main.py --attack_method U_Leak --U_method retrain --dataset_name cifar10 --net_name resnet18  --trials 3 --proportion_of_group_unlearn 0.02 --observations 5 --device cuda:0
python main.py --attack_method U_Leak --U_method retrain --dataset_name cifar10 --net_name resnet18  --trials 3 --proportion_of_group_unlearn 0.02 --observations 5 --device cuda:0

2.2 Double attack (baseline)

python main.py --attack_method Double_Attack --U_method retrain --dataset_name cifar10 --net_name resnet18  --trials 3 --proportion_of_group_unlearn 0.02 --observations 5 --device cuda:0
python main.py --attack_method Double_Attack --U_method retrain --dataset_name cifar10 --net_name resnet18  --trials 3 --proportion_of_group_unlearn 0.02 --observations 5 --device cuda:0
python main.py --attack_method Double_Attack --U_method retrain --dataset_name cifar10 --net_name resnet18  --trials 3 --proportion_of_group_unlearn 0.02 --observations 5 --device cuda:0
python main.py --attack_method Double_Attack --U_method retrain --dataset_name cifar10 --net_name resnet18  --trials 3 --proportion_of_group_unlearn 0.02 --observations 5 --device cuda:0

About

Revisiting Privacy Leakage in Machine Unlearning: Membership Inference Beyond the Forgotten Set (Euro S&P' 26)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages