arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2308.09565cs.LGstat.ML
收藏

理解层归一化在标签偏斜联邦学习中的作用

Understanding the Role of Layer Normalization in Label-Skewed Federated Learning

Huawei Noah’s Ark Lab(华为诺亚方舟实验室)

Guojun Zhang, Mahdi Beitollahi, Alex Bie, Xi Chen

AI总结:

本文揭示了层归一化通过其关键机制特征归一化(FN)控制特征坍塌和局部过拟合,从而显著加速联邦学习在极端标签偏移下的全局训练收敛并保持对学习率的鲁棒性。

摘要:

层归一化(LN)是一种被广泛采用的深度学习技术,尤其是在基础模型时代。最近,LN被证明在具有非独立同分布数据的联邦学习(FL)中出人意料地有效。然而,它究竟为何以及如何起作用仍然是一个谜。在这项工作中,我们揭示了层归一化与联邦学习中标签偏移问题之间的深刻联系。为了在FL中更好地理解层归一化,我们确定了归一化方法在FL中的关键贡献机制,称为特征归一化(FN),它在分类器头之前对潜在特征表示应用归一化。尽管LN和FN不能提高表达能力,但它们控制了特征坍塌和对严重偏斜数据集的局部过拟合,从而加速了全局训练。在实验中,我们展示了归一化在极端标签偏移下的标准基准上带来了显著的改进。此外,我们进行了广泛的消融研究,以理解FL中层归一化的关键因素。我们的结果验证了FN是LN内部的一个重要组成部分,能够显著改善FL的收敛性,同时对学习率选择保持鲁棒性,特别是在每个客户端只能访问少数类别的极端标签偏移情况下。我们的代码可在\url{https://github.com/huawei-noah/Federated-Learning/tree/main/Layer_Normalization}获取。

英文摘要:

Layer normalization (LN) is a widely adopted deep learning technique especially in the era of foundation models. Recently, LN has been shown to be surprisingly effective in federated learning (FL) with non-i.i.d. data. However, exactly why and how it works remains mysterious. In this work, we reveal the profound connection between layer normalization and the label shift problem in federated learning. To understand layer normalization better in FL, we identify the key contributing mechanism of normalization methods in FL, called feature normalization (FN), which applies normalization to the latent feature representation before the classifier head. Although LN and FN do not improve expressive power, they control feature collapse and local overfitting to heavily skewed datasets, and thus accelerates global training. Empirically, we show that normalization leads to drastic improvements on standard benchmarks under extreme label shift. Moreover, we conduct extensive ablation studies to understand the critical factors of layer normalization in FL. Our results verify that FN is an essential ingredient inside LN to significantly improve the convergence of FL while remaining robust to learning rate choices, especially under extreme label shift where each client has access to few classes. Our code is available at \url{https://github.com/huawei-noah/Federated-Learning/tree/main/Layer_Normalization}.

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

↑