arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2312.15375cs.LGcs.CRcs.DC
收藏

联邦学习算法的效率与隐私实证研究

An Empirical Study of Efficiency and Privacy of Federated Learning Algorithms

School of EECS QMUL(伦敦玛丽女王大学电子工程与计算机科学学院);Collaboratory TU-Dublin(都柏林理工大学合作实验室)

Sofia Zahri, Hajar Bennouri, Ahmed M. Abdelmoniem

AI总结:

本研究实证评估联邦学习算法FedAvg和FedProx在物联网数据上的效率与隐私,通过数学基础和模拟实验,比较准确率、损失及差分隐私权衡,证明其高效且保护隐私的潜力。

摘要:

在当今世界,物联网网络的快速扩展和智能设备在我们日常生活中的普及,导致了大量异构数据的产生。这些数据形成了一种需要特殊处理的数据流。为了有效处理这些数据,需要先进的数据处理技术来确保隐私和效率的双重保障。联邦学习作为一种分布式学习方法应运而生,它在本地训练模型并在服务器上聚合,以保护数据隐私。本文展示了两个说明性场景,凸显了联邦学习(FL)作为在物联网网络中实现高效且保护隐私的机器学习的关键方法的潜力。我们首先给出了联邦学习中关键聚合算法(即FedAvg和FedProx)的数学基础。然后,我们使用Flower框架进行模拟,通过在常见数据集上训练深度神经网络来展示这些算法的效率,并比较了FedAvg和FedProx的准确率和损失指标。接着,我们通过涉及在Pytorch和Opacus机器学习框架中对常见联邦学习数据集和数据分布实施差分隐私(DP)方法的模拟,展示了在保持隐私与准确性之间权衡的结果,这些模拟针对FedAvg和FedProx两种策略进行。

英文摘要:

In today's world, the rapid expansion of IoT networks and the proliferation of smart devices in our daily lives, have resulted in the generation of substantial amounts of heterogeneous data. These data forms a stream which requires special handling. To handle this data effectively, advanced data processing technologies are necessary to guarantee the preservation of both privacy and efficiency. Federated learning emerged as a distributed learning method that trains models locally and aggregates them on a server to preserve data privacy. This paper showcases two illustrative scenarios that highlight the potential of federated learning (FL) as a key to delivering efficient and privacy-preserving machine learning within IoT networks. We first give the mathematical foundations for key aggregation algorithms in federated learning, i.e., FedAvg and FedProx. Then, we conduct simulations, using Flower Framework, to show the \textit{efficiency} of these algorithms by training deep neural networks on common datasets and show a comparison between the accuracy and loss metrics of FedAvg and FedProx. Then, we present the results highlighting the trade-off between maintaining privacy versus accuracy via simulations - involving the implementation of the differential privacy (DP) method - in Pytorch and Opacus ML frameworks on common FL datasets and data distributions for both FedAvg and FedProx strategies.

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

↑