arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2304.00759cs.LG
收藏

FedIN:面向模型异构性的联邦中间层学习

FedIN: Federated Intermediate Layers Learning for Model Heterogeneity

The University of Hong Kong(香港大学)

Yun-Hin Chan, Zhihan Jiang, Jing Deng, Edith C. -H. Ngai

AI总结:

针对联邦学习中需设备模型架构一致的局限,提出无需公共数据集的FedIN异构联邦学习方法,通过划分模型、IN训练对齐中间层并求解凸优化缓解梯度发散,性能优于现有最优算法。

摘要:

联邦学习(FL)支持边缘设备协同训练全局共享模型,同时保证训练数据留存本地且隐私安全。但联邦学习的一个常见假设要求参与的边缘设备具备相近的计算资源,且基于完全相同的全局模型架构进行训练。本研究提出一种名为Federated Intermediate Layers Learning(FedIN,联邦中间层学习)的联邦学习方法,无需依赖任何公共数据集即可支持异构模型。FedIN转而利用客户端模型特征中蕴含的固有知识来促进知识交互。FedIN中的训练模型被划分为三个不同的部分:提取器、中间层和分类器。我们通过提取提取器的输出与分类器的输入来捕获客户端特征。为了利用客户端特征中的知识,我们提出了IN训练方法,基于从其他客户端获取的特征来对齐中间层。IN训练仅需使用单批次客户端特征,因此仅产生极低的内存和通信开销。此外,我们构建并求解了一个凸优化问题,以缓解IN训练与本地训练之间的冲突所导致的梯度发散难题。实验结果表明,在异构模型环境中,FedIN的性能优于现有最优算法。此外,我们的消融实验验证了IN训练以及所提出的梯度发散缓解方案的有效性。

英文摘要:

Federated learning (FL) facilitates edge devices to cooperatively train a global shared model while maintaining the training data locally and privately. However, a common assumption in FL requires the participating edge devices to have similar computation resources and train on an identical global model architecture. In this study, we propose an FL method called Federated Intermediate Layers Learning (FedIN), supporting heterogeneous models without relying on any public dataset. Instead, FedIN leverages the inherent knowledge embedded in client model features to facilitate knowledge exchange. The training models in FedIN are partitioned into three distinct components: an extractor, intermediate layers, and a classifier. We capture client features by extracting the outputs of the extractor and the inputs of the classifier. To harness the knowledge from client features, we propose IN training for aligning the intermediate layers based on features obtained from other clients. IN training only needs minimal memory and communication overhead by utilizing a single batch of client features. Additionally, we formulate and address a convex optimization problem to mitigate the challenge of gradient divergence caused by conflicts between IN training and local training. The experiment results demonstrate the superior performance of FedIN in heterogeneous model environments compared to state-of-the-art algorithms. Furthermore, our ablation study demonstrates the effectiveness of IN training and the proposed solution for alleviating gradient divergence.

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

↑