FedBN: Federated Learning on Non-IID Features via Local Batch Normalization
Xiaoxiao LiMeirui JiangXiaofei ZhangMichael KampQi Dou
Introduces FedBN, a federated learning method that retains local batch normalization parameters to resolve feature distribution shifts across clients, achieving faster convergence and higher accuracy than FedAvg and FedProx.
Federated learning enables multiple distributed clients to collaboratively train deep learning models without sharing private local data. However, standard methods degrade significantly when local data is not independently and identically distributed across participants. While most prior work focuses on discrepancies in label distributions, real-world deployments often encounter feature shift, where input data appearance or sensor statistics vary substantially across sites despite identical label targets—such as different scanners in medical imaging or varying lighting in autonomous driving.
The article's main objective is to introduce and evaluate FedBN, a lightweight federated learning method designed to mitigate feature shift across clients by keeping Batch Normalization layers strictly local while aggregating all other network parameters on a central server.
To demonstrate this approach, the researchers conducted theoretical convergence analyses under over-parameterized neural network regimes and performed extensive empirical evaluations across multiple domains. The experimental setup included a five-source benchmark digit classification suite, natural image datasets with varying camera and style characteristics (Office-Caltech10 and DomainNet), and a real-world medical task diagnosing autism spectrum disorder using functional brain imaging across four clinical institutions.
The findings show that FedBN substantially outperforms standard federated averaging (FedAvg) and non-IID frameworks (FedProx), achieving both faster convergence and higher final accuracy. In benchmark evaluations, FedBN maintained superior performance across varying client data sizes and update frequencies, delivering the largest performance margins when local data was scarce. On real-world natural image benchmarks, standard federated methods frequently underperformed single-site local training due to severe feature drift, whereas FedBN consistently outperformed both isolated training and baseline federated techniques by over 6% to 10% on several tasks. In clinical neuroimaging, FedBN improved diagnostic accuracy across multiple hospital sites, demonstrating strong practical efficacy in heterogeneous medical environments.
These results demonstrate that simply maintaining local normalization layers effectively harmonizes feature distributions across disparate devices without altering existing optimization or aggregation algorithms. For decision-makers, FedBN eliminates the hyperparameter tuning and substantial communication overhead common to other non-IID solutions, lowering the cost, implementation risk, and operational barriers of deploying collaborative machine learning across privacy-regulated institutions.
Organizations deploying federated learning in domains with high sensor or environmental variability should adopt FedBN within their model architectures. Because it requires minimal code modification and no extra communication bandwidth, it can be integrated directly into production frameworks. For evaluating unseen external clients, teams should deploy the shared global network alongside locally estimated normalization statistics.
Confidence in these findings is high across image classification and neuroimaging tasks with fixed label distributions. However, decision-makers should note that the theoretical guarantees assume over-parameterized two-layer networks and zero-mean feature inputs. Further empirical evaluation is advised for non-vision modalities, highly unbalanced label spaces, or extreme network architectures before enterprise-wide deployment.
- Paper: Communication-Efficient Learning of Deep Networks from Decentralized Data, H. B. McMahan et al. (2016). This seminal paper introduces Federated Averaging (FedAvg), establishing the baseline distributed optimization and parameter aggregation paradigm that FedBN directly modifies.
- Paper: Federated Optimization in Heterogeneous Networks, Tian Li et al. (2018). This work introduces FedProx, establishing a foundational proximal framework for non-IID federated optimization that serves as a primary baseline and motivation for FedBN.
- Paper: Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shift, Sergey Ioffe et al. (2015). This foundational paper introduces Batch Normalization to stabilize intermediate feature distributions, providing the exact normalization mechanism that FedBN keeps local to resolve feature shift.
- Paper: Federated Learning with Non-IID Data, Yue Zhao et al. (2018). This study analyzes how non-IID statistical data heterogeneity leads to weight divergence across client models in standard federated learning.
- Paper: Federated Learning with Personalization Layers, Manoj Ghuhan Arivazhagan et al. (2019). This paper establishes the concept of layer-wise parameter decoupling in federated learning by keeping personalization layers local while aggregating shared base layers.
- Paper: On the Convergence of FedAvg on Non-IID Data, Xiang Li et al. (2019). This paper provides theoretical convergence analyses of federated optimization algorithms on heterogeneous, non-IID client distributions.
- Paper: SCAFFOLD: Stochastic Controlled Averaging for Federated Learning, Sai Praneeth Karimireddy et al. (2019). This paper establishes the SCAFFOLD algorithm to correct client drift under statistical heterogeneity, serving as a key benchmark for non-IID federated optimization.
- Paper: Tackling the Objective Inconsistency Problem in Heterogeneous Federated Optimization, Jianyu Wang et al. (2020). This work formulates the objective inconsistency problem caused by client heterogeneity in federated averaging and proposes the normalized averaging framework FedNova.
- Paper: Federated Learning on Non-IID Data: A Survey, Hangyu Zhu et al. (2021). This comprehensive survey contextualizes feature shift mitigation and layer-wise personalization strategies within the broader landscape of non-IID federated learning algorithms.
- Paper: Federated Learning on Non-IID Data Silos: An Experimental Study, Qinbin Li et al. (2021). This empirical study systematically evaluates federated learning algorithms across explicit feature and label distribution skews using the standardized NIID-Bench framework.
- Paper: Model-Contrastive Federated Learning, Qinbin Li et al. (2021). This paper advances feature representation handling under non-IID data by introducing model-contrastive learning to align local client representations with the global model.
- Paper: Towards Personalized Federated Learning, Alysa Ziying Tan et al. (2021). This survey provides an extensive taxonomy of personalized federated learning methods, analyzing architectural parameter-decoupling approaches alongside global adaptation techniques.
