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(微软研究院)
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.
On-device Federated Learning in Smartphones for Detecting Depression from Reddit Posts
Ahsanullah University of Science and Technology(阿赫桑乌拉科技大学);Khulna University of Engineering & Technology(库尔纳工程技术大学);King Fahd University of Petroleum and Minerals(法赫德国王石油与矿产大学)
Addressing Skewed Heterogeneity via Federated Prototype Rectification with Personalization
School of Computer Science and Engineering, Southeast University(东南大学计算机科学与工程学院);Key Laboratory of New Generation Artificial Intelligence Technology and Its Interdisciplinary Applications (Southeast University), Ministry of Education, China(教育部新一代人工智能技术及其交叉应用重点实验室(东南大学))
Local Gradient Regulation Stabilizes Federated Learning under Client Heterogeneity
National Key Laboratory of Parallel and Distributed Computing, College of Computer Science and Technology, National University of Defense Technology(国家并行与分布式计算实验室,计算机科学与技术学院,国防科技大学)
Combating Exacerbated Heterogeneity for Robust Models in Federated Learning
Hong Kong Baptist University(香港浸会大学);Shanghai Jiao Tong University(上海交通大学);Shanghai AI Laboratory(上海人工智能实验室);The University of Sydney(悉尼大学);Tsinghua University(清华大学)
Virtual Homogeneity Learning: Defending against Data Heterogeneity in Federated Learning
Hong Kong Baptist University(香港浸会大学);The Hong Kong University of Science and Technology(香港科技大学);The Hong Kong University of Science and Technology (Guangzhou)(香港科技大学(广州))
Better Methods and Theory for Federated Learning: Compression, Client Selection and Heterogeneity
King Abdullah University of Science and Technology(阿卜杜拉国王科技大学)
联邦学习(FL)是涉及多个客户端的新兴机器学习范例,例如,移动电话设备,具有协作解决由中央服务器协调的机器学习问题的激励。FL是由Konečnet al.和McMahan et al.在2016年提出的,作为传统集中式机器学习的一种可行的隐私保护替代方案,因为通过构造,训练数据点是分散的,并且永远不会由客户端传输到中央服务器。因此,FL在一定程度上减轻了与集中式数据汇集相关的隐私风险。不幸的是,FL的优化面临着集中式优化通常不需要处理的几个特定问题。在这篇论文中,我们确定了这些挑战中的一些,并提出了新的方法和算法来解决这些问题,最终目标是使实际的FL解决方案支持数学上严格的保证。
Tackling Privacy Heterogeneity in Differentially Private Federated Learning
Department of Information Engineering, The Chinese University of Hong Kong(信息工程系,香港中文大学);School of Science and Engineering, Shenzhen Institute of Artificial Intelligence and Robotics for Society(科学与工程学院,深圳人工智能与机器人社会研究院)
A Unified Solution to Diverse Heterogeneities in One-shot Federated Learning
McGill University(麦吉尔大学);Mila-Quebec AI Institute(魁北克AI研究院);The University of Adelaide(阿德莱德大学);University of Southern Queensland(南方昆士兰大学);Deakin University(德肯大学);Monash University(墨尔本大学)
Advances in Robust Federated Learning: A Survey with Heterogeneity Considerations
School of Computer Science and Engineering, Sun Yat-sen University(中山大学计算机科学与工程学院);School of Software Engineering, Sun Yat-sen University(中山大学软件工程学院);School of Systems Science and Engineering, Sun Yat-sen University(中山大学系统科学与工程学院)
FedSPM: Routing-Enabled Federated Learning under Dual Heterogeneity via Semiparametric Mixture
Institute of Statistics and Big Data, Renmin University of China(中国人民大学统计与大数据研究院);Department of Statistics and Actuarial Science, University of Waterloo(滑铁卢大学统计与精算科学系)
Where to Begin? On the Impact of Pre-Training and Initialization in Federated Learning
Meta AI
联邦学习的一个经常提到的挑战是异质性的存在。\emph{Data heterogeneity}是指来自不同客户端的数据可能遵循非常不同的分布。\emph{System heterogeneity}是指具有不同系统能力的客户端设备。大量的联邦优化方法可以解决这一挑战。在文献中,经验评估通常从随机初始化开始联邦训练。然而,在联邦学习的许多实际应用中,服务器可以访问训练任务的代理数据,这些数据可以用于在开始联合训练之前预训练模型。使用四个标准的联邦学习基准数据集,我们实证研究了从联邦学习中的预训练模型开始的影响。不出所料,从预先训练的模型开始减少了达到目标出错率所需的训练时间,并且能够训练比从随机初始化开始时更准确的模型(高达40%)。令人惊讶的是,我们还发现,从预先训练的初始化开始联邦学习可以减少数据和系统异构性的影响。我们建议未来的工作提出和评估联邦优化方法,以评估从随机和预先训练的初始化开始时的性能。这项研究提出了几个问题,进一步了解联邦优化中的异构性的作用。\footnote{Our code is available at: \url{https://github.com/facebookresearch/where_to_begin}}