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

通过分布内知识蒸馏实现去中心化学习中非独立同分布数据集的同质化

Homogenizing Non-IID datasets via In-Distribution Knowledge Distillation for Decentralized Learning

Elmore Family School of Electrical and Computer Engineering(埃尔莫尔家族电气与计算机工程学院);Purdue University(普渡大学)

Deepak Ravikumar, Gobinda Saha, Sai Aparna Aketi, Kaushik Roy

AI总结:

本文提出分布内知识蒸馏(IDKD)方法,通过公共数据集和分布外检测器在保护隐私的前提下同质化各节点数据分布,从而在去中心化学习中实现异构数据下的最先进泛化性能并降低通信开销。

摘要:

去中心化学习能够在多个节点上以分布式方式对深度神经网络(DNNs)进行无服务器训练。这使得可以使用大规模数据集,并能够利用多种数据源进行训练。然而,去中心化学习的关键挑战之一是各节点之间数据分布的异构性。在本文中,我们提出分布内知识蒸馏(In-Distribution Knowledge Distillation,IDKD)来解决异构数据分布的挑战。IDKD 的目标是使各节点之间的数据分布同质化。虽然这种数据同质化可以通过在牺牲隐私的情况下在节点之间交换数据来实现,但 IDKD 在不破坏隐私约束的前提下,利用各节点共有的公共数据集实现相同的目标。该公共数据集与训练数据集不同,用于从每个节点蒸馏知识,并通过生成的标签将知识传递给其邻居。在传统知识蒸馏中,由于所有公共数据集样本都被使用而不考虑它们与本地数据集的相似性,蒸馏模型的泛化能力会降低。因此,我们在每个节点引入一个分布外(Out-of-Distribution,OoD)检测器,用于标记公共数据集中与本地训练数据分布接近的子集。最后,只有与这些子集对应的标签在节点之间交换,并通过适当的标签平均,每个节点在这些数据子集及其本地数据上进行微调。我们在多个图像分类数据集和图拓扑上的实验表明,所提出的 IDKD 方案比传统知识蒸馏更有效,并在异构分布数据上以最小的通信开销实现了最先进的泛化性能。

英文摘要:

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.

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

↑