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

在无服务器联邦学习中使用知识蒸馏训练异构客户端模型

Training Heterogeneous Client Models using Knowledge Distillation in Serverless Federated Learning

Technische Universität München(慕尼黑工业大学);Huawei Technologies(华为技术有限公司)

Mohak Chadha, Pulkit Khera, Jianfeng Gu, Osama Abboud, Michael Gerndt

AI总结:

针对无服务器联邦学习中客户端模型异构性挑战,本文利用知识蒸馏技术优化FedMD和FedDF的无服务器工作流,实验表明优化后的无服务器FedDF在鲁棒性、速度和成本上均优于FedMD。

摘要:

联邦学习(FL)是一种新兴的机器学习范式,能够在保持数据去中心化的同时,跨分布式客户端协作训练共享的全局模型。关于设计高效FL系统的近期研究表明,利用无服务器计算技术,特别是用于FL的函数即服务,能够提高资源效率,降低训练成本,并减轻数据持有者复杂的基础设施管理负担。然而,现有的无服务器FL系统隐含地假设所有参与的客户端在训练期间具有统一的全局模型架构。由于FL客户端之间存在资源和统计数据的异构性,这一假设未能解决实际FL中的根本挑战。为了应对这些挑战并在无服务器FL中实现异构客户端模型,我们在本文中利用了知识蒸馏(KD)。为此,我们针对两种流行的传统联邦KD技术,即FedMD和FedDF,提出了新颖的优化无服务器工作流。我们通过对名为FedLess的开源无服务器FL系统引入多项扩展来实现这些工作流。此外,我们使用异构客户端模型,在多个数据集和不同级别的客户端数据异构性上,从准确率、细粒度训练时间和成本方面全面评估了这两种策略。实验结果表明,无服务器FedDF对极端非独立同分布数据分布具有更强的鲁棒性,速度更快,且成本低于无服务器FedMD。此外,与原始实现相比,我们对FedMD和FedDF中特定步骤的优化在所有数据集上分别实现了3.5倍和1.76倍的平均加速。

英文摘要:

Federated Learning (FL) is an emerging machine learning paradigm that enables the collaborative training of a shared global model across distributed clients while keeping the data decentralized. Recent works on designing systems for efficient FL have shown that utilizing serverless computing technologies, particularly Function-as-a-Service (FaaS) for FL, can enhance resource efficiency, reduce training costs, and alleviate the complex infrastructure management burden on data holders. However, existing serverless FL systems implicitly assume a uniform global model architecture across all participating clients during training. This assumption fails to address fundamental challenges in practical FL due to the resource and statistical data heterogeneity among FL clients. To address these challenges and enable heterogeneous client models in serverless FL, we utilize Knowledge Distillation (KD) in this paper. Towards this, we propose novel optimized serverless workflows for two popular conventional federated KD techniques, i.e., FedMD and FedDF. We implement these workflows by introducing several extensions to an open-source serverless FL system called FedLess. Moreover, we comprehensively evaluate the two strategies on multiple datasets across varying levels of client data heterogeneity using heterogeneous client models with respect to accuracy, fine-grained training times, and costs. Results from our experiments demonstrate that serverless FedDF is more robust to extreme non-IID data distributions, is faster, and leads to lower costs than serverless FedMD. In addition, compared to the original implementation, our optimizations for particular steps in FedMD and FedDF lead to an average speedup of 3.5x and 1.76x across all datasets.

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

↑