English

Secure Aggregation for Federated Learning in Flower

Machine Learning 2022-05-13 v1 Cryptography and Security

Abstract

Federated Learning (FL) allows parties to learn a shared prediction model by delegating the training computation to clients and aggregating all the separately trained models on the server. To prevent private information being inferred from local models, Secure Aggregation (SA) protocols are used to ensure that the server is unable to inspect individual trained models as it aggregates them. However, current implementations of SA in FL frameworks have limitations, including vulnerability to client dropouts or configuration difficulties. In this paper, we present Salvia, an implementation of SA for Python users in the Flower FL framework. Based on the SecAgg(+) protocols for a semi-honest threat model, Salvia is robust against client dropouts and exposes a flexible and easy-to-use API that is compatible with various machine learning frameworks. We show that Salvia's experimental performance is consistent with SecAgg(+)'s theoretical computation and communication complexities.

Keywords

Cite

@article{arxiv.2205.06117,
  title  = {Secure Aggregation for Federated Learning in Flower},
  author = {Kwing Hei Li and Pedro Porto Buarque de Gusmão and Daniel J. Beutel and Nicholas D. Lane},
  journal= {arXiv preprint arXiv:2205.06117},
  year   = {2022}
}

Comments

Accepted to appear in the 2nd International Workshop on Distributed Machine Learning

R2 v1 2026-06-24T11:15:32.818Z