[论文解读] Homogenizing Non-IID datasets via In-Distribution Knowledge Distillation for Decentralized Learning
本文提出分布内知识蒸馏(IDKD),一种保护隐私的联邦学习方法,通过使用分布外(OoD)检测器仅选择与各节点本地数据分布相似的公开数据集样本进行知识蒸馏,从而实现非独立同分布(non-IID)数据的同质化。该方法在保持极低通信开销(约1%)的同时,相较先前方法实现最高达7%的准确率提升,性能达到当前最先进水平。
Decentralized learning enables serverless training of deep neural networks (DNNs) in a distributed manner on multiple nodes. This allows for the use of large datasets, as well as the ability to train with a wide variety of data sources. However, one of the key challenges with decentralized learning is heterogeneity in the data distribution across the nodes. In this paper, we propose In-Distribution Knowledge Distillation (IDKD) to address the challenge of heterogeneous data distribution. The goal of IDKD is to homogenize the data distribution across the nodes. While such data homogenization can be achieved by exchanging data among the nodes sacrificing privacy, IDKD achieves the same objective using a common public dataset across nodes without breaking the privacy constraint. This public dataset is different from the training dataset and is used to distill the knowledge from each node and communicate it to its neighbors through the generated labels. With traditional knowledge distillation, the generalization of the distilled model is reduced because all the public dataset samples are used irrespective of their similarity to the local dataset. Thus, we introduce an Out-of-Distribution (OoD) detector at each node to label a subset of the public dataset that maps close to the local training data distribution. Finally, only labels corresponding to these subsets are exchanged among the nodes and with appropriate label averaging each node is finetuned on these data subsets along with its local data. Our experiments on multiple image classification datasets and graph topologies show that the proposed IDKD scheme is more effective than traditional knowledge distillation and achieves state-of-the-art generalization performance on heterogeneously distributed data with minimal communication overhead.
研究动机与目标
- 解决在联邦深度学习中数据异质性(非独立同分布)的问题,同时不违反数据隐私。
- 在非独立同分布数据分布下,提升联邦训练中的模型泛化能力和收敛稳定性。
- 在不交换原始数据的前提下实现在节点间的知识共享,保护隐私的同时提升模型性能。
- 开发一种可扩展、通信高效的方案,仅对与本地数据分布相关的公开数据集样本进行蒸馏。
提出的方法
- 每个节点使用联邦优化算法在其私有的非独立同分布数据集上训练本地模型。
- 训练后的本地模型通过前向传播为一个公开的未标注数据集生成伪标签。
- 使用分布外(OoD)检测器(如最大Softmax概率)识别并仅选择与本地数据分布相似的公开数据集样本。
- 仅将这些分布内样本的伪标签共享给相邻节点,从而降低通信开销。
- 每个节点聚合来自邻居的标签,并执行标签平均,形成统一的、同质化的数据集。
- 本地模型在自身私有数据与聚合后的蒸馏公共数据标签的并集中进行微调。
实验结果
研究问题
- RQ1能否通过仅聚焦于公开数据集中与本地数据分布相似的分布内样本,使知识蒸馏在联邦学习中更加有效?
- RQ2当公开数据集与本地私有数据无关时,OoD检测如何提升蒸馏性能?
- RQ3IDKD在非独立同分布的联邦设置下,能在多大程度上减少通信开销,同时提升模型泛化能力?
- RQ4IDKD在准确率与收敛稳定性方面是否优于普通的知识蒸馏及当前最先进联邦学习方法?
主要发现
- 在非独立同分布图像分类基准上,IDKD相较当前最先进方法最高实现7%的测试准确率提升。
- 在相同的联邦训练设置下,IDKD相比普通知识蒸馏将泛化性能提升2%。
- 由于基于OoD检测的有选择性标签交换,通信开销被最小化至全公开数据集大小的约1%。
- 使用OoD检测显著提升了蒸馏质量,通过排除会损害模型泛化能力的无关公共样本。
- IDKD在多种图拓扑结构(如环形、社交网络)以及CIFAR-10、CIFAR-100、ImageNette和LSUN等数据集上均保持强劲性能。
- 该框架对数据偏移具有鲁棒性,如在Dirichlet非独立同分布数据划分(α = 0.05)下仍表现出一致的性能提升。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。