arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2303.02278cs.LGcs.AI
收藏

基于局部-全局蒸馏的虚拟异构数据联邦学习

Federated Learning on Virtual Heterogeneous Data with Local-global Distillation

University of British Columbia(不列颠哥伦比亚大学);Vector Institute(矢量研究所);NVIDIA(英伟达公司)

Chun-Yin Huang, Ruinan Jin, Can Zhao, Daguang Xu, Xiaoxiao Li

AI总结:

本文提出FedLGD方法,通过局部-全局数据集蒸馏生成虚拟数据,以迭代分布匹配和联邦梯度匹配缓解联邦学习中的数据异构问题,在多种场景下优于现有方法。

摘要:

尽管联邦学习(FL)在以去中心化方式训练机器学习模型方面日益受到关注,但诸多挑战依然存在,例如异步性、计算开销、数据异构性以及梯度和成员隐私攻击。近来,数据集蒸馏已成为一种有前景的解决方案,通过生成紧凑的合成数据集来保持模型的训练效能,从而应对上述挑战。然而,我们发现使用蒸馏后的本地数据集会加剧联邦学习中的异构性问题。为此,我们提出了基于局部-全局数据集蒸馏的虚拟异构数据联邦学习(FedLGD),在该方法中,我们将数据集蒸馏算法无缝集成到联邦学习流程中,并使用更小的合成数据集(称为虚拟数据)来训练联邦学习。具体而言,为了协调域偏移,我们提出迭代分布匹配,将全局信息填充到本地虚拟数据中,并使用联邦梯度匹配来蒸馏全局虚拟数据,这些全局虚拟数据作为锚点来纠正异构的本地训练,同时不损害数据隐私。我们在包含来自不同来源的异构数据的基准数据集和真实世界数据集上进行了实验,并进一步扩展到包含大量客户端且数据异构、类别不平衡的联邦学习场景。在各种设置下,我们的方法均优于最先进的异构联邦学习算法。我们的代码可在 https://github.com/ubc-tea/FedLGD 获取。

英文摘要:

While Federated Learning (FL) is gaining popularity for training machine learning models in a decentralized fashion, numerous challenges persist, such as asynchronization, computational expenses, data heterogeneity, and gradient and membership privacy attacks. Lately, dataset distillation has emerged as a promising solution for addressing the aforementioned challenges by generating a compact synthetic dataset that preserves a model's training efficacy. However, we discover that using distilled local datasets can amplify the heterogeneity issue in FL. To address this, we propose Federated Learning on Virtual Heterogeneous Data with Local-Global Dataset Distillation (FedLGD), where we seamlessly integrate dataset distillation algorithms into FL pipeline and train FL using a smaller synthetic dataset (referred as virtual data). Specifically, to harmonize the domain shifts, we propose iterative distribution matching to inpaint global information to local virtual data and use federated gradient matching to distill global virtual data that serve as anchor points to rectify heterogeneous local training, without compromising data privacy. We experiment on both benchmark and real-world datasets that contain heterogeneous data from different sources, and further scale up to an FL scenario that contains a large number of clients with heterogeneous and class-imbalanced data. Our method outperforms state-of-the-art heterogeneous FL algorithms under various settings. Our code is available at https://github.com/ubc-tea/FedLGD.

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

↑