Federated learning is a machine learning technique that enables training across decentralized data. Recently, federated learning has become an active area of research due to the increased concerns over privacy and security. In light of this, a variety of open source federated learning libraries have been developed and released. We introduce FedJAX, a JAX-based open source library for federated learning simulations that emphasizes ease-of-use in research. With its simple primitives for implementing federated learning algorithms, prepackaged datasets, models and algorithms, and fast simulation speed, FedJAX aims to make developing and evaluating federated algorithms faster and easier for researchers. Our benchmark results show that FedJAX can be used to train models with federated averaging on the EMNIST dataset in a few minutes and the Stack Overflow dataset in roughly an hour with standard hyperparmeters using TPUs.
翻译:联邦学习是一种机械学习技术,它使分散的数据能够进行培训。最近,联邦学习由于对隐私和安全的日益关注,已成为一个积极的研究领域。有鉴于此,已经开发并发行了各种开放源联学习图书馆。我们引入了基于JAX的开放源库FedJAX,这是一个基于JAX的开放源库,用于联邦学习模拟,强调在研究中容易使用。FedJAX的简单原始数据用于实施联邦学习算法、预先包装的数据集、模型和算法,以及快速模拟速度,其目的在于使研究人员更快和更容易地开发和评价联邦算法。我们的基准结果表明,FedJAX可以用来在几分钟内用EMNIST数据集平均化的模型来培训模型,并在大约一小时内用TUPS的标准超光度计来培训Stack 超流量数据集。