arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2107.11954cs.LG
收藏

聚合还是不聚合?不同非IID场景下基于联邦学习的DNN私有化研究

Aggregate or Not? Exploring Where to Privatize in DNN Based Federated Learning Under Different Non-IID Scenes

Nanjing University(南京大学);Huawei Noah’s Ark Lab(华为诺亚方舟实验室)

Xin-Chun Li, Le Gan, De-Chuan Zhan, Yunfeng Shao, Bingshuai Li, Shaoming Song

摘要:

虽然联邦学习(FL)最近被提出用于高效的分布式训练和数据隐私保护,但它仍然遇到许多障碍。其中之一是客户端之间自然存在的统计异质性,使得本地数据分布不独立且相同地分布(即,非IID),这对模型聚合和个性化提出了挑战。对于具有深度神经网络(DNN)的FL,私有化某些层是解决非iid问题的简单而有效的解决方案。但是,我们应该私有化哪些层以促进学习过程?不同类别的非iid场景是否有偏好的私有化方式?我们能在FL过程中自动学习最合适的私有化方式吗?在本文中,我们回答了这些问题,通过大量的实验研究,几个FL基准。首先,我们给出了这些基准测试的详细统计数据,并将其分类为协变量和标签偏移非iid场景。然后,我们调查粗粒度和细粒度的网络分裂,并探讨是否首选的私有化方式有任何潜在的关系,一个非iid场景的特定类别。我们的发现令人兴奋,例如,即使在与某些自然图像不一致的标签偏移非IID场景中,私有化基本层也可以提高性能。我们还发现,这些私有化的方式可以提高莎士比亚的基准性能,我们猜测,莎士比亚可能不是一个严重的非iid现场。最后,我们提出了几种方法来自动学习通过十字绣,软注意力和硬选择聚集在哪里。我们主张提出的方法可以作为探索新颖的非iid场景私有化的初步尝试。

英文摘要:

Although federated learning (FL) has recently been proposed for efficient distributed training and data privacy protection, it still encounters many obstacles. One of these is the naturally existing statistical heterogeneity among clients, making local data distributions non independently and identically distributed (i.e., non-iid), which poses challenges for model aggregation and personalization. For FL with a deep neural network (DNN), privatizing some layers is a simple yet effective solution for non-iid problems. However, which layers should we privatize to facilitate the learning process? Do different categories of non-iid scenes have preferred privatization ways? Can we automatically learn the most appropriate privatization way during FL? In this paper, we answer these questions via abundant experimental studies on several FL benchmarks. First, we present the detailed statistics of these benchmarks and categorize them into covariate and label shift non-iid scenes. Then, we investigate both coarse-grained and fine-grained network splits and explore whether the preferred privatization ways have any potential relations to the specific category of a non-iid scene. Our findings are exciting, e.g., privatizing the base layers could boost the performances even in label shift non-iid scenes, which are inconsistent with some natural conjectures. We also find that none of these privatization ways could improve the performances on the Shakespeare benchmark, and we guess that Shakespeare may not be a seriously non-iid scene. Finally, we propose several approaches to automatically learn where to aggregate via cross-stitch, soft attention, and hard selection. We advocate the proposed methods could serve as a preliminary try to explore where to privatize for a novel non-iid scene.

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

↑