[论文解读] Federated Semi-Supervised Learning with Inter-Client Consistency & Disjoint Learning
本文提出联邦匹配(FedMatch),一种新颖的联邦半监督学习(FSSL)方法,解决了两种现实场景:标签在客户端(客户端仅部分标注数据)和标签在服务器端(仅服务器拥有标注数据)。FedMatch将客户端间一致性正则化与参数分解引入到标注与未标注数据的分离学习中,显著优于朴素的联邦学习-半监督学习组合方法以及在非独立同分布(non-iid)和独立同分布(iid)数据上的本地半监督学习方法,适用于两种场景。
While existing federated learning approaches mostly require that clients have fully-labeled data to train on, in realistic settings, data obtained at the client-side often comes without any accompanying labels. Such deficiency of labels may result from either high labeling cost, or difficulty of annotation due to the requirement of expert knowledge. Thus the private data at each client may be either partly labeled, or completely unlabeled with labeled data being available only at the server, which leads us to a new practical federated learning problem, namely Federated Semi-Supervised Learning (FSSL). In this work, we study two essential scenarios of FSSL based on the location of the labeled data. The first scenario considers a conventional case where clients have both labeled and unlabeled data (labels-at-client), and the second scenario considers a more challenging case, where the labeled data is only available at the server (labels-at-server). We then propose a novel method to tackle the problems, which we refer to as Federated Matching (FedMatch). FedMatch improves upon naive combinations of federated learning and semi-supervised learning approaches with a new inter-client consistency loss and decomposition of the parameters for disjoint learning on labeled and unlabeled data. Through extensive experimental validation of our method in the two different scenarios, we show that our method outperforms both local semi-supervised learning and baselines which naively combine federated learning with semi-supervised learning. The code is available at https://github.com/wyjeong/FedMatch.
研究动机与目标
- 解决联邦学习中标签有限的实际挑战,即客户端通常仅有部分或无标注数据。
- 形式化两种现实的FSSL场景:标签在客户端(客户端拥有部分标注数据)和标签在服务器端(仅服务器拥有标注数据)。
- 开发一种方法,在去中心化、隐私保护的环境中,既保留标注数据的知识,又能有效利用未标注数据。
- 减少联邦设置中监督学习与无监督学习任务之间的干扰以及通信开销。
提出的方法
- 引入客户端间一致性损失,促使不同客户端的模型预测达成一致,提升泛化能力。
- 将模型参数分解为密集(用于标注数据)和稀疏(用于未标注数据)两部分,以解耦监督学习与无监督学习。
- 通过分离学习方式训练:密集部分在标注数据上训练,稀疏部分在未标注数据上训练,最大限度减少干扰。
- 通过仅传输全局与本地模型参数之间的差异来降低通信开销,尤其针对稀疏部分。
- 对未标注数据使用伪标签法并结合阈值筛选(如FixMatch中所用),并配合强增强与弱增强的数据增强策略。
- 通过FedAvg聚合模型更新,但引入参数分解与一致性正则化,以保留知识并提升泛化性能。
实验结果
研究问题
- RQ1当客户端仅拥有部分标注数据时,客户端间一致性损失是否能提升联邦半监督学习的性能?
- RQ2参数分解是否能有效分离监督学习与无监督学习,以减少干扰并提升模型性能?
- RQ3在具有挑战性的标签在服务器端场景中,FedMatch表现如何,即客户端完全无标签时?
- RQ4FedMatch是否在非独立同分布与独立同分布数据设置下,均优于联邦学习与半监督学习的简单组合?
主要发现
- FedMatch在多个数据集与数据分布下,于标签在客户端与标签在服务器端两种场景中,显著优于本地半监督学习与朴素的FL-SSL基线方法。
- 在标签在客户端场景中,FedMatch的准确率高于FedProx-UDA/FixMatch,尤其在标签数量较少时(如每类仅5个),且在标签数量增加时不会出现性能下降。
- 在标签在服务器端场景中,尽管客户端无任何标签,FedMatch仍表现出强大性能,证明其在以往未被解决的设置中具有有效性。
- 消融实验表明,客户端间一致性与参数分解均至关重要:任一缺失均导致性能显著下降,其中参数分解对保留标注数据知识尤为关键。
- 该方法有效减少了在未标注数据上训练时的知识遗忘,表现为在训练过程中标注数据性能保持稳定。
- 通过仅传输参数差异(尤其针对稀疏部分),显著降低了通信开销,实现了高效的模型更新。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。