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

梯度一致性引导的联邦稀疏训练

Gradient-Congruity Guided Federated Sparse Training

City University of Hong Kong(香港城市大学)

Chris Xing Tian, Yibing Liu, Haoliang Li, Ray C. C. Cheung, Shiqi Wang

AI总结:

本文提出FedSGC方法,将动态稀疏训练与梯度一致性检查融入联邦学习,通过剪枝梯度冲突神经元、优先生长梯度一致神经元,在降低计算通信开销的同时提升泛化能力。

摘要:

边缘计算允许人工智能和机器学习模型部署在边缘设备上,使它们能够从本地数据中学习并协作形成全局模型。联邦学习(FL)是一种分布式机器学习技术,在保护数据隐私的同时促进这一过程。然而,联邦学习也面临诸多挑战,例如在资源受限设备上的高计算和通信成本,以及由于边缘客户端之间数据异质性和分布外数据的存在而导致的泛化性能较差。在本文中,我们提出了梯度一致性引导的联邦稀疏训练(FedSGC),这是一种将动态稀疏训练和梯度一致性检查集成到联邦学习框架中的新方法,以解决这些问题。我们的方法利用了这样一种思想:与全局模型相比,相关梯度方向冲突的神经元包含对其他客户端无关或泛化性较差的信息,可以在稀疏训练过程中被剪枝。相反,相关梯度方向一致的神经元可以以更高的优先级被生长。通过这种方式,FedSGC能够大幅降低本地计算和通信开销,同时增强联邦学习的泛化能力。我们在具有挑战性的非独立同分布(non-i.i.d)设置上评估了我们的方法,并表明它在各种场景下取得了与最先进的联邦学习方法相当的准确率,同时最小化了计算和通信成本。

英文摘要:

Edge computing allows artificial intelligence and machine learning models to be deployed on edge devices, where they can learn from local data and collaborate to form a global model. Federated learning (FL) is a distributed machine learning technique that facilitates this process while preserving data privacy. However, FL also faces challenges such as high computational and communication costs regarding resource-constrained devices, and poor generalization performance due to the heterogeneity of data across edge clients and the presence of out-of-distribution data. In this paper, we propose the Gradient-Congruity Guided Federated Sparse Training (FedSGC), a novel method that integrates dynamic sparse training and gradient congruity inspection into federated learning framework to address these issues. Our method leverages the idea that the neurons, in which the associated gradients with conflicting directions with respect to the global model contain irrelevant or less generalized information for other clients, and could be pruned during the sparse training process. Conversely, the neurons where the associated gradients with consistent directions could be grown in a higher priority. In this way, FedSGC can greatly reduce the local computation and communication overheads while, at the same time, enhancing the generalization abilities of FL. We evaluate our method on challenging non-i.i.d settings and show that it achieves competitive accuracy with state-of-the-art FL methods across various scenarios while minimizing computation and communication costs.

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

↑