arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2210.02190cs.LGcs.AI
收藏

联邦学习中模型聚合的领域离散感知蒸馏

Domain Discrepancy Aware Distillation for Model Aggregation in Federated Learning

Fudan University(复旦大学)

Shangchao Su, Bin Li, Xiangyang Xue

摘要:

知识蒸馏作为联邦学习服务器上的模型聚合方法,最近变得流行起来。通常假设服务器上存在大量的公共未标记数据。然而,在现实中,服务器域和客户端域的数据集之间存在域差异,这限制了知识蒸馏的性能。如何在这样的领域差异设置下提高聚合仍然是一个悬而未决的问题。本文首先分析了客户领域知识蒸馏所产生的聚合模型的泛化界,然后描述了领域差异给聚合模型带来的两个挑战:服务器到客户端差异和客户端到客户端差异。在此基础上,提出了一种基于领域差异感知的自适应知识聚合算法FedD3A。FedD3A在每轮FL中在样本级别执行自适应加权。对于服务器域中的每个样本,仅选择其相似域的客户端模型来扮演教师角色。为了实现这一点,我们表明,服务器端的样本和客户端域之间的差异可以近似测量使用子空间投影矩阵计算每个客户端,而无需访问其原始数据。因此,服务器可以利用来自多个客户端的投影矩阵来为每个服务器端样本的对应教师模型分配权重。我们在两个流行的跨域数据集上验证了FedD3A,并表明它在跨竖井和跨设备FL设置中优于比较的竞争对手。

英文摘要:

Knowledge distillation has recently become popular as a method of model aggregation on the server for federated learning. It is generally assumed that there are abundant public unlabeled data on the server. However, in reality, there exists a domain discrepancy between the datasets of the server domain and a client domain, which limits the performance of knowledge distillation. How to improve the aggregation under such a domain discrepancy setting is still an open problem. In this paper, we first analyze the generalization bound of the aggregation model produced from knowledge distillation for the client domains, and then describe two challenges, server-to-client discrepancy and client-to-client discrepancy, brought to the aggregation model by the domain discrepancies. Following our analysis, we propose an adaptive knowledge aggregation algorithm FedD3A based on domain discrepancy aware distillation to lower the bound. FedD3A performs adaptive weighting at the sample level in each round of FL. For each sample in the server domain, only the client models of its similar domains will be selected for playing the teacher role. To achieve this, we show that the discrepancy between the server-side sample and the client domain can be approximately measured using a subspace projection matrix calculated on each client without accessing its raw data. The server can thus leverage the projection matrices from multiple clients to assign weights to the corresponding teacher models for each server-side sample. We validate FedD3A on two popular cross-domain datasets and show that it outperforms the compared competitors in both cross-silo and cross-device FL settings.

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

↑