FLoX: Federated Learning with FaaS at the Edge
FLoX: Federated Learning with FaaS at the Edge
复制标题
DOI:
10.1109/escience55777.2022.00016
复制
发表时间:
2022-10
期刊:
影响因子:
--
通讯作者:
Nikita Kotsehub;Matt Baughman;Ryan Chard;Nathaniel Hudson;Panos Patros;Omer F. Rana;I. Foster;K. Chard
中科院分区:
文献类型:
--
作者:
Nikita Kotsehub;Matt Baughman;Ryan Chard;Nathaniel Hudson;Panos Patros;Omer F. Rana;I. Foster;K. Chard
Federated learning (FL) is a technique for distributed machine learning that enables the use of siloed and distributed data. With FL, individual machine learning models are trained separately and then only model parameters (e.g., weights in a neural network) are shared and aggregated to create a global model, allowing data to remain in its original environment. While many applications can benefit from FL, existing frameworks are incomplete, cumbersome, and environment-dependent. To address these issues, we present FLoX, an FL framework built on the funcX federated serverless computing platform. FLoX decouples FL model training/inference from infrastructure management and thus enables users to easily deploy FL models on one or more remote computers with a single line of Python code. We evaluate FLoX using three benchmark datasets deployed on ten heterogeneous and distributed compute endpoints. We show that FLoX incurs minimal overhead, especially with respect to the large communication overheads between endpoints for data transfer. We show how balancing the number of samples and epochs with respect to the capacities of participating endpoints can significantly reduce training time with minimal reduction in accuracy. Finally, we show that global models consistently outperform any single model on average by 8%.