arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2403.02360cs.LGcs.AI
收藏

面向异构联邦学习的最优定制架构:基于对比云-边模型解耦

Towards Optimal Customized Architecture for Heterogeneous Federated Learning with Contrastive Cloud-Edge Model Decoupling

Southwestern University of Finance and Economics(西南财经大学);Beijing University of Posts and Telecommunications(北京邮电大学);City University of Hong Kong(香港城市大学)

Xingyan Chen, Tian Du, Mu Wang, Tiancheng Gu, Yu Zhao, Gang Kou, Changqiao Xu, Dapeng Oliver Wu

AI总结:

针对异构联邦学习中的非独立同分布数据与通信开销问题,提出 FedCMD 云边模型解耦框架,利用 Wasserstein 距离动态选择个性化层并加权聚合,在十个基准上优于九种现有方法。

摘要:

联邦学习作为一种前景广阔的分布式学习范式,能够在多个网络边缘客户端之间协同训练全局模型,而无需集中收集数据。然而,边缘数据分布的异构性会将模型拖向局部最小值,而这些局部最小值可能远离全局最优。这种异构性通常导致收敛缓慢和巨大的通信开销。为解决这些问题,我们提出了一种名为 FedCMD 的新型联邦学习框架,这是一种为云-边支持的联邦学习定制的模型解耦方法,将深度神经网络分离为在云端捕获共享表示的主体,以及用于缓解数据异构性的个性化头部。我们的动机在于,通过深入研究选择不同神经网络层作为个性化头部时的性能,我们发现当前研究中机械地将最后一层指定为个性化头部并不总是最优的。相反,有必要考虑相邻层之间的表示差异,动态选择使训练性能最大化的个性化层。为找到最优个性化层,我们利用每一层的低维表示来对比特征分布迁移,并引入一种基于 Wasserstein 的层选择方法,旨在识别最匹配的个性化层。此外,我们基于所选个性化层提出了一种加权全局聚合算法,以实现 FedCMD 的实际应用。在十个基准上进行的大量实验表明,与九种最先进方案相比,我们的方案具有高效率和优越性能。所有代码和结果均可在 https://github.com/elegy112138/FedCMD 获取。

英文摘要:

Federated learning, as a promising distributed learning paradigm, enables collaborative training of a global model across multiple network edge clients without the need for central data collecting. However, the heterogeneity of edge data distribution drags the model towards the local minima, which can be distant from the global optimum. Such heterogeneity often leads to slow convergence and substantial communication overhead. To address these issues, we propose a novel federated learning framework called FedCMD, a model decoupling tailored to the Cloud-edge supported federated learning that separates deep neural networks into a body for capturing shared representations in Cloud and a personalized head for migrating data heterogeneity. Our motivation is that, by the deep investigation of the performance of selecting different neural network layers as the personalized head, we found rigidly assigning the last layer as the personalized head in current studies is not always optimal. Instead, it is necessary to dynamically select the personalized layer that maximizes the training performance by taking the representation difference between neighbor layers into account. To find the optimal personalized layer, we utilize the low-dimensional representation of each layer to contrast feature distribution transfer and introduce a Wasserstein-based layer selection method, aimed at identifying the best-match layer for personalization. Additionally, a weighted global aggregation algorithm is proposed based on the selected personalized layer for the practical application of FedCMD. Extensive experiments on ten benchmarks demonstrate the efficiency and superior performance of our solution compared with nine state-of-the-art solutions. All code and results are available at https://github.com/elegy112138/FedCMD.

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

↑