- Pytorch 1.9.0
- numpy 1.21.2
- scikit-learn 1.2.0
- pandas 1.3.2
Unzip "pickled_mnist.pkl.zip" and run the dataset name.
- mnist.py
- CGD experiment scripts: Start with cgd, followed by '_', then the dataset name.
- cgd_cifar.py
- FedAvg experiment scripts: Start with fedavg, followed by '_', then the dataset name.
- fedavg_cifar.py
Collected in ./output, columns including epoch test_acc test_loss train_acc train_loss mia_acc idv_acc The first 5 columns are semantically self-explained. The mia_acc column shows the membership inference attack prediction accuracy (attack accuracy). The idv_acc shows the individual prediction accuracy for different CGD members. This column is not meaningful for FedAvg trainings.