$\texttt{pfl-Research}$: Simulation Framework for Accelerating Research in Private Federated Learning
Abstract
Federated learning (FL) is an emerging machine learning (ML) training paradigm where clients own their data and collaborate to train a global model, without revealing any data to the server and other participants. Researchers commonly perform experiments in a simulation environment to quickly iterate on ideas. However, existing open-source tools do not offer the efficiency required to simulate FL on large and realistic FL datasets. We introduce $\texttt{pfl-research}$, a fast, modular, and easy-to-use Python framework for simulating FL. It supports TensorFlow, PyTorch, and non-neural network models, and is tightly integrated with state-of-the-art privacy algorithms. We study the speed of open-source FL frameworks and show that $\texttt{pfl-research}$ is 7-72$\times$ faster than alternative open-source frameworks on common cross-device setups. Such speedup will significantly boost the productivity of the FL research community and enable testing hypotheses on realistic FL datasets that were previously too resource intensive. We release a suite of benchmarks that evaluates an algorithm's overall performance on a diverse set of realistic scenarios.
Cite
Text
Granqvist et al. "$\texttt{pfl-Research}$: Simulation Framework for Accelerating Research in Private Federated Learning." NeurIPS 2024 Workshops: Federated_Learning, 2024.Markdown
[Granqvist et al. "$\texttt{pfl-Research}$: Simulation Framework for Accelerating Research in Private Federated Learning." NeurIPS 2024 Workshops: Federated_Learning, 2024.](https://mlanthology.org/neuripsw/2024/granqvist2024neuripsw-pflresearch/)BibTeX
@inproceedings{granqvist2024neuripsw-pflresearch,
title = {{$\texttt{pfl-Research}$: Simulation Framework for Accelerating Research in Private Federated Learning}},
author = {Granqvist, Filip and Song, Congzheng and Cahill, Áine and van Dalen, Rogier and Pelikan, Martin and Chan, Yi Sheng and Feng, Xiaojun and Krishnaswami, Natarajan and J, Vojta and Chitnis, Mona},
booktitle = {NeurIPS 2024 Workshops: Federated_Learning},
year = {2024},
url = {https://mlanthology.org/neuripsw/2024/granqvist2024neuripsw-pflresearch/}
}