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

在联邦深度学习中让批量归一化重焕光彩

Making Batch Normalization Great in Federated Deep Learning

The Ohio State University(俄亥俄州立大学)

Jike Zhong, Hong-You Chen, Wei-Lun Chao

AI总结:

本文重新审视联邦学习中批量归一化被组归一化替代的做法,发现BN在多数设置下更优,并提出简单易行且无额外开销的FIXBN方法以缓解BN统计量不匹配和梯度偏差问题。

摘要:

批量归一化(BN)在集中式深度学习中广泛用于提升收敛性和泛化能力。然而,在数据分散的联邦学习(FL)中,先前工作观察到使用BN训练可能损害性能,并建议用组归一化(GN)替代它。本文通过扩展先前工作进行的实证研究来重新审视这一替代方案。令人惊讶的是,我们发现BN在许多联邦学习设置下优于GN,例外情况是高频通信和极端非独立同分布(non-IID)场景。我们重新研究了被认为导致该问题的因素,包括各客户端之间BN统计量的不匹配以及本地训练期间梯度的偏差。我们通过实验确定了一种简单实践,可以在保持BN优势的同时减少这些因素的影响。我们提出的方法名为FIXBN,实现相当容易,无需任何额外的训练或通信成本,并在广泛的联邦学习设置中表现良好。我们希望本研究能为联邦学习未来的实际应用和理论分析提供有价值的参考。

英文摘要:

Batch Normalization (BN) is widely used in {centralized} deep learning to improve convergence and generalization. However, in {federated} learning (FL) with decentralized data, prior work has observed that training with BN could hinder performance and suggested replacing it with Group Normalization (GN). In this paper, we revisit this substitution by expanding the empirical study conducted in prior work. Surprisingly, we find that BN outperforms GN in many FL settings. The exceptions are high-frequency communication and extreme non-IID regimes. We reinvestigate factors that are believed to cause this problem, including the mismatch of BN statistics across clients and the deviation of gradients during local training. We empirically identify a simple practice that could reduce the impacts of these factors while maintaining the strength of BN. Our approach, which we named FIXBN, is fairly easy to implement, without any additional training or communication costs, and performs favorably across a wide range of FL settings. We hope that our study could serve as a valuable reference for future practical usage and theoretical analysis in FL.

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

↑