In this work we propose a method for Compressed Private Aggregation for Scalable Federated Learning over Massive Networks (CPA), which allows large-scale deployments to simultaneously communicate at extremely low bit-rates while achieving privacy, anonymity, and resilience to malicious users. Please refer to our paper for more details.
This code has been tested on Python 3.7.3, PyTorch 1.8.0 and CUDA 11.1.
- PyTorch=1.8.0: https://pytorch.org
- scipy
- tqdm
- matplotlib
- torchinfo
- TensorboardX: https://github.com/lanpa/tensorboardX
python main.py --exp_name cpa --aggregation_method CPA --compression scalarQ --privacy RR --num_users 1000 --epsilon 0.5
python main.py --exp_name cpa --eval
