arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2006.06983cs.LGcs.DCstat.ML
收藏

联邦学习中异质性对大规模智能手机数据的影响

Characterizing Impacts of Heterogeneity in Federated Learning upon Large-Scale Smartphone Data

Key Lab of High Confidence Software Technologies (Peking University)(高可信软件技术重点实验室(北京大学));State Key Laboratory of Networking and Switching Technology (BUPT)(网络与交换技术国家重点实验室(北京邮电大学));Department of Computer Science and Technology, Peking University(北京大学计算机科学技术系);Microsoft Research(微软研究院)

Chengxu Yang, Qipeng Wang, Mengwei Xu, Zhenpeng Chen, Kaigui Bian, Yunxin Liu, Xuanzhe Liu

摘要:

联邦学习(FL)是一种新兴的、保护隐私的机器学习范式,引起了学术界和工业界的极大关注。FL的一个独特特征是异质性,异质性存在于参与设备的各种硬件规格和动态状态中。从理论上讲,异质性会对外语训练过程产生巨大的影响,例如,导致设备不能用于训练或不能上传其模型更新。不幸的是,这些影响从来没有被系统地研究和量化在现有的FL文献。在本文中,我们进行了第一次实证研究,以表征异质性在FL的影响。我们收集了大规模的数据,从136k智能手机,可以忠实地反映在现实世界中的异质性设置。我们还建立了一个异质性感知FL平台,符合标准FL协议,但考虑到异质性。基于这些数据和平台,我们进行了大量的实验,以比较最先进的FL算法在异质性感知和异质性感知设置下的性能。结果表明,异构性导致FL的性能下降,包括高达9.2%的准确率下降,2.32倍的训练时间延长,并破坏了公平性。此外,我们分析了潜在的影响因素,发现设备故障和参与者偏见是性能下降的两个潜在因素。我们的研究提供了深刻的启示外语从业者。一方面,我们的研究结果表明,FL算法设计者在评估过程中考虑了必要的异质性。另一方面,我们的研究结果敦促系统提供商设计具体的机制,以减轻异质性的影响。

英文摘要:

Federated learning (FL) is an emerging, privacy-preserving machine learning paradigm, drawing tremendous attention in both academia and industry. A unique characteristic of FL is heterogeneity, which resides in the various hardware specifications and dynamic states across the participating devices. Theoretically, heterogeneity can exert a huge influence on the FL training process, e.g., causing a device unavailable for training or unable to upload its model updates. Unfortunately, these impacts have never been systematically studied and quantified in existing FL literature. In this paper, we carry out the first empirical study to characterize the impacts of heterogeneity in FL. We collect large-scale data from 136k smartphones that can faithfully reflect heterogeneity in real-world settings. We also build a heterogeneity-aware FL platform that complies with the standard FL protocol but with heterogeneity in consideration. Based on the data and the platform, we conduct extensive experiments to compare the performance of state-of-the-art FL algorithms under heterogeneity-aware and heterogeneity-unaware settings. Results show that heterogeneity causes non-trivial performance degradation in FL, including up to 9.2% accuracy drop, 2.32x lengthened training time, and undermined fairness. Furthermore, we analyze potential impact factors and find that device failure and participant bias are two potential factors for performance degradation. Our study provides insightful implications for FL practitioners. On the one hand, our findings suggest that FL algorithm designers consider necessary heterogeneity during the evaluation. On the other hand, our findings urge system providers to design specific mechanisms to mitigate the impacts of heterogeneity.

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

↑