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

BN-SCAFFOLD:在联邦学习中控制批量归一化统计量的漂移

BN-SCAFFOLD: controlling the drift of Batch Normalization statistics in Federated Learning

Centre Borelli(博雷利中心);CNRS(法国国家科学研究中心);ENS Paris-Saclay(巴黎萨克雷高等师范学院);GE HealthCare(GE医疗);ENSIIE(法国国立高等计算机、电子能源及机械自动化工程师学校)

Gonzalo Iñaki Quintana, Laurence Vancamberg, Vincent Jugnon, Mathilde Mougeot, Agnès Desolneux

AI总结:

针对异构联邦学习中批量归一化导致 SCAFFOLD 等方差缩减算法性能下降的问题,本文提出 BN-SCAFFOLD,将客户端漂移校正扩展至 BN 统计量,在保持低通信成本的同时达到与 FedTAN 相当的性能。

摘要:

联邦学习(Federated Learning,FL)作为一种以去中心化方式训练机器学习(Machine Learning,ML)模型的学习范式,正日益受到关注。批量归一化(Batch Normalization,BN)在深度神经网络(Deep Neural Networks,DNN)中无处不在,因为它能改善收敛性和泛化能力。然而,已有研究报告指出,BN 会损害 DNN 在异构联邦学习中的性能。最近,FedTAN 算法被提出,通过聚合所有客户端的 BN 统计量和梯度来缓解异构性对 BN 的影响。但是,该算法的通信成本很高,且随 DNN 深度的增加而线性增长。SCAFFOLD 是一种方差缩减算法,能够以通信高效的方式估计并校正客户端漂移。尽管 SCAFFOLD 在异构联邦学习设置中取得了有前景的结果,但已有研究报告指出,对于带有 BN 的模型,其表现不佳。在本工作中,我们试图复兴 SCAFFOLD,并在更广泛的意义上复兴方差缩减方法,将其作为在异构联邦学习中训练带 BN 的 DNN 的一种高效方式。受 Wang 等人 2023 年工作的启发,我们引入了一个统一的理论框架,用于分析 BN-DNN 设置下方差缩减算法的收敛性,并证明 SCAFFOLD 无法消除由 BN 引入的偏差。因此,我们提出了 BN-SCAFFOLD 算法,该算法将 SCAFFOLD 的客户端漂移校正扩展到 BN 统计量。我们利用上述框架证明了收敛性,并通过在 MNIST 和 CIFAR-10 上的实验验证了理论结果。BN-SCAFFOLD 达到了与 FedTAN 相当的性能,但没有其高昂的通信成本,并且优于联邦平均(Federated Averaging,FedAvg)、SCAFFOLD 以及其他为缓解 BN 异构性而设计的联邦学习算法。

英文摘要:

Federated Learning (FL) is gaining traction as a learning paradigm for training Machine Learning (ML) models in a decentralized way. Batch Normalization (BN) is ubiquitous in Deep Neural Networks (DNN), as it improves convergence and generalization. However, BN has been reported to hinder performance of DNNs in heterogeneous FL. Recently, the FedTAN algorithm has been proposed to mitigate the effect of heterogeneity on BN, by aggregating BN statistics and gradients from all the clients. However, it has a high communication cost, that increases linearly with the depth of the DNN. SCAFFOLD is a variance reduction algorithm, that estimates and corrects the client drift in a communication-efficient manner. Despite its promising results in heterogeneous FL settings, it has been reported to underperform for models with BN. In this work, we seek to revive SCAFFOLD, and more generally variance reduction, as an efficient way of training DNN with BN in heterogeneous FL. We introduce a unified theoretical framework for analyzing the convergence of variance reduction algorithms in the BN-DNN setting, inspired of by the work of Wang et al. 2023, and show that SCAFFOLD is unable to remove the bias introduced by BN. We thus propose the BN-SCAFFOLD algorithm, which extends the client drift correction of SCAFFOLD to BN statistics. We prove convergence using the aforementioned framework and validate the theoretical results with experiments on MNIST and CIFAR-10. BN-SCAFFOLD equals the performance of FedTAN, without its high communication cost, outperforming Federated Averaging (FedAvg), SCAFFOLD, and other FL algorithms designed to mitigate BN heterogeneity.

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

↑