arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2310.15329cs.LGcs.AI
收藏

基于 flwr-serverless 的无服务器联邦学习

Serverless Federated Learning with flwr-serverless

Sanjeev V. Namjoshi, Reese Green, Krishi Sharma, Zhangzhang Si

AI总结:

本文提出 flwr-serverless 框架,通过包装 Flower 包实现同步与异步联邦学习,支持无中央服务器运行,降低训练成本并提升可访问性。

摘要:

随着个人身份信息数据收集和存储的激增,联邦学习正变得日益相关和普及。与此同时,世界各国政府提出了许多旨在为个人数据提供更多保护的提案,对数据隐私措施的兴趣也日益浓厚。随着深度学习在新兴和现有领域中的重要性不断提升,开发像联邦学习这样的策略至关重要,该策略能够有效训练来自不同来源(如边缘设备)的数据,而不损害安全性和隐私。最近,引入了 Flower(\ exttt{Flwr})Python 包,为实现联邦学习提供了一个可扩展、灵活且易于使用的框架。然而,迄今为止,Flower 仅能运行同步联邦学习,由于该过程会受到缓慢或脆弱的客户端训练任务的瓶颈限制,因此运行成本高昂且耗时。在此,我们引入了 \ exttt{flwr-serverless},这是 Flower 包的一个包装器,它扩展了其功能,允许在极少修改 Flower 设计范式的情况下进行同步和异步联邦学习。此外,我们的联邦学习方法允许该过程在无中央服务器的情况下运行,从而扩大了其应用领域和可访问性。本文通过一系列使用公共数据集进行的实验,展示了该方法的设计细节和用法。总体而言,我们认为我们的方法减少了联邦训练的时间和成本,并提供了一种更简单的方法来实施和实验联邦学习系统。

英文摘要:

Federated learning is becoming increasingly relevant and popular as we witness a surge in data collection and storage of personally identifiable information. Alongside these developments there have been many proposals from governments around the world to provide more protections for individuals' data and a heightened interest in data privacy measures. As deep learning continues to become more relevant in new and existing domains, it is vital to develop strategies like federated learning that can effectively train data from different sources, such as edge devices, without compromising security and privacy. Recently, the Flower (\texttt{Flwr}) Python package was introduced to provide a scalable, flexible, and easy-to-use framework for implementing federated learning. However, to date, Flower is only able to run synchronous federated learning which can be costly and time-consuming to run because the process is bottlenecked by client-side training jobs that are slow or fragile. Here, we introduce \texttt{flwr-serverless}, a wrapper around the Flower package that extends its functionality to allow for both synchronous and asynchronous federated learning with minimal modification to Flower's design paradigm. Furthermore, our approach to federated learning allows the process to run without a central server, which increases the domains of application and accessibility of its use. This paper presents the design details and usage of this approach through a series of experiments that were conducted using public datasets. Overall, we believe that our approach decreases the time and cost to run federated training and provides an easier way to implement and experiment with federated learning systems.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑