arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2305.10730cs.LG
收藏

聚合是唯一选择吗?基于逐层模型重组的联邦学习

Is Aggregation the Only Choice? Federated Learning via Layer-wise Model Recombination

Singapore Management University(新加坡管理大学);East China Normal University(华东师范大学);Nanyang Technological University(南洋理工大学);Kent State University(肯特州立大学)

Ming Hu, Zhihao Yue, Xiaofei Xie, Cheng Chen, Yihao Huang, Xian Wei, Xiang Lian, Yang Liu, Mingsong Chen

AI总结:

本文提出联邦模型重组方法 FedMR,通过逐层打乱本地模型生成多个重组模型,引导训练朝向平坦区域,从而在保护隐私的同时显著提升联邦学习的推理准确率。

摘要:

尽管联邦学习(FL)能够在不上传客户端原始数据的情况下实现全局模型训练,但由于客户端之间数据分布不均,现有的基于联邦平均(FedAvg)的方法存在推理性能较低的问题。具体而言,客户端之间不同的数据分布会导致本地模型具有不同的优化方向。对本地模型进行聚合通常会产生一个泛化能力较弱的全局模型,该模型在大多数客户端上的表现更差。为了解决上述问题,受几何视角观察的启发,即泛化良好的解位于平坦区域而非尖锐区域,我们提出了一种新颖且启发式的联邦学习范式,命名为 FedMR(联邦模型重组)。FedMR 的目标是引导重组后的模型朝向平坦区域进行训练。与传统的基于 FedAvg 的方法不同,在 FedMR 中,云服务器通过打乱所收集本地模型的每一层来生成多个重组模型,用于客户端的本地训练,而不是生成一个聚合后的全局模型。由于平坦区域的面积大于尖锐区域,当本地模型位于不同区域时,重组模型有更高的概率位于平坦区域。当所有重组模型都位于同一平坦区域时,它们会朝着相同的方向进行优化。我们从理论上分析了模型重组的收敛性。实验结果表明,与最先进的联邦学习方法相比,FedMR 能够在不暴露每个客户端隐私的情况下显著提高推理准确率。

英文摘要:

Although Federated Learning (FL) enables global model training across clients without compromising their raw data, due to the unevenly distributed data among clients, existing Federated Averaging (FedAvg)-based methods suffer from the problem of low inference performance. Specifically, different data distributions among clients lead to various optimization directions of local models. Aggregating local models usually results in a low-generalized global model, which performs worse on most of the clients. To address the above issue, inspired by the observation from a geometric perspective that a well-generalized solution is located in a flat area rather than a sharp area, we propose a novel and heuristic FL paradigm named FedMR (Federated Model Recombination). The goal of FedMR is to guide the recombined models to be trained towards a flat area. Unlike conventional FedAvg-based methods, in FedMR, the cloud server recombines collected local models by shuffling each layer of them to generate multiple recombined models for local training on clients rather than an aggregated global model. Since the area of the flat area is larger than the sharp area, when local models are located in different areas, recombined models have a higher probability of locating in a flat area. When all recombined models are located in the same flat area, they are optimized towards the same direction. We theoretically analyze the convergence of model recombination. Experimental results show that, compared with state-of-the-art FL methods, FedMR can significantly improve the inference accuracy without exposing the privacy of each client.

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

↑