arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2201.11986cs.LGcs.AI

梯度掩码平均用于联邦学习

Gradient Masked Averaging for Federated Learning

Massachussetts Institute of Technology(麻省理工学院);Universite de Montreal(蒙特利尔大学);Mila, Quebec AI Institute(魁北克人工智能研究所);Sorbonne University(索邦大学);Concordia University(康考迪亚大学)

Irene Tenison, Sai Aravind Sreeramadas, Vaikkunth Mugunthan, Edouard Oyallon, Irina Rish, Eugene Belilovsky

AI总结:

针对联邦学习中数据异构导致平均聚合性能退化的问题,提出梯度掩码平均聚合方法,忽略虚假机制,在多个数据集上持续提升异构客户端性能。

摘要:

联邦学习(FL)是一种新兴范式,允许大量拥有异构数据的客户端在不相互共享数据的情况下协调学习统一的全局模型。联邦学习中的一个主要挑战是客户端之间数据的异构性,这会降低标准联邦学习算法的性能。标准联邦学习算法涉及对模型参数或梯度更新进行平均,以在服务器端近似全局模型。然而,我们认为在异构设置中,平均可能导致信息丢失,并由于主导客户端梯度引入的偏差而导致泛化性能不佳。我们假设,为了在非独立同分布(non-i.i.d)数据集上更好地泛化,算法应专注于学习不变的机制,同时忽略客户端之间不同的虚假机制。受分布外泛化领域近期工作的启发,我们提出了一种用于联邦学习的梯度掩码平均方法,作为客户端更新标准平均的替代方案。这种客户端更新的聚合技术可以作为大多数现有联邦算法的即插即用替代方案。我们在多个联邦学习算法上进行了大量实验,涉及分布内、真实世界、特征偏斜的分布外以及数量不平衡的数据集,结果表明该方法提供了持续的改进,尤其是在异构客户端的情况下。

英文摘要:

Federated learning (FL) is an emerging paradigm that permits a large number of clients with heterogeneous data to coordinate learning of a unified global model without the need to share data amongst each other. A major challenge in federated learning is the heterogeneity of data across client, which can degrade the performance of standard FL algorithms. Standard FL algorithms involve averaging of model parameters or gradient updates to approximate the global model at the server. However, we argue that in heterogeneous settings, averaging can result in information loss and lead to poor generalization due to the bias induced by dominant client gradients. We hypothesize that to generalize better across non-i.i.d datasets, the algorithms should focus on learning the invariant mechanism that is constant while ignoring spurious mechanisms that differ across clients. Inspired from recent works in Out-of-Distribution generalization, we propose a gradient masked averaging approach for FL as an alternative to the standard averaging of client updates. This aggregation technique for client updates can be adapted as a drop-in replacement in most existing federated algorithms. We perform extensive experiments on multiple FL algorithms with in-distribution, real-world, feature-skewed out-of-distribution, and quantity imbalanced datasets and show that it provides consistent improvements, particularly in the case of heterogeneous clients.

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

↑