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}.
Federated Unlearning Model Recovery in Data with Skewed Label Distributions
School of Computer Science and Technology(计算机科学与技术学院);Dalian University of Technology(大连理工大学);School of Engineering and Computer Science(工程与计算机科学学院);Victoria University of Wellington(惠灵顿维多利亚大学)
Addressing Skewed Heterogeneity via Federated Prototype Rectification with Personalization
School of Computer Science and Engineering, Southeast University(东南大学计算机科学与工程学院);Key Laboratory of New Generation Artificial Intelligence Technology and Its Interdisciplinary Applications (Southeast University), Ministry of Education, China(教育部新一代人工智能技术及其交叉应用重点实验室(东南大学))
Exploring Vacant Classes in Label-Skewed Federated Learning
University of Science and Technology of China(中国科学技术大学);Anhui University(安徽大学);Institute of Automation, Chinese Academy of Sciences(中国科学院自动化研究所);University of Chinese Academy of Sciences(中国科学院大学);Nanjing University(南京大学)
Federated Skewed Label Learning with Logits Fusion
Institute of Computing Technology, Chinese Academy of Sciences(中国科学院计算技术研究所);University of Chinese Academy of Sciences(中国科学院大学);Zhongguancun Laboratory(中关村实验室);Beijing Jiaotong University(北京交通大学)
A Simple Data Augmentation for Feature Distribution Skewed Federated Learning
The Hong Kong University of Science and Technology (Guangzhou)(香港科技大学(广州));IHPC, A*STAR(新加坡科技研究局信息通信研究院);The Hong Kong University of Science and Technology(香港科技大学);Guangxi Medical University(广西医科大学);National University of Singapore(新加坡国立大学);Imperial College London(伦敦帝国学院)
Improving Semi-supervised Federated Learning by Reducing the Gradient Diversity of Models
Southeast University(东南大学);University of California, Berkeley(加州大学伯克利分校);University of Michigan, Ann Arbor(密歇根大学安娜堡分校);International Computer Science Institute(国际计算机科学研究所)
An Architecture Built for Federated Learning: Addressing Data Heterogeneity through Adaptive Normalization-Free Feature Recalibration
Department of Computer Science, City St. George’s, University of London(伦敦大学城市圣乔治学院计算机科学系);BioMedIA, Department of Computing, Imperial College London(伦敦帝国理工学院计算系BioMedIA)
Probabilistic Federated Prompt-Tuning with Non-IID and Imbalanced Data
Washington State University(华盛顿州立大学);Princeton University(普林斯顿大学);IBM Research(IBM研究院);University of Florida(佛罗里达大学);University of California San Diego(加州大学圣迭戈分校)
Personalized federated prototype learning in mixed heterogeneous data scenarios
Guangxi Normal University(广西师范大学);Key Lab of Education Blockchain and Intelligent Technology, Ministry of Education, GuangXi Normal University(教育区块链与智能技术重点实验室);Hefei University of Technology(合肥工业大学)
UniFed: A Unified Framework for Federated Learning on Non-IID Image Features
The Chinese University of Hong Kong(香港中文大学);The University of British Columbia(不列颠哥伦比亚大学);Zhongnan Univeristy of Economics and Law(中南财经政法大学);Institute for AI in Medicine (IKIM) at UK Essen(埃森大学医院医学人工智能研究所(IKIM));Ruhr-University Bochum(波鸿鲁尔大学);Monash University(莫纳什大学)
Personalized Federated Learning with Adaptive Batchnorm for Healthcare
University of Chinese Academy of Sciences(中国科学院大学);Institute of Computing Technology, Chinese Academy of Sciences(中国科学院计算技术研究所);Microsoft Research Asia(微软亚洲研究院);Pengcheng Laboratory(鹏城实验室);Zhejiang University(浙江大学);Microsoft Research(微软研究院)
Federated Motor Imagery Classification for Privacy-Preserving Brain-Computer Interfaces
School of Artificial Intelligence and Automation, Huazhong University of Science and Technology(华中科技大学人工智能与自动化学院);Shenzhen Huazhong University of Science and Technology Research Institute(华中科技大学深圳研究院);School of Civil and Hydraulic Engineering, Huazhong University of Science and Technology(华中科技大学土木与水利工程学院)
Multi-Level Analyzation of Imbalance to Resolve Non-IID-Ness in Federated Learning
Interdisciplinary Program in Artificial Intelligence, Seoul National University, Republic of Korea(人工智能跨学科项目,首尔国立大学,韩国);Department of Nuclear Medicine, Seoul National University College of Medicine, Republic of Korea(核医学系,首尔国立大学医学院,韩国);Brightonix Imaging Inc. Seoul, Republic of Korea(Brightonix影像公司,首尔,韩国)
On the Convergence of Differentially Private Federated Learning on Non-Lipschitz Objectives, and with Normalized Client Updates
University of Texas at Austin(德克萨斯大学奥斯汀分校);Purdue University(普渡大学)
对于具有非Lipschitz目标函数的差分私有联邦学习(FL)(即,当梯度范数没有界时)。其主要原因是裁剪操作(即,投影到固定半径的$\ell_2$球上,称为剪切阈值),用于限制平均更新对每个客户端更新的灵敏度,这引入了偏差,这取决于剪切阈值和FL中的局部步骤的数量,并且分析这一点并不容易。对于Lipschitz函数,Lipschitz常数用作具有零偏差的平凡限幅阈值。然而,Lipschitz性在许多实际情况下并不成立;此外,验证它和计算Lipschitz常数是困难的。因此,限幅阈值的选择是重要的,并且在实践中需要大量的调谐。在本文中,我们提供了第一个收敛结果,私人FL光滑\textit{convex}目标\textit{for a general clipping threshold} - \textit{without assuming Lipschitzness}。我们还研究了一种更简单的裁剪(用于边界敏感性)替代方案,即\textit{normalization} --在这种情况下,我们只使用客户端更新中的单位向量的缩放版本,完全丢弃幅度信息。{The理论上证明了基于归一化的私有FL算法在光滑凸函数上比基于裁剪的算法具有更好的收敛性。我们证实了我们的理论与合成实验以及基准数据集上的实验。
TriplePlay: Enhancing Federated Learning with CLIP for Non-IID Data and Resource Efficiency
School of Computing, Southern Illinois University(南伊利诺伊大学计算机学院);Security, Privacy and Intelligence for Edge Devices Laboratory (SPEED Lab)(边缘设备安全、隐私与智能实验室(SPEED Lab))